gcc/libstdc++-v3/include
François Dumont cf4a3f0859 backport: re PR libstdc++/82522 (std::map::insert(value_type &&) not selected)
2017-12-28  François Dumont  <fdumont@gcc.gnu.org>

	Backport from mainline
	2017-12-20  François Dumont  <fdumont@gcc.gnu.org>

	PR libstdc++/82522
	* include/debug/map.h (map::insert(value_type&&))
	(map::insert(const_iterator, value_type&&)): Add overload for rvalues.
	* include/debug/multimap.h (multimap::insert(value_type&&))
	(multimap::insert(const_iterator, value_type&&)): Likewise.
	* include/debug/unordered_map (unordered_map::insert(value_type&&))
	(unordered_map::insert(const_iterator, value_type&&))
	(unordered_multimap::insert(value_type&&))
	(unordered_multimap::insert(const_iterator, value_type&&)): Likewise.
	* testsuite/23_containers/map/modifiers/insert/dr2354.cc (test02): New.
	* testsuite/23_containers/multimap/modifiers/insert/dr2354.cc (test02):
	New.
	* testsuite/23_containers/unordered_map/insert/dr2354.cc (test02): New.
	* testsuite/23_containers/unordered_multimap/insert/dr2354.cc (test02):
	New.

From-SVN: r256018
2017-12-28 05:37:54 +00:00
..
backward Update copyright years. 2017-01-01 13:07:43 +01:00
bits PR libstdc++/83427 detect weak result type from noexcept functions 2017-12-14 17:29:22 +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 Define __cpp_lib_byte feature-test macro 2017-10-20 19:19:09 +01:00
c_std Update copyright years. 2017-01-01 13:07:43 +01:00
debug backport: re PR libstdc++/82522 (std::map::insert(value_type &&) not selected) 2017-12-28 05:37:54 +00:00
decimal Update copyright years. 2017-01-01 13:07:43 +01:00
experimental PR libstdc++/82685 add 'noexcept' to string_view literals 2017-12-01 17:12:07 +00:00
ext PR c++/82039 suppress -Wzero-as-null-pointer-constant warning 2017-09-04 13:24:57 +01: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 PR libstdc++/59568 don't use putback or update value when extraction fails 2017-12-14 11:53:02 +00:00
tr1 PR libstdc++/70607 revert recent changes to <tr1/complex> 2017-01-26 19:40:02 +00:00
tr2 Update copyright years. 2017-01-01 13:07:43 +01:00
Makefile.am PR libstdc++/79433 no #error for including headers with wrong -std 2017-10-20 16:14:29 +01:00
Makefile.in PR libstdc++/79433 no #error for including headers with wrong -std 2017-10-20 16:14:29 +01:00