how to remove a pair of key/value in STL hashmap

Discussion in 'C++' started by sam, May 1, 2005.

  1. sam

    sam Guest

    Hi,

    There is a list of items stored in a STL hashmap table.
    How can I remove a pair of key/value in the hashmap table?

    Thanks
    Sam
    sam, May 1, 2005
    #1
    1. Advertising

  2. sam wrote:
    > Hi,
    >
    > There is a list of items stored in a STL hashmap table.
    > How can I remove a pair of key/value in the hashmap table?


    hashmap is not officially part of the standard, however most STL
    containers include an "erase" method which takes an iterator.
    Gianni Mariani, May 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. Vince Darley
    Replies:
    4
    Views:
    4,380
    emilchacko
    Mar 2, 2010
  2. Replies:
    2
    Views:
    536
    klaus hoffmann
    Feb 22, 2006
  3. Replies:
    1
    Views:
    542
    Daniel Pitts
    Nov 16, 2007
  4. Rakesh
    Replies:
    10
    Views:
    12,140
    Mike Schilling
    Apr 8, 2008
  5. Rui Maciel
    Replies:
    2
    Views:
    2,973
    AndrewDover
    Dec 1, 2009
Loading...

Share This Page