gcc/libstdc++-v3/include/debug
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
..
array libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
assertions.h libstdc++: Enable more debug assertions during constant evaluation [PR111250] 2024-06-27 09:39:40 +01:00
bitset libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
debug.h non-gcc: Remove trailing whitespace 2024-10-25 10:03:17 +02:00
deque libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
formatter.h
forward_list libstdc++: Add P1206R7 from_range members to std::list and std::forward_list [PR111055] 2024-11-01 20:36:33 +00:00
functions.h
helper_functions.h libstdc++: Remove std::__is_void class template [PR115497] 2024-06-21 17:07:00 +01:00
list libstdc++: Add P1206R7 from_range members to std::list and std::forward_list [PR111055] 2024-11-01 20:36:33 +00:00
macros.h
map libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
map.h libstdc++: Do not define _Insert_base::try_emplace before C++17 2024-11-08 14:39:56 +00:00
multimap.h
multiset.h
safe_base.h libstdc++: Make debug sequence members mutable [PR116369] 2024-08-23 13:18:20 +01:00
safe_container.h
safe_iterator.h libstdc++: Avoid using std::__to_address with iterators 2024-10-22 17:08:32 +01:00
safe_iterator.tcc libstdc++: Fix N3344 behavior on _Safe_iterator::_M_can_advance 2024-03-18 22:30:55 +01:00
safe_local_iterator.h
safe_local_iterator.tcc libstdc++: Fix _Safe_local_iterator<>::_M_valid_range 2024-03-18 22:25:57 +01:00
safe_sequence.h
safe_sequence.tcc
safe_unordered_base.h
safe_unordered_container.h
safe_unordered_container.tcc
set libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
set.h
stl_iterator.h
string libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
unordered_map libstdc++: Do not define _Insert_base::try_emplace before C++17 2024-11-08 14:39:56 +00:00
unordered_set libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
vector libstdc++: Add P1206R7 from_range members to std::vector [PR111055] 2024-10-27 20:09:31 +00:00