gcc/libstdc++-v3/testsuite
Jonathan Wakely a3a1620bb8 PR72792 PR72793 relax requirements on rebind members
PR libstdc++/72792
	PR libstdc++/72793
	* include/bits/alloc_traits.h (__allocator_traits_base::__rebind):
	Replace with class template using void_t.
	(__alloc_rebind): Define in terms of
	__allocator_traits_base::__rebind.
	(allocator_traits): Remove unconditional static_assert for
	rebind_alloc.
	* include/bits/ptr_traits.h (__replace_first_arg): Remove type member.
	(pointer_traits::__rebind): Replace with class template using void_t.
	(pointer_traits::rebind): Define in terms of __rebind.
	(pointer_traits): Remove unconditional static_assert for rebind.
	* testsuite/20_util/allocator_traits/members/rebind_alloc.cc: New test.
	* testsuite/20_util/pointer_traits/rebind.cc: New test.

From-SVN: r244680
2017-01-20 02:36:16 +00:00
..
17_intro Update copyright years. 2017-01-01 13:07:43 +01:00
18_support PR79114 use decayed type in std::throw_with_nested assertion 2017-01-17 15:26:06 +00:00
19_diagnostics Update copyright years. 2017-01-01 13:07:43 +01:00
20_util PR72792 PR72793 relax requirements on rebind members 2017-01-20 02:36:16 +00:00
21_strings Define cxx11-abi effective target for libstdc++ tests 2017-01-13 14:57:33 +00:00
22_locale Update copyright years. 2017-01-01 13:07:43 +01:00
23_containers PR67085 pass comparison functions by reference in heap algorithms 2017-01-19 23:07:52 +00:00
24_iterators Update copyright years. 2017-01-01 13:07:43 +01:00
25_algorithms PR64903 fix number of predicate tests in std::is_partitioned 2017-01-19 23:30:18 +00:00
26_numerics Update copyright years. 2017-01-01 13:07:43 +01:00
27_io PR66145 use new ABI for std::ios::failure exceptions 2017-01-16 15:58:06 +00:00
28_regex Update copyright years. 2017-01-01 13:07:43 +01:00
29_atomics PR69301 don't assume atomic<T> can default construct T 2017-01-18 18:36:45 +00:00
30_threads Define testsuite macro for correct thread_local destructors 2017-01-09 13:06:03 +00:00
abi Update copyright years. 2017-01-01 13:07:43 +01:00
backward Update copyright years. 2017-01-01 13:07:43 +01:00
config Update copyright years. 2017-01-01 13:07:43 +01:00
data
decimal Update copyright years. 2017-01-01 13:07:43 +01:00
experimental PR69321 fix any_cast<T>(any*) for non-copyable T 2017-01-20 01:22:54 +00:00
ext PR79156 fix std::__enable_shared_from_this extension 2017-01-20 00:07:14 +00:00
lib Define cxx11-abi effective target for libstdc++ tests 2017-01-13 14:57:33 +00:00
libstdc++-abi Update copyright years. 2017-01-01 13:07:43 +01:00
libstdc++-dg Update copyright years. 2017-01-01 13:07:43 +01:00
libstdc++-prettyprinters Skip tests that are incompatible with Profile Mode 2017-01-14 11:55:22 +00:00
libstdc++-xmethods Update copyright years. 2017-01-01 13:07:43 +01:00
performance Update copyright years. 2017-01-01 13:07:43 +01:00
special_functions Update copyright years. 2017-01-01 13:07:43 +01:00
tr1 Update copyright years. 2017-01-01 13:07:43 +01:00
tr2 Update copyright years. 2017-01-01 13:07:43 +01:00
util Define testsuite macro for correct thread_local destructors 2017-01-09 13:06:03 +00:00
Makefile.am Update copyright years. 2017-01-01 13:07:43 +01:00
Makefile.in re PR other/79046 (g++ -print-file-name=plugin uses full version number in path) 2017-01-17 10:38:48 +01:00