gcc/libstdc++-v3/testsuite/20_util/pair
Jonathan Wakely 62b547b5f6 re PR libstdc++/51183 (pair piecewise_construct_t constructor copies)
2011-12-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
	    Chris Jefferson  <chris@bubblescope.net>

	PR libstdc++/51183
	* include/std/stl_pair.h (pair<>::__cons, pair<>::__do_cons): Remove.
	(pair<>::pair(piecewise_construct_t, tuple<>, tuple<>): Only declare.
	(pair<>::pair(tuple<>&, tuple<>&, _Index_tuple<>, _Index_tuple<>)):
	Declare.
	* include/std/tuple (pair<>::__cons, pair<>::__do_cons): Remove.
	(pair<>::pair(tuple<>&, tuple<>&, _Index_tuple<>, _Index_tuple<>)):
	Define.
	(pair<>::pair(piecewise_construct_t, tuple<>, tuple<>): Define,
	delegating to the latter.
	* testsuite/20_util/pair/piecewise2.cc: New.

Co-Authored-By: Chris Jefferson <chris@bubblescope.net>

From-SVN: r182054
2011-12-06 15:13:04 +00:00
..
comparison_operators
cons
make_pair less_or_equal.cc: New. 2011-09-16 16:28:31 +00:00
requirements
1.cc
2.cc
3.cc
4.cc
40925.cc
44487.cc
constexpr_get.cc
get.cc
moveable.cc
noexcept_move_assign.cc
noexcept_swap.cc
piecewise2.cc re PR libstdc++/51183 (pair piecewise_construct_t constructor copies) 2011-12-06 15:13:04 +00:00
piecewise.cc
swap.cc