How do you erase an entry from a map?

Discussion in 'C++' started by el_boricua, Aug 1, 2005.

  1. el_boricua

    el_boricua Guest

    How do you erase an entry from a map?

    Thanks,
    Noel
     
    el_boricua, Aug 1, 2005
    #1
    1. Advertising

  2. el_boricua wrote:
    > How do you erase an entry from a map?


    I usually use one of the 'erase' member functions.

    V
     
    Victor Bazarov, Aug 1, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Angus Leeming
    Replies:
    5
    Views:
    2,951
    Howard Hinnant
    Feb 4, 2004
  2. Pieter Thysebaert

    STL std::map erase

    Pieter Thysebaert, May 13, 2004, in forum: C++
    Replies:
    26
    Views:
    14,323
    Robbie Hatley
    May 14, 2004
  3. jose luis fernandez diaz

    erase elements while iterating on a map

    jose luis fernandez diaz, May 28, 2004, in forum: C++
    Replies:
    3
    Views:
    11,609
    Derek
    May 28, 2004
  4. Gernot Frisch

    std::map - erase+continue

    Gernot Frisch, Mar 7, 2005, in forum: C++
    Replies:
    17
    Views:
    2,945
    Andre Kostur
    Mar 9, 2005
  5. erase vs. erase

    , Mar 25, 2006, in forum: C++
    Replies:
    7
    Views:
    388
    Pete Becker
    Mar 30, 2006
Loading...

Share This Page