[Bug libstdc++/12532] remove_if fails with Functor object

peturr02 at ru dot is gcc-bugzilla@gcc.gnu.org
Tue Oct 7 14:16:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From peturr02 at ru dot is  2003-10-07 14:16 -------
This is not a bug. set's iterators are non-modifyable, but remove_if
requires modifyable iterators. You probably want remove_copy_if or
set_difference.



More information about the Gcc-bugs mailing list