Skip to content

Commit 64c08cf

Browse files
committed
Bump __cpp_lib_concepts
1 parent e307e50 commit 64c08cf

File tree

5 files changed

+16
-16
lines changed

5 files changed

+16
-16
lines changed

libcxx/docs/FeatureTestMacroTable.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ Status
198198
---------------------------------------------------------- -----------------
199199
``__cpp_lib_char8_t`` ``201907L``
200200
---------------------------------------------------------- -----------------
201-
``__cpp_lib_concepts`` ``202002L``
201+
``__cpp_lib_concepts`` ``202207L``
202202
---------------------------------------------------------- -----------------
203203
``__cpp_lib_constexpr_algorithms`` ``201806L``
204204
---------------------------------------------------------- -----------------

libcxx/include/version

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ __cpp_lib_chrono 201611L <chrono>
6060
__cpp_lib_chrono_udls 201304L <chrono>
6161
__cpp_lib_clamp 201603L <algorithm>
6262
__cpp_lib_complex_udls 201309L <complex>
63-
__cpp_lib_concepts 202002L <concepts>
63+
__cpp_lib_concepts 202207L <concepts>
6464
__cpp_lib_constexpr_algorithms 202306L <algorithm> <utility>
6565
201806L // C++20
6666
__cpp_lib_constexpr_bitset 202207L <bitset>
@@ -400,7 +400,7 @@ __cpp_lib_void_t 201411L <type_traits>
400400
# if _LIBCPP_HAS_CHAR8_T
401401
# define __cpp_lib_char8_t 201907L
402402
# endif
403-
# define __cpp_lib_concepts 202002L
403+
# define __cpp_lib_concepts 202207L
404404
# define __cpp_lib_constexpr_algorithms 201806L
405405
# define __cpp_lib_constexpr_complex 201711L
406406
# define __cpp_lib_constexpr_dynamic_alloc 201907L

libcxx/test/std/language.support/support.limits/support.limits.general/concepts.version.compile.pass.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,26 +41,26 @@
4141
# ifndef __cpp_lib_concepts
4242
# error "__cpp_lib_concepts should be defined in c++20"
4343
# endif
44-
# if __cpp_lib_concepts != 202002L
45-
# error "__cpp_lib_concepts should have the value 202002L in c++20"
44+
# if __cpp_lib_concepts != 202207L
45+
# error "__cpp_lib_concepts should have the value 202207L in c++20"
4646
# endif
4747

4848
#elif TEST_STD_VER == 23
4949

5050
# ifndef __cpp_lib_concepts
5151
# error "__cpp_lib_concepts should be defined in c++23"
5252
# endif
53-
# if __cpp_lib_concepts != 202002L
54-
# error "__cpp_lib_concepts should have the value 202002L in c++23"
53+
# if __cpp_lib_concepts != 202207L
54+
# error "__cpp_lib_concepts should have the value 202207L in c++23"
5555
# endif
5656

5757
#elif TEST_STD_VER > 23
5858

5959
# ifndef __cpp_lib_concepts
6060
# error "__cpp_lib_concepts should be defined in c++26"
6161
# endif
62-
# if __cpp_lib_concepts != 202002L
63-
# error "__cpp_lib_concepts should have the value 202002L in c++26"
62+
# if __cpp_lib_concepts != 202207L
63+
# error "__cpp_lib_concepts should have the value 202207L in c++26"
6464
# endif
6565

6666
#endif // TEST_STD_VER > 23

libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3267,8 +3267,8 @@
32673267
# ifndef __cpp_lib_concepts
32683268
# error "__cpp_lib_concepts should be defined in c++20"
32693269
# endif
3270-
# if __cpp_lib_concepts != 202002L
3271-
# error "__cpp_lib_concepts should have the value 202002L in c++20"
3270+
# if __cpp_lib_concepts != 202207L
3271+
# error "__cpp_lib_concepts should have the value 202207L in c++20"
32723272
# endif
32733273

32743274
# ifndef __cpp_lib_constexpr_algorithms
@@ -4704,8 +4704,8 @@
47044704
# ifndef __cpp_lib_concepts
47054705
# error "__cpp_lib_concepts should be defined in c++23"
47064706
# endif
4707-
# if __cpp_lib_concepts != 202002L
4708-
# error "__cpp_lib_concepts should have the value 202002L in c++23"
4707+
# if __cpp_lib_concepts != 202207L
4708+
# error "__cpp_lib_concepts should have the value 202207L in c++23"
47094709
# endif
47104710

47114711
# ifndef __cpp_lib_constexpr_algorithms
@@ -6375,8 +6375,8 @@
63756375
# ifndef __cpp_lib_concepts
63766376
# error "__cpp_lib_concepts should be defined in c++26"
63776377
# endif
6378-
# if __cpp_lib_concepts != 202002L
6379-
# error "__cpp_lib_concepts should have the value 202002L in c++26"
6378+
# if __cpp_lib_concepts != 202207L
6379+
# error "__cpp_lib_concepts should have the value 202207L in c++26"
63806380
# endif
63816381

63826382
# ifndef __cpp_lib_constexpr_algorithms

libcxx/utils/generate_feature_test_macro_components.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ def add_version_header(tc):
320320
},
321321
{
322322
"name": "__cpp_lib_concepts",
323-
"values": {"c++20": 202002},
323+
"values": {"c++20": 202207},
324324
"headers": ["concepts"],
325325
},
326326
{

0 commit comments

Comments
 (0)