gcc/libstdc++-v3/include
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
..
backward Update copyright years. 2017-01-01 13:07:43 +01:00
bits PR72792 PR72793 relax requirements on rebind members 2017-01-20 02:36:16 +00:00
c Update copyright years. 2017-01-01 13:07:43 +01:00
c_compatibility Update copyright years. 2017-01-01 13:07:43 +01:00
c_global PR79017 workaround incomplete C99 math on darwin 2017-01-09 17:15:58 +00:00
c_std Update copyright years. 2017-01-01 13:07:43 +01:00
debug Update copyright years. 2017-01-01 13:07:43 +01:00
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 PR69301 don't assume atomic<T> can default construct T 2017-01-18 18:36:45 +00:00
parallel Update copyright years. 2017-01-01 13:07:43 +01:00
precompiled Update copyright years. 2017-01-01 13:07:43 +01:00
profile Remove unused include from Profile Mode header 2017-01-13 17:20:23 +00:00
std PR69321 fix any_cast<T>(any*) for non-copyable T 2017-01-20 01:22:54 +00: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
Makefile.am PR78905 define _GLIBCXX_RELEASE macro 2017-01-19 16:40:46 +00:00
Makefile.in PR78905 define _GLIBCXX_RELEASE macro 2017-01-19 16:40:46 +00:00