]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Update __cplusplus value for C++23 in version.def
authorJonathan Wakely <jwakely@redhat.com>
Wed, 16 Aug 2023 16:36:45 +0000 (17:36 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 16 Aug 2023 17:36:37 +0000 (18:36 +0100)
libstdc++-v3/ChangeLog:

* include/bits/version.def (stds): Update value for C++23.
* include/bits/version.h: Regenerate.

libstdc++-v3/include/bits/version.def
libstdc++-v3/include/bits/version.h

index e63715e17e7b13dfd4bf7a3b975a261ad1a0b83d..1383708b2d7a32f9d095ba9831883af4a910e0fe 100644 (file)
@@ -1590,7 +1590,7 @@ stds[11] = ">= 201103L";
 stds[14] = ">= 201402L";
 stds[17] = ">= 201703L";
 stds[20] = ">= 202002L";
-stds[23] = ">  202002L"; // TODO: update when finalized
+stds[23] = ">= 202302L";
 
 // Local Variables:
 // compile-command: "autogen version.def"
index 5c5e7ff3264a6a69f0da959c6610089f7ad1ed91..e87f0884c9c584c78a47cf61a7e6448def88aaa7 100644 (file)
 
 // from version.def line 806
 #if !defined(__cpp_lib_optional)
-# if (__cplusplus >  202002L) && (__glibcxx_concepts)
+# if (__cplusplus >= 202302L) && (__glibcxx_concepts)
 #  define __glibcxx_optional 202110L
 #  if defined(__glibcxx_want_all) || defined(__glibcxx_want_optional)
 #   define __cpp_lib_optional 202110L
 
 // from version.def line 1046
 #if !defined(__cpp_lib_ranges)
-# if (__cplusplus >  202002L) && (__glibcxx_concepts)
+# if (__cplusplus >= 202302L) && (__glibcxx_concepts)
 #  define __glibcxx_ranges 202202L
 #  if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges)
 #   define __cpp_lib_ranges 202202L
 
 // from version.def line 1092
 #if !defined(__cpp_lib_constexpr_memory)
-# if (__cplusplus >  202002L) && (__cpp_constexpr_dynamic_alloc)
+# if (__cplusplus >= 202302L) && (__cpp_constexpr_dynamic_alloc)
 #  define __glibcxx_constexpr_memory 202202L
 #  if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_memory)
 #   define __cpp_lib_constexpr_memory 202202L
 
 // from version.def line 1307
 #if !defined(__cpp_lib_byteswap)
-# if (__cplusplus >  202002L)
+# if (__cplusplus >= 202302L)
 #  define __glibcxx_byteswap 202110L
 #  if defined(__glibcxx_want_all) || defined(__glibcxx_want_byteswap)
 #   define __cpp_lib_byteswap 202110L
 
 // from version.def line 1315
 #if !defined(__cpp_lib_constexpr_charconv)
-# if (__cplusplus >  202002L)
+# if (__cplusplus >= 202302L)
 #  define __glibcxx_constexpr_charconv 202207L
 #  if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_charconv)
 #   define __cpp_lib_constexpr_charconv 202207L
 
 // from version.def line 1323
 #if !defined(__cpp_lib_constexpr_typeinfo)
-# if (__cplusplus >  202002L)
+# if (__cplusplus >= 202302L)
 #  define __glibcxx_constexpr_typeinfo 202106L
 #  if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_typeinfo)
 #   define __cpp_lib_constexpr_typeinfo 202106L
 
 // from version.def line 1331
 #if !defined(__cpp_lib_expected)
-# if (__cplusplus >  202002L) && (__cpp_concepts >= 202002L)
+# if (__cplusplus >= 202302L) && (__cpp_concepts >= 202002L)
 #  define __glibcxx_expected 202211L
 #  if defined(__glibcxx_want_all) || defined(__glibcxx_want_expected)
 #   define __cpp_lib_expected 202211L
 
 // from version.def line 1340
 #if !defined(__cpp_lib_invoke_r)
-# if (__cplusplus >  202002L)
+# if (__cplusplus >= 202302L)
 #  define __glibcxx_invoke_r 202106L
 #  if defined(__glibcxx_want_all) || defined(__glibcxx_want_invoke_r)
 #   define __cpp_lib_invoke_r 202106L
 
 // from version.def line 1348
 #if !defined(__cpp_lib_is_scoped_enum)
-# if (__cplusplus >  202002L)
+# if (__cplusplus >= 202302L)
 #  define __glibcxx_is_scoped_enum 202011L
 #  if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_scoped_enum)
 #   define __cpp_lib_is_scoped_enum 202011L
 
 // from version.def line 1356
 #if !defined(__cpp_lib_reference_from_temporary)
-# if (__cplusplus >  202002L) && (__has_builtin(__reference_constructs_from_temporary) && __has_builtin(__reference_converts_from_temporary))
+# if (__cplusplus >= 202302L) && (__has_builtin(__reference_constructs_from_temporary) && __has_builtin(__reference_converts_from_temporary))
 #  define __glibcxx_reference_from_temporary 202202L
 #  if defined(__glibcxx_want_all) || defined(__glibcxx_want_reference_from_temporary)
 #   define __cpp_lib_reference_from_temporary 202202L
 
 // from version.def line 1367
 #if !defined(__cpp_lib_to_underlying)
-# if (__cplusplus >  202002L)
+# if (__cplusplus >= 202302L)
 #  define __glibcxx_to_underlying 202102L
 #  if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_underlying)
 #   define __cpp_lib_to_underlying 202102L
 
 // from version.def line 1375
 #if !defined(__cpp_lib_unreachable)
-# if (__cplusplus >  202002L)
+# if (__cplusplus >= 202302L)
 #  define __glibcxx_unreachable 202202L
 #  if defined(__glibcxx_want_all) || defined(__glibcxx_want_unreachable)
 #   define __cpp_lib_unreachable 202202L
 
 // from version.def line 1383
 #if !defined(__cpp_lib_ranges_zip)
-# if (__cplusplus >  202002L)
+# if (__cplusplus >= 202302L)
 #  define __glibcxx_ranges_zip 202110L
 #  if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_zip)
 #   define __cpp_lib_ranges_zip 202110L
 
 // from version.def line 1391
 #if !defined(__cpp_lib_ranges_chunk)
-# if (__cplusplus >  202002L)
+# if (__cplusplus >= 202302L)
 #  define __glibcxx_ranges_chunk 202202L
 #  if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_chunk)
 #   define __cpp_lib_ranges_chunk 202202L
 
 // from version.def line 1399
 #if !defined(__cpp_lib_ranges_slide)
-# if (__cplusplus >  202002L)
+# if (__cplusplus >= 202302L)
 #  define __glibcxx_ranges_slide 202202L
 #  if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_slide)
 #   define __cpp_lib_ranges_slide 202202L
 
 // from version.def line 1407
 #if !defined(__cpp_lib_ranges_chunk_by)
-# if (__cplusplus >  202002L)
+# if (__cplusplus >= 202302L)
 #  define __glibcxx_ranges_chunk_by 202202L
 #  if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_chunk_by)
 #   define __cpp_lib_ranges_chunk_by 202202L
 
 // from version.def line 1415
 #if !defined(__cpp_lib_ranges_join_with)
-# if (__cplusplus >  202002L)
+# if (__cplusplus >= 202302L)
 #  define __glibcxx_ranges_join_with 202202L
 #  if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_join_with)
 #   define __cpp_lib_ranges_join_with 202202L
 
 // from version.def line 1423
 #if !defined(__cpp_lib_ranges_repeat)
-# if (__cplusplus >  202002L)
+# if (__cplusplus >= 202302L)
 #  define __glibcxx_ranges_repeat 202207L
 #  if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_repeat)
 #   define __cpp_lib_ranges_repeat 202207L
 
 // from version.def line 1431
 #if !defined(__cpp_lib_ranges_stride)
-# if (__cplusplus >  202002L)
+# if (__cplusplus >= 202302L)
 #  define __glibcxx_ranges_stride 202207L
 #  if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_stride)
 #   define __cpp_lib_ranges_stride 202207L
 
 // from version.def line 1439
 #if !defined(__cpp_lib_ranges_cartesian_product)
-# if (__cplusplus >  202002L)
+# if (__cplusplus >= 202302L)
 #  define __glibcxx_ranges_cartesian_product 202207L
 #  if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_cartesian_product)
 #   define __cpp_lib_ranges_cartesian_product 202207L
 
 // from version.def line 1447
 #if !defined(__cpp_lib_ranges_as_rvalue)
-# if (__cplusplus >  202002L)
+# if (__cplusplus >= 202302L)
 #  define __glibcxx_ranges_as_rvalue 202207L
 #  if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_as_rvalue)
 #   define __cpp_lib_ranges_as_rvalue 202207L
 
 // from version.def line 1455
 #if !defined(__cpp_lib_ranges_as_const)
-# if (__cplusplus >  202002L)
+# if (__cplusplus >= 202302L)
 #  define __glibcxx_ranges_as_const 202207L
 #  if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_as_const)
 #   define __cpp_lib_ranges_as_const 202207L
 
 // from version.def line 1463
 #if !defined(__cpp_lib_ranges_enumerate)
-# if (__cplusplus >  202002L)
+# if (__cplusplus >= 202302L)
 #  define __glibcxx_ranges_enumerate 202302L
 #  if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_enumerate)
 #   define __cpp_lib_ranges_enumerate 202302L
 
 // from version.def line 1471
 #if !defined(__cpp_lib_ranges_fold)
-# if (__cplusplus >  202002L)
+# if (__cplusplus >= 202302L)
 #  define __glibcxx_ranges_fold 202207L
 #  if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_fold)
 #   define __cpp_lib_ranges_fold 202207L
 
 // from version.def line 1479
 #if !defined(__cpp_lib_ranges_contains)
-# if (__cplusplus >  202002L)
+# if (__cplusplus >= 202302L)
 #  define __glibcxx_ranges_contains 202207L
 #  if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_contains)
 #   define __cpp_lib_ranges_contains 202207L
 
 // from version.def line 1487
 #if !defined(__cpp_lib_ranges_iota)
-# if (__cplusplus >  202002L)
+# if (__cplusplus >= 202302L)
 #  define __glibcxx_ranges_iota 202202L
 #  if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_iota)
 #   define __cpp_lib_ranges_iota 202202L
 
 // from version.def line 1495
 #if !defined(__cpp_lib_ranges_find_last)
-# if (__cplusplus >  202002L)
+# if (__cplusplus >= 202302L)
 #  define __glibcxx_ranges_find_last 202207L
 #  if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_find_last)
 #   define __cpp_lib_ranges_find_last 202207L
 
 // from version.def line 1503
 #if !defined(__cpp_lib_constexpr_bitset)
-# if (__cplusplus >  202002L) && _GLIBCXX_HOSTED && (__cpp_constexpr_dynamic_alloc)
+# if (__cplusplus >= 202302L) && _GLIBCXX_HOSTED && (__cpp_constexpr_dynamic_alloc)
 #  define __glibcxx_constexpr_bitset 202202L
 #  if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_bitset)
 #   define __cpp_lib_constexpr_bitset 202202L
 
 // from version.def line 1513
 #if !defined(__cpp_lib_stdatomic_h)
-# if (__cplusplus >  202002L)
+# if (__cplusplus >= 202302L)
 #  define __glibcxx_stdatomic_h 202011L
 #  if defined(__glibcxx_want_all) || defined(__glibcxx_want_stdatomic_h)
 #   define __cpp_lib_stdatomic_h 202011L
 
 // from version.def line 1521
 #if !defined(__cpp_lib_adaptor_iterator_pair_constructor)
-# if (__cplusplus >  202002L) && _GLIBCXX_HOSTED
+# if (__cplusplus >= 202302L) && _GLIBCXX_HOSTED
 #  define __glibcxx_adaptor_iterator_pair_constructor 202106L
 #  if defined(__glibcxx_want_all) || defined(__glibcxx_want_adaptor_iterator_pair_constructor)
 #   define __cpp_lib_adaptor_iterator_pair_constructor 202106L
 
 // from version.def line 1530
 #if !defined(__cpp_lib_ios_noreplace)
-# if (__cplusplus >  202002L) && _GLIBCXX_HOSTED
+# if (__cplusplus >= 202302L) && _GLIBCXX_HOSTED
 #  define __glibcxx_ios_noreplace 202207L
 #  if defined(__glibcxx_want_all) || defined(__glibcxx_want_ios_noreplace)
 #   define __cpp_lib_ios_noreplace 202207L
 
 // from version.def line 1539
 #if !defined(__cpp_lib_move_only_function)
-# if (__cplusplus >  202002L) && _GLIBCXX_HOSTED
+# if (__cplusplus >= 202302L) && _GLIBCXX_HOSTED
 #  define __glibcxx_move_only_function 202110L
 #  if defined(__glibcxx_want_all) || defined(__glibcxx_want_move_only_function)
 #   define __cpp_lib_move_only_function 202110L
 
 // from version.def line 1548
 #if !defined(__cpp_lib_spanstream)
-# if (__cplusplus >  202002L) && _GLIBCXX_HOSTED && (__glibcxx_span)
+# if (__cplusplus >= 202302L) && _GLIBCXX_HOSTED && (__glibcxx_span)
 #  define __glibcxx_spanstream 202106L
 #  if defined(__glibcxx_want_all) || defined(__glibcxx_want_spanstream)
 #   define __cpp_lib_spanstream 202106L
 
 // from version.def line 1558
 #if !defined(__cpp_lib_stacktrace)
-# if (__cplusplus >  202002L) && _GLIBCXX_HOSTED && (_GLIBCXX_HAVE_STACKTRACE)
+# if (__cplusplus >= 202302L) && _GLIBCXX_HOSTED && (_GLIBCXX_HAVE_STACKTRACE)
 #  define __glibcxx_stacktrace 202011L
 #  if defined(__glibcxx_want_all) || defined(__glibcxx_want_stacktrace)
 #   define __cpp_lib_stacktrace 202011L
 
 // from version.def line 1568
 #if !defined(__cpp_lib_string_contains)
-# if (__cplusplus >  202002L) && _GLIBCXX_HOSTED
+# if (__cplusplus >= 202302L) && _GLIBCXX_HOSTED
 #  define __glibcxx_string_contains 202011L
 #  if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_contains)
 #   define __cpp_lib_string_contains 202011L
 
 // from version.def line 1577
 #if !defined(__cpp_lib_string_resize_and_overwrite)
-# if (__cplusplus >  202002L) && _GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED
+# if (__cplusplus >= 202302L) && _GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED
 #  define __glibcxx_string_resize_and_overwrite 202110L
 #  if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_resize_and_overwrite)
 #   define __cpp_lib_string_resize_and_overwrite 202110L