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
bitset_ctor.cc
bitset_members.cc
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
list_operators.cc
map_insert.cc
map_operators_neg.cc
map_operators.cc
multiset.cc
set_operators_neg.cc
vector_bool.cc
vector_capacity.cc re PR libstdc++/8230 (Buggy allocator behaviour) 2002-11-16 17:16:31 +00:00
vector_ctor.cc
vector_element_access.cc
vector_modifiers.cc