[Bug libstdc++/17373] std::set::erase(const_iterator) doesn't output error on compilation
giovannibajo at libero dot it
gcc-bugzilla@gcc.gnu.org
Thu Sep 9 12:17:00 GMT 2004
------- Additional Comments From giovannibajo at libero dot it 2004-09-09 12:17 -------
No, the code is OK. A const iterator cannot be used to directly modify the
container, but you can pass it to erase() without any problems.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Component|c++ |libstdc++
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17373
More information about the Gcc-bugs
mailing list