2011-01-05 François Dumont <francois.cppdevs@free.fr>
commit9de27403457ffe6d85783946fefd79b0cee63c4c
authorfdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Jan 2011 20:52:36 +0000 (5 20:52 +0000)
committerfdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Jan 2011 20:52:36 +0000 (5 20:52 +0000)
tree1bbd4deacf934478dc41ff8f89fda6c2024ef42e
parentb978e3c6ddddd482e917f1ed13abe355584a3ad2
2011-01-05  François Dumont  <francois.cppdevs@free.fr>

        * include/debug/safe_base.h (_Safe_iterator_base::_M_unlink): New.
        * include/src/debug.cc: Use latter
        * include/debug/forward_list (forward_list<>::_M_swap):  Fix to
        correctly handle before_begin iterators.
        * testsuite/23_containers/forward_list/debug/swap.cc: Remove now
        useless _GLIBCXX_DEBUG checks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168528 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/debug/forward_list
libstdc++-v3/include/debug/safe_base.h
libstdc++-v3/src/debug.cc
libstdc++-v3/testsuite/23_containers/forward_list/debug/swap.cc