[Bug libstdc++/24061] Documentation in /tr1/hashtable proposes possibly misleading change

pcarlini at suse dot de gcc-bugzilla@gcc.gnu.org
Mon Sep 26 09:43:00 GMT 2005


------- Additional Comments From pcarlini at suse dot de  2005-09-26 09:42 -------
Actually, on second thought, I'm not sure we should give up consistency so easily
only because the it = t.erase(it) idiom cannot be meaningfully used together with
unordered containers: otherwise, why, f.i., vector::erase returns an iterator?!?!

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24061



More information about the Gcc-bugs mailing list