gcc/libstdc++-v3/testsuite/23_containers
Ville Voutilainen b95170d380 Implement N4279, Improved insertion interface for unique-key maps.
2015-08-09  Ville Voutilainen  <ville.voutilainen@gmail.com>

	Implement N4279, Improved insertion interface for unique-key maps.
	* include/bits/stl_map.h (try_emplace, insert_or_assign): New.
	* include/bits/stl_tree.h (_M_get_insert_unique_pos,
	_M_get_insert_equal_pos, _M_get_insert_hint_unique_pos,
	_M_get_insert_hint_equal_pos): Make public.
	* include/bits/unordered_map.h (try_emplace, insert_or_assign): New.
	* testsuite/23_containers/map/modifiers/insert_or_assign/1.cc:
	Likewise.
	* testsuite/23_containers/map/modifiers/try_emplace/1.cc: Likewise.
	* testsuite/23_containers/unordered_map/modifiers/insert_or_assign.cc:
	Likewise.
	* testsuite/23_containers/unordered_map/modifiers/try_emplace.cc:
	Likewise.

From-SVN: r226743
2015-08-09 01:57:13 +03:00
..
array get_neg.cc: Adjust dg-error line numbers. 2015-06-24 12:18:29 +00:00
bitset Update copyright years. 2015-01-05 13:33:28 +01:00
deque c++config (_GLIBCXX_NOEXCEPT_IF): Define. 2015-07-13 18:15:48 +01:00
forward_list c++config (_GLIBCXX_NOEXCEPT_IF): Define. 2015-07-13 18:15:48 +01:00
headers Update copyright years. 2015-01-05 13:33:28 +01:00
list c++config (_GLIBCXX_NOEXCEPT_IF): Define. 2015-07-13 18:15:48 +01:00
map Implement N4279, Improved insertion interface for unique-key maps. 2015-08-09 01:57:13 +03:00
multimap c++config (_GLIBCXX_NOEXCEPT_IF): Define. 2015-07-13 18:15:48 +01:00
multiset c++config (_GLIBCXX_NOEXCEPT_IF): Define. 2015-07-13 18:15:48 +01:00
priority_queue Update copyright years. 2015-01-05 13:33:28 +01:00
queue Update copyright years. 2015-01-05 13:33:28 +01:00
set c++config (_GLIBCXX_NOEXCEPT_IF): Define. 2015-07-13 18:15:48 +01:00
stack Update copyright years. 2015-01-05 13:33:28 +01:00
unordered_map Implement N4279, Improved insertion interface for unique-key maps. 2015-08-09 01:57:13 +03:00
unordered_multimap c++config (_GLIBCXX_NOEXCEPT_IF): Define. 2015-07-13 18:15:48 +01:00
unordered_multiset c++config (_GLIBCXX_NOEXCEPT_IF): Define. 2015-07-13 18:15:48 +01:00
unordered_set c++config (_GLIBCXX_NOEXCEPT_IF): Define. 2015-07-13 18:15:48 +01:00
vector stl_algobase.h (__miter_base): Move... 2015-07-16 19:17:26 +00:00