aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.cc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2024-11-08 13:58:23 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2024-11-08 14:39:56 +0000
commitb66a57c0ad300b293ebd366bc29f44f2ddb65c69 (patch)
tree8c27b14da8246e4419250d1816a6cf3b9248f46f /gcc/function.cc
parent12383255fe4e82c31f5e42c72a8fbcb1b5dea35d (diff)
downloadgcc-b66a57c0ad300b293ebd366bc29f44f2ddb65c69.zip
gcc-b66a57c0ad300b293ebd366bc29f44f2ddb65c69.tar.gz
gcc-b66a57c0ad300b293ebd366bc29f44f2ddb65c69.tar.bz2
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.
Diffstat (limited to 'gcc/function.cc')
0 files changed, 0 insertions, 0 deletions