This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/52433] [C++11] debug mode iterators need to move
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 04 Mar 2012 12:59:33 +0000
- Subject: [Bug libstdc++/52433] [C++11] debug mode iterators need to move
- Auto-submitted: auto-generated
- References: <bug-52433-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52433
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |4.8.0
Target Milestone|--- |4.6.4
--- Comment #10 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-03-04 12:59:33 UTC ---
Fixed on trunk so far.
I realised swapping isn't actually very simple, because the iterators need to
be unlinked/relinked into their container's lists so I just implemented it with
_M_attach and _M_detach instead.