gcc/libstdc++-v3/include/bits
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
..
algorithmfwd.h Makefile.am (install-freestanding-headers): Install c++0x_warning.h. 2011-11-01 00:02:45 -04:00
alloc_traits.h ptr_traits.h (__rebind): Replace with... 2011-11-08 00:33:45 +00:00
allocator.h allocator.h (__shrink_to_fit_aux::_S_do_it): Create the new object with the same allocator. 2011-11-09 21:14:03 +00:00
atomic_base.h acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Remove size-specific macros. 2011-12-01 02:20:32 +00:00
basic_ios.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
basic_ios.tcc
basic_string.h hash-long-double-aux.cc: Rename to... 2011-11-18 12:37:06 +00:00
basic_string.tcc configure.host: Use config/os/mingw32-w64 instead of config/os/mingw32 if vendor key is "w64". 2011-10-14 08:57:55 +02:00
boost_concept_check.h
c++0x_warning.h re PR c++/50920 (add a -std=c++11 option to the driver) 2011-10-31 15:34:14 -04:00
c++config c++config: Add tr2 to versioned namespaces. 2011-11-02 04:23:33 +00:00
char_traits.h
codecvt.h re PR libstdc++/50714 (codecvt_byname::codecvt::_M_c_locale_codecvt not initialized by destroyed) 2011-10-14 00:12:40 +00:00
concept_check.h
cpp_type_traits.h
deque.tcc re PR libstdc++/50529 ([C++0x] std::vector::erase invokes undefined behavior with empty range) 2011-09-27 02:39:34 +00:00
forward_list.h Makefile.am (install-freestanding-headers): Install c++0x_warning.h. 2011-11-01 00:02:45 -04:00
forward_list.tcc re PR libstdc++/50118 (node-based containers cannot use allocators with explicit constructor template) 2011-08-29 13:40:33 +00:00
fstream.tcc
functexcept.h
functional_hash.h hash-long-double-aux.cc: Rename to... 2011-11-18 12:37:06 +00:00
gslice_array.h
gslice.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
hashtable_policy.h re PR libstdc++/41975 ([C++0x] [DR579] unordered_set::erase performs worse when nearly empty) 2011-11-23 20:30:18 +00:00
hashtable.h hashtable.h (_Hashtable<>::_M_rehash): Remove code useless now that the hashtable implementation put the hash code in... 2011-11-29 07:45:58 +00:00
indirect_array.h
ios_base.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
istream.tcc
list.tcc re PR libstdc++/49561 ([C++0x] std::list::size complexity) 2011-10-04 22:19:44 +00:00
locale_classes.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
locale_classes.tcc
locale_facets_nonio.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
locale_facets_nonio.tcc
locale_facets.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
locale_facets.tcc
localefwd.h
mask_array.h
move.h type_traits: Doxygen improvements. 2011-12-04 16:53:17 +00:00
ostream_insert.h
ostream.tcc
postypes.h
ptr_traits.h ptr_traits.h (__rebind): Replace with... 2011-11-08 00:33:45 +00:00
random.h re PR libstdc++/50951 (state of subtract_with_carry_engine not saved correctly to output stream) 2011-11-02 10:06:08 +00:00
random.tcc re PR libstdc++/50951 (state of subtract_with_carry_engine not saved correctly to output stream) 2011-11-02 10:06:08 +00:00
range_access.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
regex_compiler.h
regex_constants.h
regex_cursor.h
regex_error.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
regex_grep_matcher.h
regex_grep_matcher.tcc
regex_nfa.h
regex_nfa.tcc
regex.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
shared_ptr_base.h hash-long-double-aux.cc: Rename to... 2011-11-18 12:37:06 +00:00
shared_ptr.h hash-long-double-aux.cc: Rename to... 2011-11-18 12:37:06 +00:00
slice_array.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
sstream.tcc
stl_algo.h re PR libstdc++/50119 ([C++0x] copy_n advances InputIterator one more time than necessary) 2011-08-18 16:32:23 +00:00
stl_algobase.h re PR libstdc++/50661 (std::equal should use more efficient version for arrays of pointers) 2011-10-11 12:39:18 +00:00
stl_bvector.h hash-long-double-aux.cc: Rename to... 2011-11-18 12:37:06 +00:00
stl_construct.h
stl_deque.h Makefile.am (install-freestanding-headers): Install c++0x_warning.h. 2011-11-01 00:02:45 -04:00
stl_function.h
stl_heap.h stl_heap.h (pop_heap): Check for non-empty range in overload taking a predicate. 2011-12-04 13:21:53 +00:00
stl_iterator_base_funcs.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
stl_iterator_base_types.h
stl_iterator.h stl_iterator.h (make_move_iterator): Implement DR2061. 2011-08-30 15:34:50 +00:00
stl_list.h Makefile.am (install-freestanding-headers): Install c++0x_warning.h. 2011-11-01 00:02:45 -04:00
stl_map.h re PR libstdc++/51142 ([C++0x] map::erase(key) doesn't compile with -D_GLIBCXX_DEBUG.) 2011-11-15 23:28:49 +00:00
stl_multimap.h re PR libstdc++/51142 ([C++0x] map::erase(key) doesn't compile with -D_GLIBCXX_DEBUG.) 2011-11-15 23:28:49 +00:00
stl_multiset.h Makefile.am (install-freestanding-headers): Install c++0x_warning.h. 2011-11-01 00:02:45 -04:00
stl_numeric.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
stl_pair.h re PR libstdc++/51183 (pair piecewise_construct_t constructor copies) 2011-12-06 15:13:04 +00:00
stl_queue.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
stl_raw_storage_iter.h
stl_relops.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
stl_set.h Makefile.am (install-freestanding-headers): Install c++0x_warning.h. 2011-11-01 00:02:45 -04:00
stl_stack.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
stl_tempbuf.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
stl_tree.h re PR libstdc++/51142 ([C++0x] map::erase(key) doesn't compile with -D_GLIBCXX_DEBUG.) 2011-11-15 23:28:49 +00:00
stl_uninitialized.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
stl_vector.h stl_vector.h (vector::_Alloc_traits): Make private. 2011-11-09 01:26:04 +00:00
stream_iterator.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
streambuf_iterator.h re PR libstdc++/50336 (LWG issue 445) 2011-09-08 22:42:21 +00:00
streambuf.tcc
stringfwd.h
unique_ptr.h hash-long-double-aux.cc: Rename to... 2011-11-18 12:37:06 +00:00
unordered_map.h re PR libstdc++/41975 ([C++0x] [DR579] unordered_set::erase performs worse when nearly empty) 2011-11-23 20:30:18 +00:00
unordered_set.h re PR libstdc++/41975 ([C++0x] [DR579] unordered_set::erase performs worse when nearly empty) 2011-11-23 20:30:18 +00:00
uses_allocator.h
valarray_after.h
valarray_array.h
valarray_array.tcc
valarray_before.h
vector.tcc hash-long-double-aux.cc: Rename to... 2011-11-18 12:37:06 +00:00