[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hashmap erase
From: |
Thomas Maeder |
Subject: |
Re: hashmap erase |
Date: |
Tue, 07 Oct 2008 21:04:35 +0200 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux) |
Terry IT <tryitn1@gmail.com> writes:
> i want to use hashmap ie an unordered hash table.
>
> how do we remove elements from hashmap
Using one of the erase() member functions. Or clear(). Or the
copy-assignment operator.
> and can we say something hashmap<int,int> m; or hashmap<int, void *>
> m.
I think so. Have you tried?
> i want to store the address of an element in linked list.
And? Where is your problem?
- hashmap erase, Terry IT, 2008/10/06
- Re: hashmap erase,
Thomas Maeder <=