This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/41628] _GLIBCXX_DEBUG feature: check for unstable iterators



------- Comment #2 from redi at gcc dot gnu dot org  2009-10-08 09:43 -------
(In reply to comment #1)
> std::set<int>::iterator i = s.insert(5);
Oops, that should be 
std::set<int>::iterator i = s.insert(5).first;


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]