This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/25896] hash_map::erase, unordered_map::erase fail if key is inside the table
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jan 2006 07:21:18 -0000
- Subject: [Bug libstdc++/25896] hash_map::erase, unordered_map::erase fail if key is inside the table
- References: <bug-25896-11211@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-01-21 07:21 -------
"Erases all elements with key equivalent to k. Returns the number of elements
erased."
and then:
size_type erase(const key_type& k);
So from that it might not be a bug in libstdc++ as far as I can see.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25896