aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/utils.cc
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2023-04-18 07:21:09 -0400
committerPatrick Palka <ppalka@redhat.com>2023-04-18 07:21:09 -0400
commit95525c5b8c2d6317b693d441520b7bc808cf9ec7 (patch)
tree6286d564f4a488d530d0743ba4d9dd98054f49b5 /gcc/ada/gcc-interface/utils.cc
parent4ec4ceafcc04ec7bafb1857cf6d491030440a765 (diff)
downloadgcc-95525c5b8c2d6317b693d441520b7bc808cf9ec7.zip
gcc-95525c5b8c2d6317b693d441520b7bc808cf9ec7.tar.gz
gcc-95525c5b8c2d6317b693d441520b7bc808cf9ec7.tar.bz2
libstdc++: Adding missing feature-test macros for C++23 ranges algos
This patch also renames __cpp_lib_fold to __cpp_lib_ranges_fold as per the current draft standard. libstdc++-v3/ChangeLog: * include/bits/ranges_algo.h (__cpp_lib_ranges_contains): Define for C++23. (__cpp_lib_ranges_iota): Likewise. (__cpp_lib_ranges_find_last): Likewise. (__cpp_lib_fold): Rename to ... (__cpp_lib_ranges_fold): ... this. * include/std/version: As above. * testsuite/25_algorithms/fold_left/1.cc: Adjust after renaming __cpp_lib_fold. * testsuite/std/ranges/version_c++23.cc: Verify values of the above feature-test macros.
Diffstat (limited to 'gcc/ada/gcc-interface/utils.cc')
0 files changed, 0 insertions, 0 deletions