gcc/libstdc++-v3/include/debug
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
..
array Add deduction guides for C++17 (P0433R2, partial) 2017-03-22 15:58:35 +00:00
assertions.h Update copyright years. 2017-01-01 13:07:43 +01:00
bitset Update copyright years. 2017-01-01 13:07:43 +01:00
debug.h Update copyright years. 2017-01-01 13:07:43 +01:00
deque Update copyright years. 2017-01-01 13:07:43 +01:00
formatter.h Update copyright years. 2017-01-01 13:07:43 +01:00
forward_list Update copyright years. 2017-01-01 13:07:43 +01:00
functions.h Update copyright years. 2017-01-01 13:07:43 +01:00
helper_functions.h Update copyright years. 2017-01-01 13:07:43 +01:00
list Update copyright years. 2017-01-01 13:07:43 +01:00
macros.h Update copyright years. 2017-01-01 13:07:43 +01:00
map Update copyright years. 2017-01-01 13:07:43 +01:00
map.h backport: re PR libstdc++/82522 (std::map::insert(value_type &&) not selected) 2017-12-28 05:37:54 +00:00
multimap.h backport: re PR libstdc++/82522 (std::map::insert(value_type &&) not selected) 2017-12-28 05:37:54 +00:00
multiset.h Update copyright years. 2017-01-01 13:07:43 +01:00
safe_base.h Update copyright years. 2017-01-01 13:07:43 +01:00
safe_container.h Update copyright years. 2017-01-01 13:07:43 +01:00
safe_iterator.h Update copyright years. 2017-01-01 13:07:43 +01:00
safe_iterator.tcc Update copyright years. 2017-01-01 13:07:43 +01:00
safe_local_iterator.h Update copyright years. 2017-01-01 13:07:43 +01:00
safe_local_iterator.tcc Update copyright years. 2017-01-01 13:07:43 +01:00
safe_sequence.h Update copyright years. 2017-01-01 13:07:43 +01:00
safe_sequence.tcc Update copyright years. 2017-01-01 13:07:43 +01:00
safe_unordered_base.h Update copyright years. 2017-01-01 13:07:43 +01:00
safe_unordered_container.h Update copyright years. 2017-01-01 13:07:43 +01:00
safe_unordered_container.tcc Update copyright years. 2017-01-01 13:07:43 +01:00
set Update copyright years. 2017-01-01 13:07:43 +01:00
set.h Update copyright years. 2017-01-01 13:07:43 +01:00
stl_iterator.h Update copyright years. 2017-01-01 13:07:43 +01:00
string Update copyright years. 2017-01-01 13:07:43 +01:00
unordered_map backport: re PR libstdc++/82522 (std::map::insert(value_type &&) not selected) 2017-12-28 05:37:54 +00:00
unordered_set Update copyright years. 2017-01-01 13:07:43 +01:00
vector Update copyright years. 2017-01-01 13:07:43 +01:00