gcc/libstdc++-v3/include/bits
Benjamin Kosnik 285b36d6a5 [multiple changes]
2003-11-11  Doug Gregor  <gregod@cs.rpi.edu>

	* docs/html/debug.html: Document libstdc++ debug mode.
	* docs/html/debug_mode.html: Document libstdc++ debug mode design.
	* docs/html/test.html: Document how to test under debug mode.
	* docs/html/17_intro/howto.html: Document debug-mode macros.
	* include/Makefile.am: Install debug-mode headers.
	* src/Makefile.am: Include debug.cc.
	* include/bits/basic_string.tcc:
	  (basic_string::_S_construct): Fix NULL pointer check.
	  (__is_null_pointer): New.
	  Add precondition annotations.
	* include/bits/stream_iterator.h (istream_iterator,
	ostream_iterator): Added precondition annotations.
	* include/bits/streambuf_iterator.h (istreambuf_iterator): Ditto.
	* include/bits/stl_queue.h (queue, priority_queue): Ditto.
	* include/bits/stl_stack.h (stack): Ditto.
	* include/bits/basic_string.h (basic_string): Ditto.
	* include/bits/basic_string.tcc (basic_string): Ditto.
	* include/std/std_memory.h (auto_ptr): Ditto.
	* include/std/std_valarray.h (valarray): Ditto.
	* include/bits/stl_algo.h: Added algorithm precondition
	annotations.
	* include/bits/stl_algobase.h: Added algorithm precondition
	annotations.
	* include/bits/stl_numeric.h: Ditto.
	* include/ext/algorithm: Added algorithm precondition
	annotations.
	(__is_heap): Moved away from here.
	* include/bits/stl_heap.h: Added algorithm precondition
	annotations.
	(__is_heap): Moved to the top of this file.
	(__is_heap): Added iterator range overloads.
	* testsuite/20_util/auto_ptr_neg.cc: Fix line numbers to match up
	with changes in std_memory.h.
	* testsuite/23_containers/list/operators/4.cc: Don't verify
	performance guarantees when in debug mode.
	* testsuite/23_containers/bitset/invalidation/1.cc: New.
	* testsuite/23_containers/deque/invalidation/1.cc: New.
	* testsuite/23_containers/deque/invalidation/2.cc: New.
	* testsuite/23_containers/deque/invalidation/3.cc: New.
	* testsuite/23_containers/deque/invalidation/4.cc: New.
	* testsuite/23_containers/list/invalidation/1.cc: New.
	* testsuite/23_containers/list/invalidation/2.cc: New.
	* testsuite/23_containers/list/invalidation/3.cc: New.
	* testsuite/23_containers/list/invalidation/4.cc: New.
	* testsuite/23_containers/map/invalidation/1.cc: New.
	* testsuite/23_containers/map/invalidation/2.cc: New.
	* testsuite/23_containers/multimap/invalidation/1.cc: New.
	* testsuite/23_containers/multimap/invalidation/2.cc: New.
	* testsuite/23_containers/multiset/invalidation/1.cc: New.
	* testsuite/23_containers/multiset/invalidation/2.cc: New.
	* testsuite/23_containers/set/invalidation/1.cc: New.
	* testsuite/23_containers/set/invalidation/2.cc: New.
	* testsuite/23_containers/vector/invalidation/1.cc: New.
	* testsuite/23_containers/vector/invalidation/2.cc: New.
	* testsuite/23_containers/vector/invalidation/3.cc: New.
	* testsuite/23_containers/vector/invalidation/4.cc: New.
	* testsuite/25_algorithms/heap.cc: Don't verify
	performance guarantees when in debug mode.
	* include/debug/bitset: New.
	* include/debug/debug.h: New.
	* include/debug/deque: New.
	* include/debug/formatter.h: New.
	* include/debug/hash_map: New.
	* include/debug/hash_map.h: New.
	* include/debug/hash_multimap.h: New.
	* include/debug/hash_set: New.
	* include/debug/hash_set.h: New.
	* include/debug/hash_multiset.h: New.
	* include/debug/list: New.
	* include/debug/map: New.
	* include/debug/map.h: New.
	* include/debug/multimap.h: New.
	* include/debug/multiset.h: New.
	* include/debug/safe_base.h: New.
	* include/debug/safe_iterator.h: New.
	* include/debug/safe_iterator.tcc: New.
	* include/debug/safe_sequence.h: New.
	* include/debug/set: New.
	* include/debug/set.h: New.
	* include/debug/string: New.
	* include/debug/vector: New.
	* src/debug.cc: New.
	* config/linker-map.gnu: Add debug mode symbols.

