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