This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Miscellaneous debug mode fixes


>Here are the (minor) debug mode fixes I promised. I know of no other bugs in 
>the implementation, but I'm sure we'll find some :)

No doubt.

>Tested on i686-pc-linux-gnu; no regressions in the libstdc++ test suite in 
>either debug or release mode. The new test case bits falied before, but pass 
>now.

Excellent, thanks.

>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.

This is in.

-benjamin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]