libstdc++: Update __cplusplus value for C++23 in version.def

libstdc++-v3/ChangeLog:

	* include/bits/version.def (stds): Update value for C++23.
	* include/bits/version.h: Regenerate.
This commit is contained in:
Jonathan Wakely 2023-08-16 17:36:45 +01:00
parent 02ecc9a263
commit 0c316669b0
2 changed files with 37 additions and 37 deletions

View 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"

View file

@ -988,7 +988,7 @@
// 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
@ -1289,7 +1289,7 @@
// 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
@ -1349,7 +1349,7 @@
// 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
@ -1578,7 +1578,7 @@
// 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
@ -1589,7 +1589,7 @@
// 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
@ -1600,7 +1600,7 @@
// 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
@ -1611,7 +1611,7 @@
// 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
@ -1622,7 +1622,7 @@
// 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
@ -1633,7 +1633,7 @@
// 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
@ -1644,7 +1644,7 @@
// 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
@ -1655,7 +1655,7 @@
// 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
@ -1666,7 +1666,7 @@
// 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
@ -1677,7 +1677,7 @@
// 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
@ -1688,7 +1688,7 @@
// 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
@ -1699,7 +1699,7 @@
// 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
@ -1710,7 +1710,7 @@
// 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
@ -1721,7 +1721,7 @@
// 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
@ -1732,7 +1732,7 @@
// 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
@ -1743,7 +1743,7 @@
// 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
@ -1754,7 +1754,7 @@
// 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
@ -1765,7 +1765,7 @@
// 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
@ -1776,7 +1776,7 @@
// 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
@ -1787,7 +1787,7 @@
// 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
@ -1798,7 +1798,7 @@
// 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
@ -1809,7 +1809,7 @@
// 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
@ -1820,7 +1820,7 @@
// 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
@ -1831,7 +1831,7 @@
// 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
@ -1842,7 +1842,7 @@
// 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
@ -1853,7 +1853,7 @@
// 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
@ -1864,7 +1864,7 @@
// 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
@ -1875,7 +1875,7 @@
// 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
@ -1886,7 +1886,7 @@
// 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
@ -1897,7 +1897,7 @@
// 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
@ -1908,7 +1908,7 @@
// 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
@ -1919,7 +1919,7 @@
// 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
@ -1930,7 +1930,7 @@
// 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