This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/25896] hash_map::erase, unordered_map::erase fail if key is inside the table



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]