2003-11-13 Douglas Gregor <gregod@cs.rpi.edu>
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Nov 2003 00:15:00 +0000 (00:15 +0000)
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Nov 2003 00:15:00 +0000 (00:15 +0000)
commit28aa9e3ec8f13b49d7812db97aa4f21cd91c4497
tree917d0c8c22795ee44263851c5ad26805d48a6fa9
parentfad557f319eebd695a4c4e9f212f08954c264394
2003-11-13  Douglas Gregor  <gregod@cs.rpi.edu>

* docs/html/debug.html: Users are allowed to specialize in
namespace __gnu_debug, unlike in the Apple version of the debug
mode. Clear up a confusing double-negative. Note that
std::basic_string does provide extra debugging capabilities, but
not safe iterators.
* include/bits/basic_string.tcc: Make sure there's never an
ambiguity when calling __is_null_pointer.
* include/debug/deque: (deque::erase) Properly handle invalidation
when erasing at the end of the deque.
* include/debug/vector: (vector::swap): Swap _M_guaranteed_capacity.
(vector::clear): Set the guaranteed capacity to 0.
* testsuite/23_containers/deque/invalidation/4.cc: (test04): Test
iterator invalidation when erasing at the end of the deque.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73564 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/docs/html/debug.html
libstdc++-v3/docs/html/debug_mode.html
libstdc++-v3/include/bits/basic_string.tcc
libstdc++-v3/include/debug/deque
libstdc++-v3/include/debug/vector
libstdc++-v3/testsuite/23_containers/deque/invalidation/4.cc