gcc/libstdc++-v3/testsuite
Matt Austern 1985f1cdaa stl_construct.h (_Destroy): New three-argument overload that takes an allocator argument.
* include/bits/stl_construct.h (_Destroy): New three-argument
	overload that takes an allocator argument.  Another inline
	three-argument overload that takes std::allocator and dispatches
	to the two-argument version.
	* include/bits/stl_uninitialized.h (__uninitialized_fill_n_aux):
	Change return type to void to match uninitialized_fill_n.
	(__uninitialized_copy_a_): New function.  Like uninitialized_copy
	except that it takes an allocator and uses it for construct and
	destroy.  If the allocator is std::allocator, dispatches to
	uninitialized_copy.
	(__uninitialized_fill_a): Likewise.
	(__uninitialized_fill_n_a): Likewise.
	(__uninitialized_copy_copy): Give it an allocator argument.
	(__uninitialized_fill_copy): Likewise.
	(__uninitialized_copy_fill): Likewise.
	* include/bits/deque.tcc: Use new forms defined in stl_construct.h
	and stl_uninitialized.h.  Replace use of single-argument _Construct
	and _Destroy with use of allocator's construct and destroy methods.
	* include/bits/list.tcc: Likewise.
	* include/bits/stl_deque.h: Likewise.
	* include/bits/stl_list.h: Likewise.
	* include/bits/stl_tree.h: Likewise.
	* include/bits/stl_vector.h: Likewise.
	* include/bits/vector.tcc: Likewise.
	* include/ext/hashtable.h: Use rebind so that allocator_type
	has correct type for a container's allocator.  Replace use of
	single-argument _Construct and _Destroy with use of allocator's
	construct and destroy methods.
	* include/ext/memory (__uninitialized_copy_n_a): New function.
	Like uninitialized_copy_n except that it takes an extra parameter,
	an allocator, and uses it for construct and destroy operations.
	* include/ext/rope: Use new forms defined in stl_construct.h,
	stl_uninitialized.h, and ext/memory.  Replace use of single-argument
	_Construct and _Destroy with allocator construct and destroy methods.
	* include/ext/ropeimpl.h: Likewise.
	* include/ext/slist.h: Likewise.
	* testsuite/testsuite_allocator.h (check_construct_destroy): New.
	* testsuite/testsuite_allocator.cc (check_construct_destroy): New.
	* testsuite/23_containers/deque/check_construct_destroy.cc: New.
	* testsuite/23_containers/list/check_construct_destroy.cc: New.
	* testsuite/23_containers/set/check_construct_destroy.cc: New.
	* testsuite/23_containers/vector/check_construct_destroy.cc: New.
	* testsuite/ext/hash_check_construct_destroy.cc: New.
	* testsuite/ext/slist_check_construct_destroy.cc: New.

From-SVN: r85265
2004-07-28 16:37:20 +00:00
..
17_intro locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
18_support 9555-ic.cc: Clarify assertion, set test variable to false before assert. 2004-04-19 19:00:09 +00:00
19_diagnostics locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
20_util re PR libstdc++/16505 ([3.4 only] std::uninitialized_fill_n() incorrect signature) 2004-07-14 23:57:34 +00:00
21_strings istream.tcc (ignore): Correctly deal with n == numeric_limits<streamsize>::max(). 2004-05-24 09:40:56 +00:00
22_locale 12658_thread-1.cc, [...]: Use __gnu_test::try_named_locale. 2004-07-14 14:01:45 +00:00
23_containers stl_construct.h (_Destroy): New three-argument overload that takes an allocator argument. 2004-07-28 16:37:20 +00:00
24_iterators testsuite/20_util/allocator/, auto_ptr/, raw_storage_iterator.cc, temporary_buffer.cc: Move to... 2004-07-02 20:44:08 +00:00
25_algorithms 1.cc: Add instantiations for systems with no COMDAT or weak support. 2004-07-04 11:05:14 +00:00
26_numerics complex_inserters_extractors.cc, [...]: Move to... 2004-06-22 10:52:14 +00:00
27_io Add wchar_t counterparts of the basic_streambbuf<char> tests. 2004-07-11 19:13:59 +00:00
backward testsuite_flags.in: Add "-D_GLIBCXX_ASSERT" to CXXFLAGS_save. 2004-03-04 23:29:44 +00:00
config default.exp: Update with comments. 2004-02-27 22:01:32 +00:00
data cin_unget-1.txt: New. 2003-08-26 11:46:22 +00:00
demangle [multiple changes] 2004-02-27 03:21:16 +00:00
ext stl_construct.h (_Destroy): New three-argument overload that takes an allocator argument. 2004-07-28 16:37:20 +00:00
lib re PR libstdc++/15488 (possibly insufficient file permissions for executing test suite) 2004-07-19 23:11:03 +00:00
libstdc++-dg default.exp: Update with comments. 2004-02-27 22:01:32 +00:00
performance re PR libstdc++/16401 (ostringstream in gcc 3.4.x very slow for big data) 2004-07-07 21:48:01 +00:00
thread Update comment to reflect test. 2004-03-29 23:42:05 +00:00
abi_check.cc abi_check.cc: Add unistd.h. 2004-05-22 17:08:02 +00:00
Makefile.am abi.html: New. 2004-05-13 12:50:53 +00:00
Makefile.in configure.ac: Set ABI_TWEAKS_SRCDIR. 2004-07-02 23:40:19 +00:00
printnow.c
testsuite_abi.cc [multiple changes] 2004-07-08 05:24:33 +00:00
testsuite_abi.h abi.html: New. 2004-05-13 12:50:53 +00:00
testsuite_allocator.cc stl_construct.h (_Destroy): New three-argument overload that takes an allocator argument. 2004-07-28 16:37:20 +00:00
testsuite_allocator.h stl_construct.h (_Destroy): New three-argument overload that takes an allocator argument. 2004-07-28 16:37:20 +00:00
testsuite_character.h locale_facets.tcc (num_get<>::_M_extract_float, [...]): Prefer plain operator== to traits::eq(). 2004-03-06 09:00:14 +00:00
testsuite_hooks.cc re PR libstdc++/15090 (-fno-for-scope vs. libstdc++) 2004-05-13 16:29:39 +00:00
testsuite_hooks.h testsuite_hooks.h (func_callback): Declare copy constructor and assignment operator private. 2004-05-22 21:51:07 +00:00
testsuite_io.h basic_ios.h (basic_ios::setstate): Revert. 2003-12-02 02:48:51 +00:00
testsuite_performance.h 2004-06-07 Dhruv Matani <dhruvbird@gmx.net> 2004-06-07 21:56:16 +00:00