gcc/libstdc++-v3/include/bits
Jonathan Wakely e469f9003d libstdc++: Use 202100L as feature test check for C++23
I noticed that our C++23 features were not being defined when using
Clang 16 with -std=c++2b, because it only defines __cplusplus=202101L
but <bits/version.h> uses 202302L since my r14-3252-g0c316669b092fb
change.

This changes <bits/version.h> to use 202100 instead of the final 202302
value so that we support Clang 16's -std=c++2b mode.

libstdc++-v3/ChangeLog:

	* include/bits/version.def (stds): Use >= 202100 for C++23
	condition.
	* include/bits/version.h: Regenerate.
	* include/std/thread: Use > C++20 instead of >= C++23 for
	__cplusplus condition.
2023-11-16 08:00:36 +00:00
..
algorithmfwd.h libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
align.h libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
alloc_traits.h libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
allocated_ptr.h Update copyright years. 2023-01-16 11:52:17 +01:00
allocator.h libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
atomic_base.h libstdc++: Use a loop in atomic_ref::compare_exchange_strong [PR111077] 2023-09-01 16:01:18 +01:00
atomic_futex.h Update copyright years. 2023-01-16 11:52:17 +01:00
atomic_timed_wait.h Update copyright years. 2023-01-16 11:52:17 +01:00
atomic_wait.h libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
basic_ios.h libstdc++: Enforce value_type consistency in strings and streams 2023-05-11 21:15:22 +01:00
basic_ios.tcc Update copyright years. 2023-01-16 11:52:17 +01:00
basic_string.h libstdc++: Split std::basic_string::_M_use_local_data into two functions 2023-10-21 11:54:00 +01:00
basic_string.tcc libstdc++: Split std::basic_string::_M_use_local_data into two functions 2023-10-21 11:54:00 +01:00
boost_concept_check.h Update copyright years. 2023-01-16 11:52:17 +01:00
c++0x_warning.h Update copyright years. 2023-01-16 11:52:17 +01:00
c++config libstdc++: Define _GLIBCXX_USE_BUILTIN_TRAIT 2023-09-11 08:11:24 -07:00
char_traits.h libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
charconv.h Update copyright years. 2023-01-16 11:52:17 +01:00
chrono.h libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
chrono_io.h libstdc++: Fix how chrono::parse handles errors for time-of-day values 2023-09-01 09:55:48 +01:00
codecvt.h Update copyright years. 2023-01-16 11:52:17 +01:00
concept_check.h Update copyright years. 2023-01-16 11:52:17 +01:00
cow_string.h libstdc++: Define std::string::resize_and_overwrite for C++11 and COW string 2023-08-17 20:24:17 +01:00
cpp_type_traits.h Update copyright years. 2023-01-16 11:52:17 +01:00
deque.tcc Update copyright years. 2023-01-16 11:52:17 +01:00
enable_special_members.h Update copyright years. 2023-01-16 11:52:17 +01:00
erase_if.h libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
forward_list.h libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
forward_list.tcc Update copyright years. 2023-01-16 11:52:17 +01:00
fs_dir.h libstdc++: Fix formatting of filesystem directory iterators 2023-10-21 11:54:00 +01:00
fs_fwd.h Update copyright years. 2023-01-16 11:52:17 +01:00
fs_ops.h libstdc++: Fix uses of non-reserved names in headers 2023-02-16 10:24:45 +00:00
fs_path.h libstdc++: Add @headerfile and @since to doxygen comments [PR40380] 2023-04-27 11:28:39 +01:00
fstream.tcc Update copyright years. 2023-01-16 11:52:17 +01:00
functexcept.h Add cold attribute to throw wrappers and terminate 2023-06-28 11:47:11 +02:00
functional_hash.h Update copyright years. 2023-01-16 11:52:17 +01:00
gslice.h Update copyright years. 2023-01-16 11:52:17 +01:00
gslice_array.h libstdc++: Reduce Doxygen output for PDF 2023-04-27 11:28:39 +01:00
hashtable.h libstdc++: [_Hashtable] Use RAII type to manage rehash functor state 2023-11-09 19:16:35 +01:00
hashtable_policy.h libstdc++: [_Hashtable] Use RAII type to manage rehash functor state 2023-11-09 19:16:35 +01:00
indirect_array.h libstdc++: Reduce Doxygen output for PDF 2023-04-27 11:28:39 +01:00
invoke.h Update copyright years. 2023-01-16 11:52:17 +01:00
ios_base.h libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
istream.tcc libstdc++: Do not use facets cached in ios for ATL128 build [PR103387] 2023-03-28 23:51:47 +01:00
iterator_concepts.h libstdc++: Simplify C++20 poison pill overloads (P2602R2) 2023-09-07 08:08:12 +01:00
list.tcc libstdc++: Fix a -Wsign-compare warning in std::list 2023-08-09 15:19:16 +01:00
locale_classes.h Update copyright years. 2023-01-16 11:52:17 +01:00
locale_classes.tcc libstdc++: Do not assume existence of char8_t codecvt facet 2023-06-06 12:43:47 +01:00
locale_conv.h Update copyright years. 2023-01-16 11:52:17 +01:00
locale_facets.h Update copyright years. 2023-01-16 11:52:17 +01:00
locale_facets.tcc Update copyright years. 2023-01-16 11:52:17 +01:00
locale_facets_nonio.h Update copyright years. 2023-01-16 11:52:17 +01:00
locale_facets_nonio.tcc Update copyright years. 2023-01-16 11:52:17 +01:00
localefwd.h Update copyright years. 2023-01-16 11:52:17 +01:00
mask_array.h libstdc++: Reduce Doxygen output for PDF 2023-04-27 11:28:39 +01:00
max_size_type.h libstdc++: Fix __max_diff_type::operator>>= for negative values 2023-04-24 13:39:54 -04:00
memory_resource.h libstdc++: Improve doxygen docs for <memory_resource> 2023-04-27 11:28:39 +01:00
memoryfwd.h libstdc++: declare std::allocator in !HOSTED as an extension 2023-11-10 00:10:51 +01:00
mofunc_impl.h libstdc++: Fix typos in doxygen comments 2023-04-27 11:28:40 +01:00
move.h libstdc++: Define C++23 std::forward_like (P2445R1) 2023-09-25 09:48:44 +01:00
move_only_function.h libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
new_allocator.h libstdc++: Explicitly default some copy ctors and assignments 2023-08-09 15:19:15 +01:00
node_handle.h libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
ostream.tcc libstdc++: Do not use facets cached in ios for ATL128 build [PR103387] 2023-03-28 23:51:47 +01:00
ostream_insert.h Update copyright years. 2023-01-16 11:52:17 +01:00
parse_numbers.h Update copyright years. 2023-01-16 11:52:17 +01:00
postypes.h Update copyright years. 2023-01-16 11:52:17 +01:00
predefined_ops.h Update copyright years. 2023-01-16 11:52:17 +01:00
ptr_traits.h libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
quoted_string.h libstdc++: Add @headerfile and @since to doxygen comments [PR40380] 2023-04-27 11:28:39 +01:00
random.h libstdc++: Stop using _GLIBCXX_USE_C99_MATH_TR1 in <cmath> 2023-05-31 21:01:16 +01:00
random.tcc libstdc++: Stop using _GLIBCXX_USE_C99_MATH_TR1 in <cmath> 2023-05-31 21:01:16 +01:00
range_access.h libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
ranges_algo.h libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
ranges_algobase.h Update copyright years. 2023-01-16 11:52:17 +01:00
ranges_base.h libstdc++: Simplify C++20 poison pill overloads (P2602R2) 2023-09-07 08:08:12 +01:00
ranges_cmp.h libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
ranges_uninitialized.h Update copyright years. 2023-01-16 11:52:17 +01:00
ranges_util.h libstdc++: Implement P2278R4 "cbegin should always return a constant iterator" 2023-04-14 10:32:12 -04:00
refwrap.h Update copyright years. 2023-01-16 11:52:17 +01:00
regex.h libstdc++: Implement P2770R0 changes to join_view / join_with_view 2023-08-17 12:56:32 -04:00
regex.tcc libstdc++: Minor fixes to doxygen comments 2023-04-28 13:05:51 +01:00
regex_automaton.h libstdc++: Fix uses of non-reserved names in headers 2023-02-16 10:24:45 +00:00
regex_automaton.tcc libstdc++: Fix uses of non-reserved names in headers 2023-02-16 10:24:45 +00:00
regex_compiler.h Update copyright years. 2023-01-16 11:52:17 +01:00
regex_compiler.tcc Update copyright years. 2023-01-16 11:52:17 +01:00
regex_constants.h Update copyright years. 2023-01-16 11:52:17 +01:00
regex_error.h Update copyright years. 2023-01-16 11:52:17 +01:00
regex_executor.h Update copyright years. 2023-01-16 11:52:17 +01:00
regex_executor.tcc libstdc++: Fix some -Wunused-parameter warnings 2023-08-09 15:19:15 +01:00
regex_scanner.h Update copyright years. 2023-01-16 11:52:17 +01:00
regex_scanner.tcc libstdc++: Fix uses of non-reserved names in headers 2023-02-16 10:24:45 +00:00
requires_hosted.h libstdc++: Mark headers that must be hosted as such [PR103626] 2022-10-03 15:43:48 +01:00
semaphore_base.h Update copyright years. 2023-01-16 11:52:17 +01:00
shared_ptr.h libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
shared_ptr_atomic.h libstdc++: Deprecate std::atomic_xxx overloads for std::shared_ptr 2023-11-11 00:41:08 +00:00
shared_ptr_base.h libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
slice_array.h libstdc++: Reduce Doxygen output for PDF 2023-04-27 11:28:39 +01:00
specfun.h libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
sstream.tcc Update copyright years. 2023-01-16 11:52:17 +01:00
std_abs.h libstdc++: Fix std::abs(__float128) for -NaN and -0.0 [PR109758] 2023-05-11 12:16:21 +01:00
std_function.h Update copyright years. 2023-01-16 11:52:17 +01:00
std_mutex.h libstdc++: Add [[nodiscard]] to lock types 2023-11-11 00:41:08 +00:00
std_thread.h link pthread_join from std::thread ctor 2023-03-03 16:06:44 -03:00
stl_algo.h libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
stl_algobase.h libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
stl_bvector.h Revert "libstdc++: bvector: undef always_inline macro" 2023-11-15 01:45:58 -03:00
stl_construct.h libstdc++: Qualify calls to std::_Destroy and _Destroy_aux 2023-07-04 00:05:53 +01:00
stl_deque.h Update copyright years. 2023-01-16 11:52:17 +01:00
stl_function.h libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
stl_heap.h Update copyright years. 2023-01-16 11:52:17 +01:00
stl_iterator.h libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
stl_iterator_base_funcs.h Update copyright years. 2023-01-16 11:52:17 +01:00
stl_iterator_base_types.h libstdc++: Use alias template for iterator_category [PR110970] 2023-08-10 23:31:37 +01:00
stl_list.h libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
stl_map.h libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
stl_multimap.h libstdc++: Add @headerfile and @since to doxygen comments [PR40380] 2023-04-27 11:28:39 +01:00
stl_multiset.h libstdc++: Add @headerfile and @since to doxygen comments [PR40380] 2023-04-27 11:28:39 +01:00
stl_numeric.h Update copyright years. 2023-01-16 11:52:17 +01:00
stl_pair.h libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
stl_queue.h libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
stl_raw_storage_iter.h Update copyright years. 2023-01-16 11:52:17 +01:00
stl_relops.h Update copyright years. 2023-01-16 11:52:17 +01:00
stl_set.h libstdc++: Add @headerfile and @since to doxygen comments [PR40380] 2023-04-27 11:28:39 +01:00
stl_stack.h libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
stl_tempbuf.h Update copyright years. 2023-01-16 11:52:17 +01:00
stl_tree.h libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
stl_uninitialized.h libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
stl_vector.h libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
stream_iterator.h libstdc++: Make std::istream_iterator copy ctor constexpr (LWG 3600) 2023-03-22 17:48:19 +00:00
streambuf.tcc Update copyright years. 2023-01-16 11:52:17 +01:00
streambuf_iterator.h libstdc++: Fix some -Wunused-parameter warnings 2023-08-09 15:19:15 +01:00
string_view.tcc Update copyright years. 2023-01-16 11:52:17 +01:00
stringfwd.h Update copyright years. 2023-01-16 11:52:17 +01:00
this_thread_sleep.h Update copyright years. 2023-01-16 11:52:17 +01:00
uniform_int_dist.h libstdc++: Improve doxygen docs for <random> 2023-04-28 13:05:51 +01:00
unique_lock.h libstdc++: Add [[nodiscard]] to lock types 2023-11-11 00:41:08 +00:00
unique_ptr.h libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
unordered_map.h libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
unordered_set.h libstdc++: Add @headerfile and @since to doxygen comments [PR40380] 2023-04-27 11:28:39 +01:00
uses_allocator.h libstdc++: Fix some -Wunused-parameter warnings 2023-08-09 15:19:15 +01:00
uses_allocator_args.h libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
utility.h libstdc++: Add static_assert to std::integer_sequence [PR112473] 2023-11-11 00:41:09 +00:00
valarray_after.h Update copyright years. 2023-01-16 11:52:17 +01:00
valarray_array.h Update copyright years. 2023-01-16 11:52:17 +01:00
valarray_array.tcc Update copyright years. 2023-01-16 11:52:17 +01:00
valarray_before.h Update copyright years. 2023-01-16 11:52:17 +01:00
vector.tcc libstdc++: fix memory clobbering in std::vector [PR110879] 2023-09-01 16:01:23 +01:00
version.def libstdc++: Use 202100L as feature test check for C++23 2023-11-16 08:00:36 +00:00
version.h libstdc++: Use 202100L as feature test check for C++23 2023-11-16 08:00:36 +00:00
version.tpl libstdc++: Implement more maintainable <version> header 2023-08-16 15:16:25 +02:00