gcc/libstdc++-v3/testsuite
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
..
17_intro
18_support
19_diagnostics
20_util Implement N4089 Safe conversions in unique_ptr<T[]> (LWG 2118) and N4366 LWG 2228... 2015-08-08 14:07:34 +03:00
21_strings
22_locale re PR libstdc++/66855 (codecvt wrong endianness in UTF-16 conversions) 2015-07-13 21:07:48 +01:00
23_containers Implement N4279, Improved insertion interface for unique-key maps. 2015-08-09 01:57:13 +03:00
24_iterators * testsuite/24_iterators/container_access.cc: New. 2015-07-29 13:55:58 +01:00
25_algorithms tuple (__is_tuple_like_impl): Disambiguate array in debug and profile modes. 2015-06-12 00:22:19 +01:00
26_numerics 1.cc: Use non-negative rho argument. 2015-06-22 16:09:32 +01:00
27_io
28_regex re PR libstdc++/67015 ("^[a-z0-9][a-z0-9-]*$", std::regex::extended is miscompiled) 2015-07-29 03:45:35 +00:00
29_atomics
30_threads constexpr.cc: Remove redundant -save-temps option. 2015-08-05 21:57:03 +01:00
abi
backward
config
data
decimal
experimental current_path.cc: Use canonical paths for comparisons. 2015-07-30 13:41:33 +01:00
ext c++config (_GLIBCXX_NOEXCEPT_IF): Define. 2015-07-13 18:15:48 +01:00
lib re PR libstdc++/66829 (FAIL: 23_containers/multiset/modifiers/erase/dr130-linkage-check.cc) 2015-07-29 15:56:11 +01:00
libstdc++-abi
libstdc++-dg
libstdc++-prettyprinters
libstdc++-xmethods
performance
tr1 Use atomics in guard.cc. 2015-06-12 09:49:41 +00:00
tr2
util
Makefile.am
Makefile.in libstdc++-v3/fragment.am (AM_CPPFLAGS): Add CPPFLAGS 2015-07-24 07:05:19 +00:00