[Bug libstdc++/41975] [C++0x] [DR579] unordered_set::erase performs worse when nearly empty
paolo dot carlini at oracle dot com
gcc-bugzilla@gcc.gnu.org
Tue Mar 9 20:15:00 GMT 2010
------- Comment #22 from paolo dot carlini at oracle dot com 2010-03-09 20:15 -------
As a last resort, we can imagine doing that. Would be the first case, however,
to my best knowledge, that we provide a different interface controlled by a
macro this way. Much better would be, and has also been mentioned today,
providing two different implementations, both returning iterator and only
different as regards the internal details.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41975
More information about the Gcc-bugs
mailing list