gcc/libstdc++-v3/include
Ville Voutilainen ddb63209a8 Add __is_nothrow_swappable and take it into use.
2015-06-04  Ville Voutilainen  <ville.voutilainen@gmail.com>

	Add __is_nothrow_swappable and take it into use.
	* include/bits/algorithmfwd.h (swap): Only declare for C++98 mode.
	* include/bits/move.h (swap): Add constraints in C++11 and later.
	* include/bits/stl_pair.h (swap): Use __is_nothrow_swappable
	for the free swap function for pair.
	* include/bits/stl_queue.h (swap): Use __is_nothrow_swappable
	for the free swap functions for queue and priority_queue.
	* include/bits/stl_stack.h (swap): Use __is_nothrow_swappable
	for the free swap function for stack.
	* include/debug/array (swap): Use __is_nothrow_swappable
	for the free swap function for array.
	* include/profile/array (swap): Likewise.
	* include/std/array (swap): Likewise.
	* include/std/tuple (_Tuple_impl::_M_swap): Use __is_nothrow_swappable.
	* include/std/type_traits (__is_swappable_impl::__is_swappable,
	__is_nothrow_swappable_impl, __is_nothrow_swappable): New.
	* testsuite/20_util/is_nothrow_swappable/requirements/
	explicit_instantiation.cc: New.
	* testsuite/20_util/is_nothrow_swappable/requirements/typedefs.cc:
	New.
	* testsuite/20_util/is_nothrow_swappable/value.cc: New.

From-SVN: r224153
2015-06-05 15:44:26 +01:00
..
backward Update copyright years. 2015-01-05 13:33:28 +01:00
bits Add __is_nothrow_swappable and take it into use. 2015-06-05 15:44:26 +01:00
c Update copyright years. 2015-01-05 13:33:28 +01:00
c_compatibility Update copyright years. 2015-01-05 13:33:28 +01:00
c_global re PR libstdc++/64883 (FAIL: 17_intro/headers/c++*/all_attributes.cc (test for excess errors) on x86_64-apple-darwin10) 2015-02-01 15:11:08 +00:00
c_std re PR libstdc++/64883 (FAIL: 17_intro/headers/c++*/all_attributes.cc (test for excess errors) on x86_64-apple-darwin10) 2015-02-01 15:11:08 +00:00
debug Add __is_nothrow_swappable and take it into use. 2015-06-05 15:44:26 +01:00
decimal Update copyright years. 2015-01-05 13:33:28 +01:00
experimental tuple (apply): Handle pointers to member (LWG 2418). 2015-05-13 14:12:48 +01:00
ext re PR libstdc++/66017 (Undefined behaviour in std::set<long long>) 2015-05-27 12:18:37 +01:00
parallel Update copyright years. 2015-01-05 13:33:28 +01:00
precompiled Update copyright years. 2015-01-05 13:33:28 +01:00
profile Add __is_nothrow_swappable and take it into use. 2015-06-05 15:44:26 +01:00
std Add __is_nothrow_swappable and take it into use. 2015-06-05 15:44:26 +01:00
tr1 Update copyright years. 2015-01-05 13:33:28 +01:00
tr2 Update copyright years. 2015-01-05 13:33:28 +01:00
Makefile.am 2015-05-29 François Dumont fdumont@gcc.gnu.org> 2015-05-29 21:29:07 +00:00
Makefile.in 2015-05-29 François Dumont fdumont@gcc.gnu.org> 2015-05-29 21:29:07 +00:00