On 03/08/2012 02:06 AM, Jonathan Wakely wrote:
On 4 March 2012 12:56, Jonathan Wakely wrote:
* include/debug/safe_iterator.h (_Safe_iterator): Add move
constructor and move assignment operator.
* testsuite/23_containers/vector/debug/52433.cc: New.
Tested 'make check check-debug' on x86_64 and committed to trunk. I
plan to fix this for 4.7.1 and 4.6.4 as well
This restores the debug mode checks when moving singular iterators.
Thanks for the good work on this.
By the way, this morning it occurred to me that we should probably also
have debug-mode checks for self move-assignment (not just in
Or I'm missing something?