gcc/libstdc++-v3/testsuite/23_containers
Benjamin Kosnik af5fb6ab3b re PR libstdc++/8230 (Buggy allocator behaviour)
2002-11-15  Benjamin Kosnik  <bkoz@redhat.com>
            Gabriel Dos Reis  <gdr@integrable-solutions.net>

	PR libstdc++/8230
	* include/bits/stl_alloc.h: Use builtin_expect for the most
	obvious limit checks.
	(__default_alloc_template::allocate): Check for null, throw
	bad_alloc.
	* include/bits/vector.tcc: Formatting tweaks.
	* include/bits/stl_vector.h: Same.
	* testsuite/20_util/allocator_members.cc (test02): Add.
	* testsuite/23_containers/vector_capacity.cc (test03): Add.

Co-Authored-By: Gabriel Dos Reis <gdr@integrable-solutions.net>

From-SVN: r59169
2002-11-16 17:16:31 +00:00
..
adaptors.cc PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161 2002-06-29 01:10:51 +00:00
bitset_ctor.cc std_bitset.h (_Base_biteset<0>): New specialization. 2002-05-24 18:16:00 +00:00
bitset_members.cc bitset_members.cc: New test. 2002-04-09 07:35:31 +00:00
bitset_shift.cc
deque_ctor.cc
deque_operators.cc re PR libstdc++/7186 (DR179 for std::deque::iterator and const_iterator) 2002-07-07 10:15:06 +00:00
list_capacity.cc
list_ctor.cc
list_modifiers.cc Makefile.am (noinst_LIBRARIES): New target. 2002-05-28 23:15:18 +00:00
list_operators.cc
map_insert.cc
map_operators_neg.cc std_memory.h: Fix formatting. 2002-07-04 07:25:19 +00:00
map_operators.cc std_memory.h: Fix formatting. 2002-07-04 07:25:19 +00:00
multiset.cc
set_operators_neg.cc std_memory.h: Fix formatting. 2002-07-04 07:25:19 +00:00
vector_bool.cc stl_bvector.h: Use UL suffix for unsigned longs. 2002-06-01 00:48:21 +00:00
vector_capacity.cc re PR libstdc++/8230 (Buggy allocator behaviour) 2002-11-16 17:16:31 +00:00
vector_ctor.cc re PR libstdc++/6513 (sigfaults on trivial code) 2002-05-01 02:17:35 +00:00
vector_element_access.cc
vector_modifiers.cc