libstdc++: re-bump the feature-test macro for P2562R1 [PR119488]
Now that the algorithms have been merged we can advertise full support for P2562R1. This effectively reverts r15-8933-ga264c270fde292. libstdc++-v3/ChangeLog: PR libstdc++/119488 * include/bits/version.def (constexpr_algorithms): Bump the feature-testing macro. * include/bits/version.h: Regenerate. * testsuite/25_algorithms/cpp_lib_constexpr.cc: Test the bumped value for the feature-testing macro.
This commit is contained in:
parent
aba3018af8
commit
6acfb68dc0
3 changed files with 4 additions and 4 deletions
|
@ -1117,7 +1117,7 @@ ftms = {
|
|||
ftms = {
|
||||
name = constexpr_algorithms;
|
||||
values = {
|
||||
v = 202305;
|
||||
v = 202306;
|
||||
cxxmin = 26;
|
||||
};
|
||||
values = {
|
||||
|
|
|
@ -1257,9 +1257,9 @@
|
|||
|
||||
#if !defined(__cpp_lib_constexpr_algorithms)
|
||||
# if (__cplusplus > 202302L)
|
||||
# define __glibcxx_constexpr_algorithms 202305L
|
||||
# define __glibcxx_constexpr_algorithms 202306L
|
||||
# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_algorithms)
|
||||
# define __cpp_lib_constexpr_algorithms 202305L
|
||||
# define __cpp_lib_constexpr_algorithms 202306L
|
||||
# endif
|
||||
# elif (__cplusplus >= 202002L)
|
||||
# define __glibcxx_constexpr_algorithms 201806L
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#ifndef __cpp_lib_constexpr_algorithms
|
||||
# error "Feature-test macro for constexpr algorithms missing"
|
||||
#elif __cplusplus > 202302L
|
||||
# if __cpp_lib_constexpr_algorithms < 202305L
|
||||
# if __cpp_lib_constexpr_algorithms < 202306L
|
||||
# error "Feature-test macro for constexpr algorithms has wrong value"
|
||||
# endif
|
||||
#elif __cpp_lib_constexpr_algorithms < 201806L
|
||||
|
|
Loading…
Add table
Reference in a new issue