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: Thu, 08 Mar 2012 22:31:24 +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
--- Comment #12 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-03-08 22:31:24 UTC ---
Author: redi
Date: Thu Mar 8 22:31:19 2012
New Revision: 185114
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185114
Log:
PR libstdc++/52433
* include/debug/safe_iterator.h (_Safe_iterator): Add move
constructor and move assignment operator.
* testsuite/23_containers/vector/debug/52433.cc: New.
Added:
branches/gcc-4_6-branch/libstdc++-v3/testsuite/23_containers/vector/debug/52433.cc
Modified:
branches/gcc-4_6-branch/libstdc++-v3/ChangeLog
branches/gcc-4_6-branch/libstdc++-v3/include/debug/safe_iterator.h