gcc/libstdc++-v3/testsuite/23_containers
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 Fix Debug Mode test failures 2017-03-23 19:40:41 +00:00
bitset Update copyright years. 2017-01-01 13:07:43 +01:00
deque Update copyright years. 2017-01-01 13:07:43 +01:00
forward_list Update copyright years. 2017-01-01 13:07:43 +01:00
headers Update copyright years. 2017-01-01 13:07:43 +01:00
list Fix Debug Mode test failures 2017-03-23 19:40:41 +00:00
map backport: re PR libstdc++/82522 (std::map::insert(value_type &&) not selected) 2017-12-28 05:37:54 +00:00
multimap backport: re PR libstdc++/82522 (std::map::insert(value_type &&) not selected) 2017-12-28 05:37:54 +00:00
multiset Skip tests that are incompatible with Profile Mode 2017-01-14 11:55:22 +00:00
priority_queue Fix Debug Mode test failures 2017-03-23 19:40:41 +00:00
queue Fix libstdc++ testsuite failures in C++98 and C++11 mode 2017-01-26 19:39:53 +00:00
set Fix order and types of members in C++17 insert_return_type structs 2017-05-15 15:01:38 +01:00
stack Fix libstdc++ testsuite failures in C++98 and C++11 mode 2017-01-26 19:39:53 +00:00
unordered_map backport: re PR libstdc++/82522 (std::map::insert(value_type &&) not selected) 2017-12-28 05:37:54 +00:00
unordered_multimap backport: re PR libstdc++/82522 (std::map::insert(value_type &&) not selected) 2017-12-28 05:37:54 +00:00
unordered_multiset Skip tests that are incompatible with Profile Mode 2017-01-14 11:55:22 +00:00
unordered_set Fix order and types of members in C++17 insert_return_type structs 2017-05-15 15:01:38 +01:00
vector PR libstdc++/80553 don't allow destroying non-destructible types 2017-07-25 19:05:13 +01:00