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 ostream.tcc (ostream::seekp): Add error checking as per DR 129. 2001-06-11 19:20:20 +00:00
comparisons.cc stl_raw_storage_iter.h: Format. 2001-06-19 01:51:33 +00:00
pairs.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +00:00
raw_storage_iterator.cc stl_iterator.h (reverse_iterator): Inherit from iterator. 2001-06-23 00:08:47 +00:00
temporary_buffer.cc stl_tempbuf.h (_Temporary_buffer): Add doxygen hook. 2002-01-25 04:14:40 +00:00