gcc/libstdc++-v3/testsuite
Paolo Carlini 4fd20a8f82 re PR libstdc++/21770 (rebinding allocator::value type vs. container::value_type)
2005-06-03  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/21770
	* include/bits/stl_deque.h: Add concept-check. In class _Deque_base
	rebind _Alloc to  _Tp_alloc_type, change _Deque_impl to inherit from
	the latter and add _M_get_Tp_allocator() which returns it. Use
	everywhere _M_get_Tp_allocator() instead of get_allocator().
	* include/bits/deque.tcc: Likewise, use _M_get_Tp_allocator().
	* include/bits/stl_list.h: Add concept-check. In class _List_base
	rebind _Alloc to _Tp_alloc_type and add _M_get_Tp_allocator(), which
	returns the allocator (of type _Node_alloc_type) converted to
	_Tp_alloc_type. Use everywhere _M_get_Tp_allocator() instead of
	get_allocator().
	* include/bits/list.tcc: Likewise, use _M_get_Tp_allocator().
	* include/bits/stl_vector.h: Add concept-check. In class _Vector_base
	rebind _Alloc to _Tp_alloc_type, change _Vector_impl to inherit from
	the latter and add _M_get_Tp_allocator() which returns it. Use
	everywhere _M_get_Tp_allocator() instead of get_allocator().
	* include/bits/vector.tcc: Likewise, use _M_get_Tp_allocator().
	* include/bits/stl_map.h: Add concept-check. Rebind _Alloc to
	_Pair_alloc_type and use it for _Rb_tree.
	* include/bits/stl_multimap.h: Likewise.
	* include/bits/stl_multiset.h: Add concept-check. Rebind _Alloc to
	_Key_alloc_type and use it for _Rb_tree.
	* include/bits/stl_set.h: Likewise.
	* include/bits/basic_string.h: Rebind _Alloc to _CharT_alloc_type and
	use it for the allocator typedefs.
	* testsuite/21_strings/basic_string/1.cc: New.
	* testsuite/23_containers/deque/explicit_instantiation.cc: Move to...
	* testsuite/23_containers/deque/explicit_instantiation/1.cc: ... here.
	* testsuite/23_containers/deque/explicit_instantiation/3.cc: New.
	* testsuite/23_containers/list/explicit_instantiation.cc: Move to...
	* testsuite/23_containers/list/explicit_instantiation/1.cc: ... here.
	* testsuite/23_containers/list/explicit_instantiation/3.cc: New.
	* testsuite/23_containers/map/explicit_instantiation.cc: Move to...
	* testsuite/23_containers/map/explicit_instantiation/1.cc: ... here.
	* testsuite/23_containers/map/explicit_instantiation/3.cc: New.
	* testsuite/23_containers/multimap/explicit_instantiation.cc: Move to...
	* testsuite/23_containers/multimap/explicit_instantiation/1.cc: .. here.
	* testsuite/23_containers/multimap/explicit_instantiation/3.cc: New.
	* testsuite/23_containers/multiset/explicit_instantiation.cc: Move to...
	* testsuite/23_containers/multiset/explicit_instantiation/1.cc: .. here.
	* testsuite/23_containers/multiset/explicit_instantiation/3.cc: New.
	* testsuite/23_containers/set/explicit_instantiation.cc: Move to...
	* testsuite/23_containers/set/explicit_instantiation/1.cc: .. here.
	* testsuite/23_containers/set/explicit_instantiation/3.cc: New.
	* testsuite/23_containers/vector/explicit_instantiation.cc: Move to...
	* testsuite/23_containers/vector/explicit_instantiation/1.cc: ... here.
	* testsuite/23_containers/vector/explicit_instantiation/3.cc: New.

From-SVN: r100546
2005-06-03 17:07:48 +00:00
..
17_intro re PR libstdc++/20534 (Erroneous #include of <cassert>) 2005-05-27 15:01:45 +00:00
18_support numeric_limits.cc (dg-options): Add -mieee to options on sh*-*-*. 2005-05-13 00:23:28 +00:00
19_diagnostics
20_util
21_strings re PR libstdc++/21770 (rebinding allocator::value type vs. container::value_type) 2005-06-03 17:07:48 +00:00
22_locale 2.cc: Adjust dg-require-namedlocale. 2005-05-18 17:26:48 +00:00
23_containers re PR libstdc++/21770 (rebinding allocator::value type vs. container::value_type) 2005-06-03 17:07:48 +00:00
24_iterators
25_algorithms [multiple changes] 2005-05-24 22:53:43 +00:00
26_numerics re PR libstdc++/13943 (call of overloaded `llabs(int)' is ambiguous) 2005-05-26 15:46:48 +00:00
27_io re PR c++/21280 (#pragma interface, templates, and "inline function used but never defined") 2005-06-02 17:48:58 +00:00
backward
config
data
demangle
ext revert: re PR libstdc++/19495 (basic_string::_M_rep() can produce an unnaturally aligned pointer to _Rep) 2005-05-28 21:57:03 +00:00
lib test.html: Mention PCH_CXXFLAGS. 2005-05-27 16:24:59 +00:00
libstdc++-abi test.html: Update. 2005-04-07 04:16:26 +00:00
libstdc++-dg test.html: Mention PCH_CXXFLAGS. 2005-05-27 16:24:59 +00:00
performance
thread
tr1 type_traits (is_convertible): Adjust according to the resolution of TR1 issue 3.20. 2005-04-28 22:35:09 +00:00
Makefile.am acinclude.m4: Remove testsuite_wchar_t and testsuite_thread. 2005-05-05 16:12:28 +00:00
Makefile.in acinclude.m4: Remove testsuite_wchar_t and testsuite_thread. 2005-05-05 16:12:28 +00:00
testsuite_abi_check.cc test.html: Update. 2005-04-07 04:16:26 +00:00
testsuite_abi.cc linker-map.gnu: Add linkage support for no extern templates. 2005-05-26 07:10:21 +00:00
testsuite_abi.h
testsuite_allocator.cc
testsuite_allocator.h
testsuite_character.cc re PR libstdc++/21238 (conflicting "typedef __numpunct_cache<_CharT> __cache_type;" in std::numpunct<CharT> makes specialization impossible) 2005-04-29 18:50:00 +00:00
testsuite_character.h re PR libstdc++/21238 (conflicting "typedef __numpunct_cache<_CharT> __cache_type;" in std::numpunct<CharT> makes specialization impossible) 2005-04-29 18:50:00 +00:00
testsuite_hooks.cc testsuite_hooks.cc: Remove try_named_locale. 2005-05-18 08:07:32 +00:00
testsuite_hooks.h testsuite_hooks.cc: Remove try_named_locale. 2005-05-18 08:07:32 +00:00
testsuite_io.h
testsuite_iterators.h [multiple changes] 2005-05-24 10:58:22 +00:00
testsuite_performance.h
testsuite_tr1.h type_traits (has_trivial_copy, [...]): Adjust according to the resolution of TR1 issue 3.21. 2005-04-27 15:08:57 +00:00