Skip to content

Commit c1b827d

Browse files
feature macros
1 parent 8b84759 commit c1b827d

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

libcxx/docs/FeatureTestMacroTable.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -420,12 +420,12 @@ Status
420420
---------------------------------------------------------- -----------------
421421
``__cpp_lib_constexpr_algorithms`` ``202306L``
422422
---------------------------------------------------------- -----------------
423-
``__cpp_lib_constexpr_map`` ``202502L``
424-
---------------------------------------------------------- -----------------
425423
``__cpp_lib_constexpr_forward_list`` ``202502L``
426424
---------------------------------------------------------- -----------------
427425
``__cpp_lib_constexpr_list`` ``202502L``
428426
---------------------------------------------------------- -----------------
427+
``__cpp_lib_constexpr_map`` ``202502L``
428+
---------------------------------------------------------- -----------------
429429
``__cpp_lib_constexpr_new`` ``202406L``
430430
---------------------------------------------------------- -----------------
431431
``__cpp_lib_constexpr_queue`` ``202502L``

libcxx/include/version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,7 @@ __cpp_lib_void_t 201411L <type_traits>
548548
# define __cpp_lib_constexpr_algorithms 202306L
549549
# define __cpp_lib_constexpr_forward_list 202502L
550550
# define __cpp_lib_constexpr_list 202502L
551+
# define __cpp_lib_constexpr_map 202502L
551552
# if !defined(_LIBCPP_ABI_VCRUNTIME)
552553
# define __cpp_lib_constexpr_new 202406L
553554
# endif

libcxx/utils/generate_feature_test_macro_components.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -373,14 +373,14 @@ def add_version_header(tc):
373373
"headers": ["iterator"],
374374
},
375375
{
376-
"name": "__cpp_lib_constexpr_map",
376+
"name": "__cpp_lib_constexpr_list",
377377
"values": {"c++26": 202502},
378-
"headers": ["map"],
378+
"headers": ["list"],
379379
},
380380
{
381-
"name": "__cpp_lib_constexpr_list",
381+
"name": "__cpp_lib_constexpr_map",
382382
"values": {"c++26": 202502},
383-
"headers": ["list"],
383+
"headers": ["map"],
384384
},
385385
{
386386
"name": "__cpp_lib_constexpr_memory",

0 commit comments

Comments
 (0)