This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/47305] std::vector::erase() destroys the wrong element!
- From: "shockema at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 15 Jan 2011 02:21:27 +0000
- Subject: [Bug libstdc++/47305] std::vector::erase() destroys the wrong element!
- Auto-submitted: auto-generated
- References: <bug-47305-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47305
--- Comment #1 from shockema at gmail dot com 2011-01-15 02:21:23 UTC ---
It appears that the version of erase that takes a range (two iterators) also
has a similar problem.