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
..
2011-01-30 22:39:36 +00:00
2011-11-22 10:53:28 -05:00
2011-09-16 16:28:31 +00:00
2011-05-19 10:30:20 +00:00
2011-04-13 22:52:45 +00:00
2011-04-13 22:52:45 +00:00
2011-05-19 10:30:20 +00:00
2011-04-13 22:52:45 +00:00
2011-04-13 22:52:45 +00:00
2011-04-13 22:52:45 +00:00
2011-04-13 22:52:45 +00:00
2011-05-19 10:30:20 +00:00
2011-05-19 10:30:20 +00:00
2011-04-13 22:52:45 +00:00
2011-06-22 21:46:17 +00:00
2011-09-16 16:28:31 +00:00
2011-09-16 16:28:31 +00:00