gcc/libstdc++-v3/testsuite/20_util
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
..
allocator_members.cc re PR libstdc++/8230 (Buggy allocator behaviour) 2002-11-16 17:16:31 +00:00
auto_ptr_neg.cc std_memory.h: Fix formatting. 2002-07-04 07:25:19 +00:00
auto_ptr.cc std_memory.h: Fix formatting. 2002-07-04 07:25:19 +00:00
binders.cc
comparisons.cc
pairs.cc
raw_storage_iterator.cc
temporary_buffer.cc