gcc/libstdc++-v3/testsuite/17_intro
Jonathan Wakely b66a57c0ad
libstdc++: Do not define _Insert_base::try_emplace before C++17
This is not a reserved name in C++11 and C++14, so must not be defined.

Also use the appropriate feature test macros for the try_emplace members
of the Debug Mode maps.

libstdc++-v3/ChangeLog:

	* include/bits/hashtable_policy.h (_Insert_base::try_emplace):
	Do not define for C++11 and C++14.
	* include/debug/map.h (try_emplace): Use feature test macro.
	* include/debug/unordered_map (try_emplace): Likewise.
	* testsuite/17_intro/names.cc: Define try_emplace before C++17.
2024-11-08 14:39:56 +00:00
..
headers libstdc++: Remove redundant 17_intro/headers tests 2024-07-06 21:16:53 +01:00
badnames.cc
freestanding.cc
names_fortify.cc libstdc++: testsuite: adjust name_fortify test for pre-defined _FORTIFY_SOURCE 2024-10-13 23:22:11 +01:00
names_pstl.cc
names.cc libstdc++: Do not define _Insert_base::try_emplace before C++17 2024-11-08 14:39:56 +00:00
no_library_allocation.cc
shared_with_static_deps.cc
static.cc
tag_type_explicit_ctor.cc
using_namespace_std_exp_neg.cc
using_namespace_std_tr1_neg.cc
using_namespace_std.cc
versionconflict.cc