gcc/libstdc++-v3/testsuite/23_containers/set
Paolo Carlini 2fecaef4af [multiple changes]
2005-06-06  Paolo Carlini  <pcarlini@suse.de>

        Port from libstdcxx_so_7-branch:
	2004-09-24  Paolo Carlini  <pcarlini@suse.de>
		    Jonathan Wakely  <redi@gcc.gnu.org>

	* include/bits/stl_list.h (list::list(size_type, value_type,
	const allocator_type&): Implement according to the letter of the
	standard, i.e., don't use two overloads, not equivalent in case
	of non default constructible T.
	(list::resize(size_type, const value_type&)): Fix the signature:
	according to the standard the second argument is by value; also,
	don't use two overloads.
	* include/bits/list.tcc (list::resize(size_type, const value_type&)):
	Adjust consistently the signature.
	* include/bits/stl_deque.h (deque::deque(size_type, value_type,
	const allocator_type&)): Likewise.
	(deque::resize(size_type, const value_type&)): Likewise.
	* include/bits/stl_vector.h (vector::vector(size_type, value_type,
	const allocator_type&)): Likewise.
	(vector::resize(size_type, const value_type&)): Likewise.
	* testsuite/testsuite_hooks.h: Add NonDefaultConstructible test type.
	* testsuite/23_containers/deque/explicit_instantiation/2.cc: New.
	* testsuite/23_containers/list/explicit_instantiation/2.cc: New.
	* testsuite/23_containers/map/explicit_instantiation/2.cc: New.
	* testsuite/23_containers/multimap/explicit_instantiation/2.cc: New.
	* testsuite/23_containers/multiset/explicit_instantiation/2.cc: New.
	* testsuite/23_containers/set/explicit_instantiation/2.cc: New.
	* testsuite/23_containers/vector/explicit_instantiation/2.cc: New.

	* include/bits/deque.tcc: Minor formatting fix.

From-SVN: r100668
2005-06-06 16:59:55 +00:00
..
explicit_instantiation [multiple changes] 2005-06-06 16:59:55 +00:00
insert binders.cc: Remove explicit instantiations for non-weak systems. 2005-03-16 11:24:36 +00:00
invalidation binders.cc: Remove explicit instantiations for non-weak systems. 2005-03-16 11:24:36 +00:00
modifiers binders.cc: Remove explicit instantiations for non-weak systems. 2005-03-16 11:24:36 +00:00
operators re PR libstdc++/19510 ([3.3 only] Uninitialized pointers in iterators) 2005-01-21 01:23:28 +00:00
1.cc Tests for user specialization of standard containers. 2003-07-31 22:23:38 +00:00
14340.cc 14340.cc: Fix typos in instantiation of set and multiset (functor param given as int). 2004-07-05 11:59:42 +01:00
18604.cc re PR libstdc++/18604 (Use of unqualified names conflict with names in global namespace) 2005-05-10 01:58:19 +00:00
check_construct_destroy.cc stl_construct.h (_Destroy): New three-argument overload that takes an allocator argument. 2004-07-28 16:37:20 +00:00