[Bug libstdc++/47305] std::vector::erase() destroys the wrong element!

2011-01-14 Thread shockema at gmail dot com
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.

[Bug libstdc++/47305] New: std::vector::erase() destroys the wrong element!

2011-01-14 Thread shockema at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47305 Summary: std::vector::erase() destroys the wrong element! Product: gcc Version: 4.2.1 Status: UNCONFIRMED Severity: major Priority: P3 Component: libstdc++ AssignedTo