2003-11-11  Benjamin Kosnik  <bkoz@redhat.com>

	* src/string-inst.cc: Tweak namespaces.
	* src/misc-inst.cc: Same.
	* docs/html/debug.html: Edits.
	* config/link-map.gnu: Remove cruft.

	* include/bits/c++config: Add in namespace associations.
	* include/std/std_bitset.h: Adjust namespace to __gnu_norm,
	comment tweaks.
	* include/bits/deque.tcc: Same.
	* include/bits/list.tcc: Same.
	* include/bits/stl_bvector.h: Same.
	* include/bits/stl_deque.h: Same.
	* include/bits/stl_list.h: Same.
	* include/bits/stl_map.h: Same.
	* include/bits/stl_multimap.h: Same.
	* include/bits/stl_multiset.h: Same.
	* include/bits/stl_set.h: Same.
	* include/bits/stl_vector.h: Same.
	* include/bits/vector.tcc: Same.

	* include/std/std_algorithm.h: Remove markup comments.
	* include/std/std_functional.h: Same.
	* include/std/std_iterator.h: Same.
	* include/std/std_numeric.h: Same.
	* include/std/std_utility.h: Same.
	* include/bits/stl_queue.h: Formatting tweaks.
	* include/bits/stl_stack.h: Same.
	* include/std/std_deque.h: Include debugging version in debug mode.
	* include/std/std_list.h: Same.
	* include/std/std_map.h: Same.
	* include/std/std_set.h: Same.
	* include/std/std_vector.h: Same.
	* include/std/std_queue.h: Use deque, vector.
	* include/std/std_stack.h: Same.

From-SVN: r73459
2003-11-11 20:09:16 +00:00
..
allocator_traits.h
allocator.h
basic_ios.h
basic_ios.tcc
basic_string.h [multiple changes] 2003-11-11 20:09:16 +00:00
basic_string.tcc [multiple changes] 2003-11-11 20:09:16 +00:00
boost_concept_check.h
c++config [multiple changes] 2003-11-11 20:09:16 +00:00
char_traits.h
codecvt.h
concept_check.h
cpp_type_traits.h
demangle.h re PR libstdc++/12736 (Demangler bug) 2003-11-07 17:55:27 +00:00
deque.tcc [multiple changes] 2003-11-11 20:09:16 +00:00
fstream.tcc re PR libstdc++/12790 (basic_filebuf doesn't handle stateful encodings) 2003-11-04 05:27:41 +00:00
functexcept.h
gslice_array.h
gslice.h
indirect_array.h
ios_base.h
istream.tcc locale_facets.h (time_get::_M_extract_name): Add ctype argument. 2003-11-04 02:14:05 +00:00
list.tcc [multiple changes] 2003-11-11 20:09:16 +00:00
locale_classes.h
locale_facets.h locale_facets.h (time_get::_M_extract_name): Add ctype argument. 2003-11-04 02:06:59 +00:00
locale_facets.tcc locale_facets.tcc (_M_insert_int, [...]): Move a couple of vars inside an if block. 2003-11-09 19:15:25 +00:00
localefwd.h
mask_array.h
ostream.tcc locale_facets.h (time_get::_M_extract_name): Add ctype argument. 2003-11-04 02:06:59 +00:00
postypes.h
slice_array.h
sstream.tcc
stl_algo.h [multiple changes] 2003-11-11 20:09:16 +00:00
stl_algobase.h [multiple changes] 2003-11-11 20:09:16 +00:00
stl_bvector.h [multiple changes] 2003-11-11 20:09:16 +00:00
stl_construct.h
stl_deque.h [multiple changes] 2003-11-11 20:09:16 +00:00
stl_function.h
stl_heap.h [multiple changes] 2003-11-11 20:09:16 +00:00
stl_iterator_base_funcs.h
stl_iterator_base_types.h
stl_iterator.h
stl_list.h [multiple changes] 2003-11-11 20:09:16 +00:00
stl_map.h [multiple changes] 2003-11-11 20:09:16 +00:00
stl_multimap.h [multiple changes] 2003-11-11 20:09:16 +00:00
stl_multiset.h [multiple changes] 2003-11-11 20:09:16 +00:00
stl_numeric.h [multiple changes] 2003-11-11 20:09:16 +00:00
stl_pair.h
stl_queue.h [multiple changes] 2003-11-11 20:09:16 +00:00
stl_raw_storage_iter.h
stl_relops.h
stl_set.h [multiple changes] 2003-11-11 20:09:16 +00:00
stl_stack.h [multiple changes] 2003-11-11 20:09:16 +00:00
stl_tempbuf.h
stl_threads.h
stl_tree.h
stl_uninitialized.h
stl_vector.h [multiple changes] 2003-11-11 20:09:16 +00:00
stream_iterator.h [multiple changes] 2003-11-11 20:09:16 +00:00
streambuf_iterator.h [multiple changes] 2003-11-11 20:09:16 +00:00
streambuf.tcc
stringfwd.h
type_traits.h
valarray_after.h
valarray_array.h
valarray_array.tcc
valarray_before.h
vector.tcc [multiple changes] 2003-11-11 20:09:16 +00:00