libstdc++
version.h
Go to the documentation of this file.
1// Copyright (C) 2023-2025 Free Software Foundation, Inc.
2
3// This file is part of the GNU ISO C++ Library. This library is free
4// software; you can redistribute it and/or modify it under the
5// terms of the GNU General Public License as published by the
6// Free Software Foundation; either version 3, or (at your option)
7// any later version.
8
9// This library is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// Under Section 7 of GPL version 3, you are granted additional
15// permissions described in the GCC Runtime Library Exception, version
16// 3.1, as published by the Free Software Foundation.
17
18// You should have received a copy of the GNU General Public License and
19// a copy of the GCC Runtime Library Exception along with this program;
20// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
21// <http://www.gnu.org/licenses/>.
22
23// DO NOT EDIT THIS FILE (version.h)
24//
25// It has been AutoGen-ed
26// From the definitions version.def
27// and the template file version.tpl
28
29/** @file bits/version.h
30 * This is an internal header file, included by other library headers.
31 * Do not attempt to use it directly. @headername{version}
32 */
33
34// Usage guide:
35//
36// In your usual header, do something like:
37//
38// #define __glibcxx_want_ranges
39// #define __glibcxx_want_concepts
40// #include <bits/version.h>
41//
42// This will generate the FTMs you named, and let you use them in your code as
43// if it was user code. All macros are also exposed under __glibcxx_NAME even
44// if unwanted, to permit bits and other FTMs to depend on them for condtional
45// computation without exposing extra FTMs to user code.
46
47#ifdef _GLIBCXX_SYSHDR
48#pragma GCC system_header
49#endif
50
51#include <bits/c++config.h>
52
53#if !defined(__cpp_lib_incomplete_container_elements)
54# if _GLIBCXX_HOSTED
55# define __glibcxx_incomplete_container_elements 201505L
56# if defined(__glibcxx_want_all) || defined(__glibcxx_want_incomplete_container_elements)
57# define __cpp_lib_incomplete_container_elements 201505L
58# endif
59# endif
60#endif /* !defined(__cpp_lib_incomplete_container_elements) && defined(__glibcxx_want_incomplete_container_elements) */
61#undef __glibcxx_want_incomplete_container_elements
62
63#if !defined(__cpp_lib_uncaught_exceptions)
64# if ((defined(__STRICT_ANSI__) && __cplusplus >= 201703L) || (!defined(__STRICT_ANSI__) && __cplusplus >= 199711L))
65# define __glibcxx_uncaught_exceptions 201411L
66# if defined(__glibcxx_want_all) || defined(__glibcxx_want_uncaught_exceptions)
67# define __cpp_lib_uncaught_exceptions 201411L
68# endif
69# endif
70#endif /* !defined(__cpp_lib_uncaught_exceptions) && defined(__glibcxx_want_uncaught_exceptions) */
71#undef __glibcxx_want_uncaught_exceptions
72
73#if !defined(__cpp_lib_allocator_traits_is_always_equal)
74# if (__cplusplus >= 201103L)
75# define __glibcxx_allocator_traits_is_always_equal 201411L
76# if defined(__glibcxx_want_all) || defined(__glibcxx_want_allocator_traits_is_always_equal)
77# define __cpp_lib_allocator_traits_is_always_equal 201411L
78# endif
79# endif
80#endif /* !defined(__cpp_lib_allocator_traits_is_always_equal) && defined(__glibcxx_want_allocator_traits_is_always_equal) */
81#undef __glibcxx_want_allocator_traits_is_always_equal
82
83#if !defined(__cpp_lib_is_null_pointer)
84# if (__cplusplus >= 201103L)
85# define __glibcxx_is_null_pointer 201309L
86# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_null_pointer)
87# define __cpp_lib_is_null_pointer 201309L
88# endif
89# endif
90#endif /* !defined(__cpp_lib_is_null_pointer) && defined(__glibcxx_want_is_null_pointer) */
91#undef __glibcxx_want_is_null_pointer
92
93#if !defined(__cpp_lib_result_of_sfinae)
94# if (__cplusplus >= 201103L)
95# define __glibcxx_result_of_sfinae 201210L
96# if defined(__glibcxx_want_all) || defined(__glibcxx_want_result_of_sfinae)
97# define __cpp_lib_result_of_sfinae 201210L
98# endif
99# endif
100#endif /* !defined(__cpp_lib_result_of_sfinae) && defined(__glibcxx_want_result_of_sfinae) */
101#undef __glibcxx_want_result_of_sfinae
102
103#if !defined(__cpp_lib_shared_ptr_arrays)
104# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
105# define __glibcxx_shared_ptr_arrays 201707L
106# if defined(__glibcxx_want_all) || defined(__glibcxx_want_shared_ptr_arrays)
107# define __cpp_lib_shared_ptr_arrays 201707L
108# endif
109# elif (__cplusplus >= 201103L) && _GLIBCXX_HOSTED
110# define __glibcxx_shared_ptr_arrays 201611L
111# if defined(__glibcxx_want_all) || defined(__glibcxx_want_shared_ptr_arrays)
112# define __cpp_lib_shared_ptr_arrays 201611L
113# endif
114# endif
115#endif /* !defined(__cpp_lib_shared_ptr_arrays) && defined(__glibcxx_want_shared_ptr_arrays) */
116#undef __glibcxx_want_shared_ptr_arrays
117
118#if !defined(__cpp_lib_is_swappable)
119# if ((defined(__STRICT_ANSI__) && __cplusplus >= 201703L) || (!defined(__STRICT_ANSI__) && __cplusplus >= 201103L))
120# define __glibcxx_is_swappable 201603L
121# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_swappable)
122# define __cpp_lib_is_swappable 201603L
123# endif
124# endif
125#endif /* !defined(__cpp_lib_is_swappable) && defined(__glibcxx_want_is_swappable) */
126#undef __glibcxx_want_is_swappable
127
128#if !defined(__cpp_lib_void_t)
129# if ((defined(__STRICT_ANSI__) && __cplusplus >= 201703L) || (!defined(__STRICT_ANSI__) && __cplusplus >= 201103L))
130# define __glibcxx_void_t 201411L
131# if defined(__glibcxx_want_all) || defined(__glibcxx_want_void_t)
132# define __cpp_lib_void_t 201411L
133# endif
134# endif
135#endif /* !defined(__cpp_lib_void_t) && defined(__glibcxx_want_void_t) */
136#undef __glibcxx_want_void_t
137
138#if !defined(__cpp_lib_enable_shared_from_this)
139# if ((defined(__STRICT_ANSI__) && __cplusplus >= 201703L) || (!defined(__STRICT_ANSI__) && __cplusplus >= 201103L)) && _GLIBCXX_HOSTED
140# define __glibcxx_enable_shared_from_this 201603L
141# if defined(__glibcxx_want_all) || defined(__glibcxx_want_enable_shared_from_this)
142# define __cpp_lib_enable_shared_from_this 201603L
143# endif
144# endif
145#endif /* !defined(__cpp_lib_enable_shared_from_this) && defined(__glibcxx_want_enable_shared_from_this) */
146#undef __glibcxx_want_enable_shared_from_this
147
148#if !defined(__cpp_lib_math_spec_funcs)
149# if (__cplusplus >= 201103L)
150# define __glibcxx_math_spec_funcs 201003L
151# if defined(__glibcxx_want_all) || defined(__glibcxx_want_math_spec_funcs)
152# define __STDCPP_MATH_SPEC_FUNCS__ 201003L
153# endif
154# endif
155#endif /* !defined(__cpp_lib_math_spec_funcs) && defined(__glibcxx_want_math_spec_funcs) */
156#undef __glibcxx_want_math_spec_funcs
157
158#if !defined(__cpp_lib_coroutine)
159# if (__cplusplus >= 201402L) && (__cpp_impl_coroutine)
160# define __glibcxx_coroutine 201902L
161# if defined(__glibcxx_want_all) || defined(__glibcxx_want_coroutine)
162# define __cpp_lib_coroutine 201902L
163# endif
164# endif
165#endif /* !defined(__cpp_lib_coroutine) && defined(__glibcxx_want_coroutine) */
166#undef __glibcxx_want_coroutine
167
168#if !defined(__cpp_lib_exchange_function)
169# if (__cplusplus >= 201402L)
170# define __glibcxx_exchange_function 201304L
171# if defined(__glibcxx_want_all) || defined(__glibcxx_want_exchange_function)
172# define __cpp_lib_exchange_function 201304L
173# endif
174# endif
175#endif /* !defined(__cpp_lib_exchange_function) && defined(__glibcxx_want_exchange_function) */
176#undef __glibcxx_want_exchange_function
177
178#if !defined(__cpp_lib_integer_sequence)
179# if (__cplusplus >= 201402L)
180# define __glibcxx_integer_sequence 201304L
181# if defined(__glibcxx_want_all) || defined(__glibcxx_want_integer_sequence)
182# define __cpp_lib_integer_sequence 201304L
183# endif
184# endif
185#endif /* !defined(__cpp_lib_integer_sequence) && defined(__glibcxx_want_integer_sequence) */
186#undef __glibcxx_want_integer_sequence
187
188#if !defined(__cpp_lib_integral_constant_callable)
189# if (__cplusplus >= 201402L)
190# define __glibcxx_integral_constant_callable 201304L
191# if defined(__glibcxx_want_all) || defined(__glibcxx_want_integral_constant_callable)
192# define __cpp_lib_integral_constant_callable 201304L
193# endif
194# endif
195#endif /* !defined(__cpp_lib_integral_constant_callable) && defined(__glibcxx_want_integral_constant_callable) */
196#undef __glibcxx_want_integral_constant_callable
197
198#if !defined(__cpp_lib_is_final)
199# if (__cplusplus >= 201402L)
200# define __glibcxx_is_final 201402L
201# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_final)
202# define __cpp_lib_is_final 201402L
203# endif
204# endif
205#endif /* !defined(__cpp_lib_is_final) && defined(__glibcxx_want_is_final) */
206#undef __glibcxx_want_is_final
207
208#if !defined(__cpp_lib_make_reverse_iterator)
209# if (__cplusplus >= 201402L)
210# define __glibcxx_make_reverse_iterator 201402L
211# if defined(__glibcxx_want_all) || defined(__glibcxx_want_make_reverse_iterator)
212# define __cpp_lib_make_reverse_iterator 201402L
213# endif
214# endif
215#endif /* !defined(__cpp_lib_make_reverse_iterator) && defined(__glibcxx_want_make_reverse_iterator) */
216#undef __glibcxx_want_make_reverse_iterator
217
218#if !defined(__cpp_lib_null_iterators)
219# if (__cplusplus >= 201402L)
220# define __glibcxx_null_iterators 201304L
221# if defined(__glibcxx_want_all) || defined(__glibcxx_want_null_iterators)
222# define __cpp_lib_null_iterators 201304L
223# endif
224# endif
225#endif /* !defined(__cpp_lib_null_iterators) && defined(__glibcxx_want_null_iterators) */
226#undef __glibcxx_want_null_iterators
227
228#if !defined(__cpp_lib_transformation_trait_aliases)
229# if (__cplusplus >= 201402L)
230# define __glibcxx_transformation_trait_aliases 201304L
231# if defined(__glibcxx_want_all) || defined(__glibcxx_want_transformation_trait_aliases)
232# define __cpp_lib_transformation_trait_aliases 201304L
233# endif
234# endif
235#endif /* !defined(__cpp_lib_transformation_trait_aliases) && defined(__glibcxx_want_transformation_trait_aliases) */
236#undef __glibcxx_want_transformation_trait_aliases
237
238#if !defined(__cpp_lib_transparent_operators)
239# if (__cplusplus >= 201402L)
240# define __glibcxx_transparent_operators 201510L
241# if defined(__glibcxx_want_all) || defined(__glibcxx_want_transparent_operators)
242# define __cpp_lib_transparent_operators 201510L
243# endif
244# endif
245#endif /* !defined(__cpp_lib_transparent_operators) && defined(__glibcxx_want_transparent_operators) */
246#undef __glibcxx_want_transparent_operators
247
248#if !defined(__cpp_lib_tuple_element_t)
249# if (__cplusplus >= 201402L)
250# define __glibcxx_tuple_element_t 201402L
251# if defined(__glibcxx_want_all) || defined(__glibcxx_want_tuple_element_t)
252# define __cpp_lib_tuple_element_t 201402L
253# endif
254# endif
255#endif /* !defined(__cpp_lib_tuple_element_t) && defined(__glibcxx_want_tuple_element_t) */
256#undef __glibcxx_want_tuple_element_t
257
258#if !defined(__cpp_lib_tuples_by_type)
259# if (__cplusplus >= 201402L)
260# define __glibcxx_tuples_by_type 201304L
261# if defined(__glibcxx_want_all) || defined(__glibcxx_want_tuples_by_type)
262# define __cpp_lib_tuples_by_type 201304L
263# endif
264# endif
265#endif /* !defined(__cpp_lib_tuples_by_type) && defined(__glibcxx_want_tuples_by_type) */
266#undef __glibcxx_want_tuples_by_type
267
268#if !defined(__cpp_lib_robust_nonmodifying_seq_ops)
269# if (__cplusplus >= 201402L)
270# define __glibcxx_robust_nonmodifying_seq_ops 201304L
271# if defined(__glibcxx_want_all) || defined(__glibcxx_want_robust_nonmodifying_seq_ops)
272# define __cpp_lib_robust_nonmodifying_seq_ops 201304L
273# endif
274# endif
275#endif /* !defined(__cpp_lib_robust_nonmodifying_seq_ops) && defined(__glibcxx_want_robust_nonmodifying_seq_ops) */
276#undef __glibcxx_want_robust_nonmodifying_seq_ops
277
278#if !defined(__cpp_lib_to_chars)
279# if (__cplusplus > 202302L) && (_GLIBCXX_FLOAT_IS_IEEE_BINARY32 && _GLIBCXX_DOUBLE_IS_IEEE_BINARY64 && __SIZE_WIDTH__ >= 32)
280# define __glibcxx_to_chars 202306L
281# if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_chars)
282# define __cpp_lib_to_chars 202306L
283# endif
284# elif (__cplusplus >= 201402L) && (_GLIBCXX_FLOAT_IS_IEEE_BINARY32 && _GLIBCXX_DOUBLE_IS_IEEE_BINARY64 && __SIZE_WIDTH__ >= 32)
285# define __glibcxx_to_chars 201611L
286# if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_chars)
287# define __cpp_lib_to_chars 201611L
288# endif
289# endif
290#endif /* !defined(__cpp_lib_to_chars) && defined(__glibcxx_want_to_chars) */
291#undef __glibcxx_want_to_chars
292
293#if !defined(__cpp_lib_chrono_udls)
294# if (__cplusplus >= 201402L)
295# define __glibcxx_chrono_udls 201304L
296# if defined(__glibcxx_want_all) || defined(__glibcxx_want_chrono_udls)
297# define __cpp_lib_chrono_udls 201304L
298# endif
299# endif
300#endif /* !defined(__cpp_lib_chrono_udls) && defined(__glibcxx_want_chrono_udls) */
301#undef __glibcxx_want_chrono_udls
302
303#if !defined(__cpp_lib_complex_udls)
304# if (__cplusplus >= 201402L) && _GLIBCXX_HOSTED
305# define __glibcxx_complex_udls 201309L
306# if defined(__glibcxx_want_all) || defined(__glibcxx_want_complex_udls)
307# define __cpp_lib_complex_udls 201309L
308# endif
309# endif
310#endif /* !defined(__cpp_lib_complex_udls) && defined(__glibcxx_want_complex_udls) */
311#undef __glibcxx_want_complex_udls
312
313#if !defined(__cpp_lib_generic_associative_lookup)
314# if (__cplusplus >= 201402L) && _GLIBCXX_HOSTED
315# define __glibcxx_generic_associative_lookup 201304L
316# if defined(__glibcxx_want_all) || defined(__glibcxx_want_generic_associative_lookup)
317# define __cpp_lib_generic_associative_lookup 201304L
318# endif
319# endif
320#endif /* !defined(__cpp_lib_generic_associative_lookup) && defined(__glibcxx_want_generic_associative_lookup) */
321#undef __glibcxx_want_generic_associative_lookup
322
323#if !defined(__cpp_lib_make_unique)
324# if (__cplusplus >= 201402L) && _GLIBCXX_HOSTED
325# define __glibcxx_make_unique 201304L
326# if defined(__glibcxx_want_all) || defined(__glibcxx_want_make_unique)
327# define __cpp_lib_make_unique 201304L
328# endif
329# endif
330#endif /* !defined(__cpp_lib_make_unique) && defined(__glibcxx_want_make_unique) */
331#undef __glibcxx_want_make_unique
332
333#if !defined(__cpp_lib_quoted_string_io)
334# if (__cplusplus >= 201402L) && _GLIBCXX_HOSTED
335# define __glibcxx_quoted_string_io 201304L
336# if defined(__glibcxx_want_all) || defined(__glibcxx_want_quoted_string_io)
337# define __cpp_lib_quoted_string_io 201304L
338# endif
339# endif
340#endif /* !defined(__cpp_lib_quoted_string_io) && defined(__glibcxx_want_quoted_string_io) */
341#undef __glibcxx_want_quoted_string_io
342
343#if !defined(__cpp_lib_shared_timed_mutex)
344# if (__cplusplus >= 201402L) && defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED
345# define __glibcxx_shared_timed_mutex 201402L
346# if defined(__glibcxx_want_all) || defined(__glibcxx_want_shared_timed_mutex)
347# define __cpp_lib_shared_timed_mutex 201402L
348# endif
349# endif
350#endif /* !defined(__cpp_lib_shared_timed_mutex) && defined(__glibcxx_want_shared_timed_mutex) */
351#undef __glibcxx_want_shared_timed_mutex
352
353#if !defined(__cpp_lib_string_udls)
354# if (__cplusplus >= 201402L) && _GLIBCXX_HOSTED
355# define __glibcxx_string_udls 201304L
356# if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_udls)
357# define __cpp_lib_string_udls 201304L
358# endif
359# endif
360#endif /* !defined(__cpp_lib_string_udls) && defined(__glibcxx_want_string_udls) */
361#undef __glibcxx_want_string_udls
362
363#if !defined(__cpp_lib_addressof_constexpr)
364# if (__cplusplus >= 201703L)
365# define __glibcxx_addressof_constexpr 201603L
366# if defined(__glibcxx_want_all) || defined(__glibcxx_want_addressof_constexpr)
367# define __cpp_lib_addressof_constexpr 201603L
368# endif
369# endif
370#endif /* !defined(__cpp_lib_addressof_constexpr) && defined(__glibcxx_want_addressof_constexpr) */
371#undef __glibcxx_want_addressof_constexpr
372
373#if !defined(__cpp_lib_any)
374# if (__cplusplus >= 201703L)
375# define __glibcxx_any 201606L
376# if defined(__glibcxx_want_all) || defined(__glibcxx_want_any)
377# define __cpp_lib_any 201606L
378# endif
379# endif
380#endif /* !defined(__cpp_lib_any) && defined(__glibcxx_want_any) */
381#undef __glibcxx_want_any
382
383#if !defined(__cpp_lib_apply)
384# if (__cplusplus >= 201703L)
385# define __glibcxx_apply 201603L
386# if defined(__glibcxx_want_all) || defined(__glibcxx_want_apply)
387# define __cpp_lib_apply 201603L
388# endif
389# endif
390#endif /* !defined(__cpp_lib_apply) && defined(__glibcxx_want_apply) */
391#undef __glibcxx_want_apply
392
393#if !defined(__cpp_lib_as_const)
394# if (__cplusplus >= 201703L)
395# define __glibcxx_as_const 201510L
396# if defined(__glibcxx_want_all) || defined(__glibcxx_want_as_const)
397# define __cpp_lib_as_const 201510L
398# endif
399# endif
400#endif /* !defined(__cpp_lib_as_const) && defined(__glibcxx_want_as_const) */
401#undef __glibcxx_want_as_const
402
403#if !defined(__cpp_lib_atomic_is_always_lock_free)
404# if (__cplusplus >= 201703L)
405# define __glibcxx_atomic_is_always_lock_free 201603L
406# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_is_always_lock_free)
407# define __cpp_lib_atomic_is_always_lock_free 201603L
408# endif
409# endif
410#endif /* !defined(__cpp_lib_atomic_is_always_lock_free) && defined(__glibcxx_want_atomic_is_always_lock_free) */
411#undef __glibcxx_want_atomic_is_always_lock_free
412
413#if !defined(__cpp_lib_bool_constant)
414# if (__cplusplus >= 201703L)
415# define __glibcxx_bool_constant 201505L
416# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bool_constant)
417# define __cpp_lib_bool_constant 201505L
418# endif
419# endif
420#endif /* !defined(__cpp_lib_bool_constant) && defined(__glibcxx_want_bool_constant) */
421#undef __glibcxx_want_bool_constant
422
423#if !defined(__cpp_lib_byte)
424# if (__cplusplus >= 201703L)
425# define __glibcxx_byte 201603L
426# if defined(__glibcxx_want_all) || defined(__glibcxx_want_byte)
427# define __cpp_lib_byte 201603L
428# endif
429# endif
430#endif /* !defined(__cpp_lib_byte) && defined(__glibcxx_want_byte) */
431#undef __glibcxx_want_byte
432
433#if !defined(__cpp_lib_has_unique_object_representations)
434# if (__cplusplus >= 201703L) && (defined(_GLIBCXX_HAVE_BUILTIN_HAS_UNIQ_OBJ_REP))
435# define __glibcxx_has_unique_object_representations 201606L
436# if defined(__glibcxx_want_all) || defined(__glibcxx_want_has_unique_object_representations)
437# define __cpp_lib_has_unique_object_representations 201606L
438# endif
439# endif
440#endif /* !defined(__cpp_lib_has_unique_object_representations) && defined(__glibcxx_want_has_unique_object_representations) */
441#undef __glibcxx_want_has_unique_object_representations
442
443#if !defined(__cpp_lib_hardware_interference_size)
444# if (__cplusplus >= 201703L) && (defined(__GCC_DESTRUCTIVE_SIZE))
445# define __glibcxx_hardware_interference_size 201703L
446# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardware_interference_size)
447# define __cpp_lib_hardware_interference_size 201703L
448# endif
449# endif
450#endif /* !defined(__cpp_lib_hardware_interference_size) && defined(__glibcxx_want_hardware_interference_size) */
451#undef __glibcxx_want_hardware_interference_size
452
453#if !defined(__cpp_lib_invoke)
454# if (__cplusplus >= 201703L)
455# define __glibcxx_invoke 201411L
456# if defined(__glibcxx_want_all) || defined(__glibcxx_want_invoke)
457# define __cpp_lib_invoke 201411L
458# endif
459# endif
460#endif /* !defined(__cpp_lib_invoke) && defined(__glibcxx_want_invoke) */
461#undef __glibcxx_want_invoke
462
463#if !defined(__cpp_lib_is_aggregate)
464# if (__cplusplus >= 201703L) && (defined(_GLIBCXX_HAVE_BUILTIN_IS_AGGREGATE))
465# define __glibcxx_is_aggregate 201703L
466# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_aggregate)
467# define __cpp_lib_is_aggregate 201703L
468# endif
469# endif
470#endif /* !defined(__cpp_lib_is_aggregate) && defined(__glibcxx_want_is_aggregate) */
471#undef __glibcxx_want_is_aggregate
472
473#if !defined(__cpp_lib_is_invocable)
474# if (__cplusplus >= 201703L)
475# define __glibcxx_is_invocable 201703L
476# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_invocable)
477# define __cpp_lib_is_invocable 201703L
478# endif
479# endif
480#endif /* !defined(__cpp_lib_is_invocable) && defined(__glibcxx_want_is_invocable) */
481#undef __glibcxx_want_is_invocable
482
483#if !defined(__cpp_lib_launder)
484# if (__cplusplus >= 201703L) && (defined(_GLIBCXX_HAVE_BUILTIN_LAUNDER))
485# define __glibcxx_launder 201606L
486# if defined(__glibcxx_want_all) || defined(__glibcxx_want_launder)
487# define __cpp_lib_launder 201606L
488# endif
489# endif
490#endif /* !defined(__cpp_lib_launder) && defined(__glibcxx_want_launder) */
491#undef __glibcxx_want_launder
492
493#if !defined(__cpp_lib_logical_traits)
494# if (__cplusplus >= 201703L)
495# define __glibcxx_logical_traits 201510L
496# if defined(__glibcxx_want_all) || defined(__glibcxx_want_logical_traits)
497# define __cpp_lib_logical_traits 201510L
498# endif
499# endif
500#endif /* !defined(__cpp_lib_logical_traits) && defined(__glibcxx_want_logical_traits) */
501#undef __glibcxx_want_logical_traits
502
503#if !defined(__cpp_lib_make_from_tuple)
504# if (__cplusplus >= 201703L)
505# define __glibcxx_make_from_tuple 201606L
506# if defined(__glibcxx_want_all) || defined(__glibcxx_want_make_from_tuple)
507# define __cpp_lib_make_from_tuple 201606L
508# endif
509# endif
510#endif /* !defined(__cpp_lib_make_from_tuple) && defined(__glibcxx_want_make_from_tuple) */
511#undef __glibcxx_want_make_from_tuple
512
513#if !defined(__cpp_lib_not_fn)
514# if (__cplusplus >= 201703L)
515# define __glibcxx_not_fn 201603L
516# if defined(__glibcxx_want_all) || defined(__glibcxx_want_not_fn)
517# define __cpp_lib_not_fn 201603L
518# endif
519# endif
520#endif /* !defined(__cpp_lib_not_fn) && defined(__glibcxx_want_not_fn) */
521#undef __glibcxx_want_not_fn
522
523#if !defined(__cpp_lib_type_trait_variable_templates)
524# if (__cplusplus >= 201703L)
525# define __glibcxx_type_trait_variable_templates 201510L
526# if defined(__glibcxx_want_all) || defined(__glibcxx_want_type_trait_variable_templates)
527# define __cpp_lib_type_trait_variable_templates 201510L
528# endif
529# endif
530#endif /* !defined(__cpp_lib_type_trait_variable_templates) && defined(__glibcxx_want_type_trait_variable_templates) */
531#undef __glibcxx_want_type_trait_variable_templates
532
533#if !defined(__cpp_lib_variant)
534# if (__cplusplus > 202302L) && (__cpp_concepts >= 202002L && __cpp_constexpr >= 201811L && __cpp_explicit_this_parameter)
535# define __glibcxx_variant 202306L
536# if defined(__glibcxx_want_all) || defined(__glibcxx_want_variant)
537# define __cpp_lib_variant 202306L
538# endif
539# elif (__cplusplus >= 202002L) && (__cpp_concepts >= 202002L && __cpp_constexpr >= 201811L)
540# define __glibcxx_variant 202106L
541# if defined(__glibcxx_want_all) || defined(__glibcxx_want_variant)
542# define __cpp_lib_variant 202106L
543# endif
544# elif (__cplusplus >= 201703L)
545# define __glibcxx_variant 202102L
546# if defined(__glibcxx_want_all) || defined(__glibcxx_want_variant)
547# define __cpp_lib_variant 202102L
548# endif
549# endif
550#endif /* !defined(__cpp_lib_variant) && defined(__glibcxx_want_variant) */
551#undef __glibcxx_want_variant
552
553#if !defined(__cpp_lib_lcm)
554# if (__cplusplus >= 201703L)
555# define __glibcxx_lcm 201606L
556# if defined(__glibcxx_want_all) || defined(__glibcxx_want_lcm)
557# define __cpp_lib_lcm 201606L
558# endif
559# endif
560#endif /* !defined(__cpp_lib_lcm) && defined(__glibcxx_want_lcm) */
561#undef __glibcxx_want_lcm
562
563#if !defined(__cpp_lib_gcd)
564# if (__cplusplus >= 201703L)
565# define __glibcxx_gcd 201606L
566# if defined(__glibcxx_want_all) || defined(__glibcxx_want_gcd)
567# define __cpp_lib_gcd 201606L
568# endif
569# endif
570#endif /* !defined(__cpp_lib_gcd) && defined(__glibcxx_want_gcd) */
571#undef __glibcxx_want_gcd
572
573#if !defined(__cpp_lib_gcd_lcm)
574# if (__cplusplus >= 201703L)
575# define __glibcxx_gcd_lcm 201606L
576# if defined(__glibcxx_want_all) || defined(__glibcxx_want_gcd_lcm)
577# define __cpp_lib_gcd_lcm 201606L
578# endif
579# endif
580#endif /* !defined(__cpp_lib_gcd_lcm) && defined(__glibcxx_want_gcd_lcm) */
581#undef __glibcxx_want_gcd_lcm
582
583#if !defined(__cpp_lib_raw_memory_algorithms)
584# if (__cplusplus > 202302L) && (__cpp_constexpr >= 202406L)
585# define __glibcxx_raw_memory_algorithms 202411L
586# if defined(__glibcxx_want_all) || defined(__glibcxx_want_raw_memory_algorithms)
587# define __cpp_lib_raw_memory_algorithms 202411L
588# endif
589# elif (__cplusplus >= 201703L)
590# define __glibcxx_raw_memory_algorithms 201606L
591# if defined(__glibcxx_want_all) || defined(__glibcxx_want_raw_memory_algorithms)
592# define __cpp_lib_raw_memory_algorithms 201606L
593# endif
594# endif
595#endif /* !defined(__cpp_lib_raw_memory_algorithms) && defined(__glibcxx_want_raw_memory_algorithms) */
596#undef __glibcxx_want_raw_memory_algorithms
597
598#if !defined(__cpp_lib_array_constexpr)
599# if (__cplusplus >= 202002L)
600# define __glibcxx_array_constexpr 201811L
601# if defined(__glibcxx_want_all) || defined(__glibcxx_want_array_constexpr)
602# define __cpp_lib_array_constexpr 201811L
603# endif
604# elif (__cplusplus >= 201703L)
605# define __glibcxx_array_constexpr 201803L
606# if defined(__glibcxx_want_all) || defined(__glibcxx_want_array_constexpr)
607# define __cpp_lib_array_constexpr 201803L
608# endif
609# endif
610#endif /* !defined(__cpp_lib_array_constexpr) && defined(__glibcxx_want_array_constexpr) */
611#undef __glibcxx_want_array_constexpr
612
613#if !defined(__cpp_lib_nonmember_container_access)
614# if (__cplusplus >= 201703L)
615# define __glibcxx_nonmember_container_access 201411L
616# if defined(__glibcxx_want_all) || defined(__glibcxx_want_nonmember_container_access)
617# define __cpp_lib_nonmember_container_access 201411L
618# endif
619# endif
620#endif /* !defined(__cpp_lib_nonmember_container_access) && defined(__glibcxx_want_nonmember_container_access) */
621#undef __glibcxx_want_nonmember_container_access
622
623#if !defined(__cpp_lib_clamp)
624# if (__cplusplus >= 201703L)
625# define __glibcxx_clamp 201603L
626# if defined(__glibcxx_want_all) || defined(__glibcxx_want_clamp)
627# define __cpp_lib_clamp 201603L
628# endif
629# endif
630#endif /* !defined(__cpp_lib_clamp) && defined(__glibcxx_want_clamp) */
631#undef __glibcxx_want_clamp
632
633#if !defined(__cpp_lib_sample)
634# if (__cplusplus >= 201703L)
635# define __glibcxx_sample 201603L
636# if defined(__glibcxx_want_all) || defined(__glibcxx_want_sample)
637# define __cpp_lib_sample 201603L
638# endif
639# endif
640#endif /* !defined(__cpp_lib_sample) && defined(__glibcxx_want_sample) */
641#undef __glibcxx_want_sample
642
643#if !defined(__cpp_lib_boyer_moore_searcher)
644# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
645# define __glibcxx_boyer_moore_searcher 201603L
646# if defined(__glibcxx_want_all) || defined(__glibcxx_want_boyer_moore_searcher)
647# define __cpp_lib_boyer_moore_searcher 201603L
648# endif
649# endif
650#endif /* !defined(__cpp_lib_boyer_moore_searcher) && defined(__glibcxx_want_boyer_moore_searcher) */
651#undef __glibcxx_want_boyer_moore_searcher
652
653#if !defined(__cpp_lib_chrono)
654# if (__cplusplus >= 202002L) && _GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED
655# define __glibcxx_chrono 201907L
656# if defined(__glibcxx_want_all) || defined(__glibcxx_want_chrono)
657# define __cpp_lib_chrono 201907L
658# endif
659# elif (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
660# define __glibcxx_chrono 201611L
661# if defined(__glibcxx_want_all) || defined(__glibcxx_want_chrono)
662# define __cpp_lib_chrono 201611L
663# endif
664# endif
665#endif /* !defined(__cpp_lib_chrono) && defined(__glibcxx_want_chrono) */
666#undef __glibcxx_want_chrono
667
668#if !defined(__cpp_lib_chrono_cxx20)
669# if (__cplusplus >= 202002L)
670# define __glibcxx_chrono_cxx20 201800L
671# if defined(__glibcxx_want_all) || defined(__glibcxx_want_chrono_cxx20)
672# endif
673# endif
674#endif /* !defined(__cpp_lib_chrono_cxx20) && defined(__glibcxx_want_chrono_cxx20) */
675#undef __glibcxx_want_chrono_cxx20
676
677#if !defined(__cpp_lib_execution)
678# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
679# define __glibcxx_execution 201902L
680# if defined(__glibcxx_want_all) || defined(__glibcxx_want_execution)
681# define __cpp_lib_execution 201902L
682# endif
683# endif
684#endif /* !defined(__cpp_lib_execution) && defined(__glibcxx_want_execution) */
685#undef __glibcxx_want_execution
686
687#if !defined(__cpp_lib_filesystem)
688# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
689# define __glibcxx_filesystem 201703L
690# if defined(__glibcxx_want_all) || defined(__glibcxx_want_filesystem)
691# define __cpp_lib_filesystem 201703L
692# endif
693# endif
694#endif /* !defined(__cpp_lib_filesystem) && defined(__glibcxx_want_filesystem) */
695#undef __glibcxx_want_filesystem
696
697#if !defined(__cpp_lib_hypot)
698# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
699# define __glibcxx_hypot 201603L
700# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hypot)
701# define __cpp_lib_hypot 201603L
702# endif
703# endif
704#endif /* !defined(__cpp_lib_hypot) && defined(__glibcxx_want_hypot) */
705#undef __glibcxx_want_hypot
706
707#if !defined(__cpp_lib_map_try_emplace)
708# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
709# define __glibcxx_map_try_emplace 201411L
710# if defined(__glibcxx_want_all) || defined(__glibcxx_want_map_try_emplace)
711# define __cpp_lib_map_try_emplace 201411L
712# endif
713# endif
714#endif /* !defined(__cpp_lib_map_try_emplace) && defined(__glibcxx_want_map_try_emplace) */
715#undef __glibcxx_want_map_try_emplace
716
717#if !defined(__cpp_lib_math_special_functions)
718# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
719# define __glibcxx_math_special_functions 201603L
720# if defined(__glibcxx_want_all) || defined(__glibcxx_want_math_special_functions)
721# define __cpp_lib_math_special_functions 201603L
722# endif
723# endif
724#endif /* !defined(__cpp_lib_math_special_functions) && defined(__glibcxx_want_math_special_functions) */
725#undef __glibcxx_want_math_special_functions
726
727#if !defined(__cpp_lib_memory_resource)
728# if (__cplusplus >= 201703L) && defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED
729# define __glibcxx_memory_resource 201603L
730# if defined(__glibcxx_want_all) || defined(__glibcxx_want_memory_resource)
731# define __cpp_lib_memory_resource 201603L
732# endif
733# elif (__cplusplus >= 201703L) && !defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED
734# define __glibcxx_memory_resource 1L
735# if defined(__glibcxx_want_all) || defined(__glibcxx_want_memory_resource)
736# define __cpp_lib_memory_resource 1L
737# endif
738# endif
739#endif /* !defined(__cpp_lib_memory_resource) && defined(__glibcxx_want_memory_resource) */
740#undef __glibcxx_want_memory_resource
741
742#if !defined(__cpp_lib_node_extract)
743# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
744# define __glibcxx_node_extract 201606L
745# if defined(__glibcxx_want_all) || defined(__glibcxx_want_node_extract)
746# define __cpp_lib_node_extract 201606L
747# endif
748# endif
749#endif /* !defined(__cpp_lib_node_extract) && defined(__glibcxx_want_node_extract) */
750#undef __glibcxx_want_node_extract
751
752#if !defined(__cpp_lib_parallel_algorithm)
753# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
754# define __glibcxx_parallel_algorithm 201603L
755# if defined(__glibcxx_want_all) || defined(__glibcxx_want_parallel_algorithm)
756# define __cpp_lib_parallel_algorithm 201603L
757# endif
758# endif
759#endif /* !defined(__cpp_lib_parallel_algorithm) && defined(__glibcxx_want_parallel_algorithm) */
760#undef __glibcxx_want_parallel_algorithm
761
762#if !defined(__cpp_lib_scoped_lock)
763# if (__cplusplus >= 201703L)
764# define __glibcxx_scoped_lock 201703L
765# if defined(__glibcxx_want_all) || defined(__glibcxx_want_scoped_lock)
766# define __cpp_lib_scoped_lock 201703L
767# endif
768# endif
769#endif /* !defined(__cpp_lib_scoped_lock) && defined(__glibcxx_want_scoped_lock) */
770#undef __glibcxx_want_scoped_lock
771
772#if !defined(__cpp_lib_shared_mutex)
773# if (__cplusplus >= 201703L) && defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED
774# define __glibcxx_shared_mutex 201505L
775# if defined(__glibcxx_want_all) || defined(__glibcxx_want_shared_mutex)
776# define __cpp_lib_shared_mutex 201505L
777# endif
778# endif
779#endif /* !defined(__cpp_lib_shared_mutex) && defined(__glibcxx_want_shared_mutex) */
780#undef __glibcxx_want_shared_mutex
781
782#if !defined(__cpp_lib_shared_ptr_weak_type)
783# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
784# define __glibcxx_shared_ptr_weak_type 201606L
785# if defined(__glibcxx_want_all) || defined(__glibcxx_want_shared_ptr_weak_type)
786# define __cpp_lib_shared_ptr_weak_type 201606L
787# endif
788# endif
789#endif /* !defined(__cpp_lib_shared_ptr_weak_type) && defined(__glibcxx_want_shared_ptr_weak_type) */
790#undef __glibcxx_want_shared_ptr_weak_type
791
792#if !defined(__cpp_lib_string_view)
793# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
794# define __glibcxx_string_view 202403L
795# if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_view)
796# define __cpp_lib_string_view 202403L
797# endif
798# elif (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
799# define __glibcxx_string_view 201803L
800# if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_view)
801# define __cpp_lib_string_view 201803L
802# endif
803# endif
804#endif /* !defined(__cpp_lib_string_view) && defined(__glibcxx_want_string_view) */
805#undef __glibcxx_want_string_view
806
807#if !defined(__cpp_lib_unordered_map_try_emplace)
808# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
809# define __glibcxx_unordered_map_try_emplace 201411L
810# if defined(__glibcxx_want_all) || defined(__glibcxx_want_unordered_map_try_emplace)
811# define __cpp_lib_unordered_map_try_emplace 201411L
812# endif
813# endif
814#endif /* !defined(__cpp_lib_unordered_map_try_emplace) && defined(__glibcxx_want_unordered_map_try_emplace) */
815#undef __glibcxx_want_unordered_map_try_emplace
816
817#if !defined(__cpp_lib_assume_aligned)
818# if (__cplusplus >= 202002L)
819# define __glibcxx_assume_aligned 201811L
820# if defined(__glibcxx_want_all) || defined(__glibcxx_want_assume_aligned)
821# define __cpp_lib_assume_aligned 201811L
822# endif
823# endif
824#endif /* !defined(__cpp_lib_assume_aligned) && defined(__glibcxx_want_assume_aligned) */
825#undef __glibcxx_want_assume_aligned
826
827#if !defined(__cpp_lib_is_sufficiently_aligned)
828# if (__cplusplus > 202302L)
829# define __glibcxx_is_sufficiently_aligned 202411L
830# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_sufficiently_aligned)
831# define __cpp_lib_is_sufficiently_aligned 202411L
832# endif
833# endif
834#endif /* !defined(__cpp_lib_is_sufficiently_aligned) && defined(__glibcxx_want_is_sufficiently_aligned) */
835#undef __glibcxx_want_is_sufficiently_aligned
836
837#if !defined(__cpp_lib_atomic_flag_test)
838# if (__cplusplus >= 202002L)
839# define __glibcxx_atomic_flag_test 201907L
840# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_flag_test)
841# define __cpp_lib_atomic_flag_test 201907L
842# endif
843# endif
844#endif /* !defined(__cpp_lib_atomic_flag_test) && defined(__glibcxx_want_atomic_flag_test) */
845#undef __glibcxx_want_atomic_flag_test
846
847#if !defined(__cpp_lib_atomic_float)
848# if (__cplusplus >= 202002L)
849# define __glibcxx_atomic_float 201711L
850# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_float)
851# define __cpp_lib_atomic_float 201711L
852# endif
853# endif
854#endif /* !defined(__cpp_lib_atomic_float) && defined(__glibcxx_want_atomic_float) */
855#undef __glibcxx_want_atomic_float
856
857#if !defined(__cpp_lib_atomic_lock_free_type_aliases)
858# if (__cplusplus >= 202002L) && ((__GCC_ATOMIC_INT_LOCK_FREE | __GCC_ATOMIC_LONG_LOCK_FREE | __GCC_ATOMIC_CHAR_LOCK_FREE) & 2)
859# define __glibcxx_atomic_lock_free_type_aliases 201907L
860# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_lock_free_type_aliases)
861# define __cpp_lib_atomic_lock_free_type_aliases 201907L
862# endif
863# endif
864#endif /* !defined(__cpp_lib_atomic_lock_free_type_aliases) && defined(__glibcxx_want_atomic_lock_free_type_aliases) */
865#undef __glibcxx_want_atomic_lock_free_type_aliases
866
867#if !defined(__cpp_lib_atomic_ref)
868# if (__cplusplus >= 202002L)
869# define __glibcxx_atomic_ref 201806L
870# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_ref)
871# define __cpp_lib_atomic_ref 201806L
872# endif
873# endif
874#endif /* !defined(__cpp_lib_atomic_ref) && defined(__glibcxx_want_atomic_ref) */
875#undef __glibcxx_want_atomic_ref
876
877#if !defined(__cpp_lib_atomic_value_initialization)
878# if (__cplusplus >= 202002L) && (__cpp_concepts >= 201907L)
879# define __glibcxx_atomic_value_initialization 201911L
880# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_value_initialization)
881# define __cpp_lib_atomic_value_initialization 201911L
882# endif
883# endif
884#endif /* !defined(__cpp_lib_atomic_value_initialization) && defined(__glibcxx_want_atomic_value_initialization) */
885#undef __glibcxx_want_atomic_value_initialization
886
887#if !defined(__cpp_lib_bind_front)
888# if (__cplusplus >= 202002L)
889# define __glibcxx_bind_front 201907L
890# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bind_front)
891# define __cpp_lib_bind_front 201907L
892# endif
893# endif
894#endif /* !defined(__cpp_lib_bind_front) && defined(__glibcxx_want_bind_front) */
895#undef __glibcxx_want_bind_front
896
897#if !defined(__cpp_lib_bind_back)
898# if (__cplusplus >= 202100L) && (__cpp_explicit_this_parameter)
899# define __glibcxx_bind_back 202202L
900# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bind_back)
901# define __cpp_lib_bind_back 202202L
902# endif
903# endif
904#endif /* !defined(__cpp_lib_bind_back) && defined(__glibcxx_want_bind_back) */
905#undef __glibcxx_want_bind_back
906
907#if !defined(__cpp_lib_starts_ends_with)
908# if (__cplusplus >= 202002L)
909# define __glibcxx_starts_ends_with 201711L
910# if defined(__glibcxx_want_all) || defined(__glibcxx_want_starts_ends_with)
911# define __cpp_lib_starts_ends_with 201711L
912# endif
913# endif
914#endif /* !defined(__cpp_lib_starts_ends_with) && defined(__glibcxx_want_starts_ends_with) */
915#undef __glibcxx_want_starts_ends_with
916
917#if !defined(__cpp_lib_bit_cast)
918# if (__cplusplus >= 202002L) && (__has_builtin(__builtin_bit_cast))
919# define __glibcxx_bit_cast 201806L
920# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bit_cast)
921# define __cpp_lib_bit_cast 201806L
922# endif
923# endif
924#endif /* !defined(__cpp_lib_bit_cast) && defined(__glibcxx_want_bit_cast) */
925#undef __glibcxx_want_bit_cast
926
927#if !defined(__cpp_lib_bitops)
928# if (__cplusplus >= 202002L)
929# define __glibcxx_bitops 201907L
930# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bitops)
931# define __cpp_lib_bitops 201907L
932# endif
933# endif
934#endif /* !defined(__cpp_lib_bitops) && defined(__glibcxx_want_bitops) */
935#undef __glibcxx_want_bitops
936
937#if !defined(__cpp_lib_bounded_array_traits)
938# if (__cplusplus >= 202002L)
939# define __glibcxx_bounded_array_traits 201902L
940# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bounded_array_traits)
941# define __cpp_lib_bounded_array_traits 201902L
942# endif
943# endif
944#endif /* !defined(__cpp_lib_bounded_array_traits) && defined(__glibcxx_want_bounded_array_traits) */
945#undef __glibcxx_want_bounded_array_traits
946
947#if !defined(__cpp_lib_concepts)
948# if (__cplusplus >= 202002L) && (__cpp_concepts >= 201907L)
949# define __glibcxx_concepts 202002L
950# if defined(__glibcxx_want_all) || defined(__glibcxx_want_concepts)
951# define __cpp_lib_concepts 202002L
952# endif
953# endif
954#endif /* !defined(__cpp_lib_concepts) && defined(__glibcxx_want_concepts) */
955#undef __glibcxx_want_concepts
956
957#if !defined(__cpp_lib_optional)
958# if (__cplusplus >= 202100L) && (__glibcxx_concepts)
959# define __glibcxx_optional 202110L
960# if defined(__glibcxx_want_all) || defined(__glibcxx_want_optional)
961# define __cpp_lib_optional 202110L
962# endif
963# elif (__cplusplus >= 202002L)
964# define __glibcxx_optional 202106L
965# if defined(__glibcxx_want_all) || defined(__glibcxx_want_optional)
966# define __cpp_lib_optional 202106L
967# endif
968# elif (__cplusplus >= 201703L)
969# define __glibcxx_optional 201606L
970# if defined(__glibcxx_want_all) || defined(__glibcxx_want_optional)
971# define __cpp_lib_optional 201606L
972# endif
973# endif
974#endif /* !defined(__cpp_lib_optional) && defined(__glibcxx_want_optional) */
975#undef __glibcxx_want_optional
976
977#if !defined(__cpp_lib_optional_range_support)
978# if (__cplusplus > 202302L)
979# define __glibcxx_optional_range_support 202406L
980# if defined(__glibcxx_want_all) || defined(__glibcxx_want_optional_range_support)
981# define __cpp_lib_optional_range_support 202406L
982# endif
983# endif
984#endif /* !defined(__cpp_lib_optional_range_support) && defined(__glibcxx_want_optional_range_support) */
985#undef __glibcxx_want_optional_range_support
986
987#if !defined(__cpp_lib_destroying_delete)
988# if (__cplusplus >= 202002L) && (__cpp_impl_destroying_delete)
989# define __glibcxx_destroying_delete 201806L
990# if defined(__glibcxx_want_all) || defined(__glibcxx_want_destroying_delete)
991# define __cpp_lib_destroying_delete 201806L
992# endif
993# endif
994#endif /* !defined(__cpp_lib_destroying_delete) && defined(__glibcxx_want_destroying_delete) */
995#undef __glibcxx_want_destroying_delete
996
997#if !defined(__cpp_lib_constexpr_string_view)
998# if (__cplusplus >= 202002L)
999# define __glibcxx_constexpr_string_view 201811L
1000# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_string_view)
1001# define __cpp_lib_constexpr_string_view 201811L
1002# endif
1003# endif
1004#endif /* !defined(__cpp_lib_constexpr_string_view) && defined(__glibcxx_want_constexpr_string_view) */
1005#undef __glibcxx_want_constexpr_string_view
1006
1007#if !defined(__cpp_lib_endian)
1008# if (__cplusplus >= 202002L)
1009# define __glibcxx_endian 201907L
1010# if defined(__glibcxx_want_all) || defined(__glibcxx_want_endian)
1011# define __cpp_lib_endian 201907L
1012# endif
1013# endif
1014#endif /* !defined(__cpp_lib_endian) && defined(__glibcxx_want_endian) */
1015#undef __glibcxx_want_endian
1016
1017#if !defined(__cpp_lib_int_pow2)
1018# if (__cplusplus >= 202002L)
1019# define __glibcxx_int_pow2 202002L
1020# if defined(__glibcxx_want_all) || defined(__glibcxx_want_int_pow2)
1021# define __cpp_lib_int_pow2 202002L
1022# endif
1023# endif
1024#endif /* !defined(__cpp_lib_int_pow2) && defined(__glibcxx_want_int_pow2) */
1025#undef __glibcxx_want_int_pow2
1026
1027#if !defined(__cpp_lib_integer_comparison_functions)
1028# if (__cplusplus >= 202002L)
1029# define __glibcxx_integer_comparison_functions 202002L
1030# if defined(__glibcxx_want_all) || defined(__glibcxx_want_integer_comparison_functions)
1031# define __cpp_lib_integer_comparison_functions 202002L
1032# endif
1033# endif
1034#endif /* !defined(__cpp_lib_integer_comparison_functions) && defined(__glibcxx_want_integer_comparison_functions) */
1035#undef __glibcxx_want_integer_comparison_functions
1036
1037#if !defined(__cpp_lib_is_constant_evaluated)
1038# if (__cplusplus >= 202002L) && (defined(_GLIBCXX_HAVE_IS_CONSTANT_EVALUATED))
1039# define __glibcxx_is_constant_evaluated 201811L
1040# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_constant_evaluated)
1041# define __cpp_lib_is_constant_evaluated 201811L
1042# endif
1043# endif
1044#endif /* !defined(__cpp_lib_is_constant_evaluated) && defined(__glibcxx_want_is_constant_evaluated) */
1045#undef __glibcxx_want_is_constant_evaluated
1046
1047#if !defined(__cpp_lib_constexpr_char_traits)
1048# if (__cplusplus >= 202002L) && (defined(__glibcxx_is_constant_evaluated))
1049# define __glibcxx_constexpr_char_traits 201811L
1050# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_char_traits)
1051# define __cpp_lib_constexpr_char_traits 201811L
1052# endif
1053# elif (__cplusplus >= 201703L) && (_GLIBCXX_HAVE_IS_CONSTANT_EVALUATED)
1054# define __glibcxx_constexpr_char_traits 201611L
1055# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_char_traits)
1056# define __cpp_lib_constexpr_char_traits 201611L
1057# endif
1058# endif
1059#endif /* !defined(__cpp_lib_constexpr_char_traits) && defined(__glibcxx_want_constexpr_char_traits) */
1060#undef __glibcxx_want_constexpr_char_traits
1061
1062#if !defined(__cpp_lib_is_layout_compatible)
1063# if (__cplusplus >= 202002L) && (__has_builtin(__is_layout_compatible) && __has_builtin(__builtin_is_corresponding_member))
1064# define __glibcxx_is_layout_compatible 201907L
1065# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_layout_compatible)
1066# define __cpp_lib_is_layout_compatible 201907L
1067# endif
1068# endif
1069#endif /* !defined(__cpp_lib_is_layout_compatible) && defined(__glibcxx_want_is_layout_compatible) */
1070#undef __glibcxx_want_is_layout_compatible
1071
1072#if !defined(__cpp_lib_is_nothrow_convertible)
1073# if (__cplusplus >= 202002L)
1074# define __glibcxx_is_nothrow_convertible 201806L
1075# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_nothrow_convertible)
1076# define __cpp_lib_is_nothrow_convertible 201806L
1077# endif
1078# endif
1079#endif /* !defined(__cpp_lib_is_nothrow_convertible) && defined(__glibcxx_want_is_nothrow_convertible) */
1080#undef __glibcxx_want_is_nothrow_convertible
1081
1082#if !defined(__cpp_lib_is_pointer_interconvertible)
1083# if (__cplusplus >= 202002L) && (__has_builtin(__is_pointer_interconvertible_base_of) && __has_builtin(__builtin_is_pointer_interconvertible_with_class))
1084# define __glibcxx_is_pointer_interconvertible 201907L
1085# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_pointer_interconvertible)
1086# define __cpp_lib_is_pointer_interconvertible 201907L
1087# endif
1088# endif
1089#endif /* !defined(__cpp_lib_is_pointer_interconvertible) && defined(__glibcxx_want_is_pointer_interconvertible) */
1090#undef __glibcxx_want_is_pointer_interconvertible
1091
1092#if !defined(__cpp_lib_math_constants)
1093# if (__cplusplus >= 202002L)
1094# define __glibcxx_math_constants 201907L
1095# if defined(__glibcxx_want_all) || defined(__glibcxx_want_math_constants)
1096# define __cpp_lib_math_constants 201907L
1097# endif
1098# endif
1099#endif /* !defined(__cpp_lib_math_constants) && defined(__glibcxx_want_math_constants) */
1100#undef __glibcxx_want_math_constants
1101
1102#if !defined(__cpp_lib_make_obj_using_allocator)
1103# if (__cplusplus >= 202002L) && (__cpp_concepts)
1104# define __glibcxx_make_obj_using_allocator 201811L
1105# if defined(__glibcxx_want_all) || defined(__glibcxx_want_make_obj_using_allocator)
1106# endif
1107# endif
1108#endif /* !defined(__cpp_lib_make_obj_using_allocator) && defined(__glibcxx_want_make_obj_using_allocator) */
1109#undef __glibcxx_want_make_obj_using_allocator
1110
1111#if !defined(__cpp_lib_remove_cvref)
1112# if (__cplusplus >= 202002L)
1113# define __glibcxx_remove_cvref 201711L
1114# if defined(__glibcxx_want_all) || defined(__glibcxx_want_remove_cvref)
1115# define __cpp_lib_remove_cvref 201711L
1116# endif
1117# endif
1118#endif /* !defined(__cpp_lib_remove_cvref) && defined(__glibcxx_want_remove_cvref) */
1119#undef __glibcxx_want_remove_cvref
1120
1121#if !defined(__cpp_lib_source_location)
1122# if (__cplusplus >= 202002L) && (__has_builtin(__builtin_source_location))
1123# define __glibcxx_source_location 201907L
1124# if defined(__glibcxx_want_all) || defined(__glibcxx_want_source_location)
1125# define __cpp_lib_source_location 201907L
1126# endif
1127# endif
1128#endif /* !defined(__cpp_lib_source_location) && defined(__glibcxx_want_source_location) */
1129#undef __glibcxx_want_source_location
1130
1131#if !defined(__cpp_lib_span)
1132# if (__cplusplus > 202302L) && (__glibcxx_concepts)
1133# define __glibcxx_span 202311L
1134# if defined(__glibcxx_want_all) || defined(__glibcxx_want_span)
1135# define __cpp_lib_span 202311L
1136# endif
1137# elif (__cplusplus >= 202002L) && (__glibcxx_concepts)
1138# define __glibcxx_span 202002L
1139# if defined(__glibcxx_want_all) || defined(__glibcxx_want_span)
1140# define __cpp_lib_span 202002L
1141# endif
1142# endif
1143#endif /* !defined(__cpp_lib_span) && defined(__glibcxx_want_span) */
1144#undef __glibcxx_want_span
1145
1146#if !defined(__cpp_lib_mdspan)
1147# if (__cplusplus > 202302L)
1148# define __glibcxx_mdspan 202406L
1149# if defined(__glibcxx_want_all) || defined(__glibcxx_want_mdspan)
1150# define __cpp_lib_mdspan 202406L
1151# endif
1152# elif (__cplusplus >= 202100L)
1153# define __glibcxx_mdspan 202207L
1154# if defined(__glibcxx_want_all) || defined(__glibcxx_want_mdspan)
1155# define __cpp_lib_mdspan 202207L
1156# endif
1157# endif
1158#endif /* !defined(__cpp_lib_mdspan) && defined(__glibcxx_want_mdspan) */
1159#undef __glibcxx_want_mdspan
1160
1161#if !defined(__cpp_lib_aligned_accessor)
1162# if (__cplusplus > 202302L) && (__glibcxx_assume_aligned && __glibcxx_is_sufficiently_aligned)
1163# define __glibcxx_aligned_accessor 202411L
1164# if defined(__glibcxx_want_all) || defined(__glibcxx_want_aligned_accessor)
1165# define __cpp_lib_aligned_accessor 202411L
1166# endif
1167# endif
1168#endif /* !defined(__cpp_lib_aligned_accessor) && defined(__glibcxx_want_aligned_accessor) */
1169#undef __glibcxx_want_aligned_accessor
1170
1171#if !defined(__cpp_lib_ssize)
1172# if (__cplusplus >= 202002L)
1173# define __glibcxx_ssize 201902L
1174# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ssize)
1175# define __cpp_lib_ssize 201902L
1176# endif
1177# endif
1178#endif /* !defined(__cpp_lib_ssize) && defined(__glibcxx_want_ssize) */
1179#undef __glibcxx_want_ssize
1180
1181#if !defined(__cpp_lib_three_way_comparison)
1182# if (__cplusplus >= 202002L) && (__cpp_impl_three_way_comparison >= 201907L && __glibcxx_concepts)
1183# define __glibcxx_three_way_comparison 201907L
1184# if defined(__glibcxx_want_all) || defined(__glibcxx_want_three_way_comparison)
1185# define __cpp_lib_three_way_comparison 201907L
1186# endif
1187# endif
1188#endif /* !defined(__cpp_lib_three_way_comparison) && defined(__glibcxx_want_three_way_comparison) */
1189#undef __glibcxx_want_three_way_comparison
1190
1191#if !defined(__cpp_lib_to_address)
1192# if (__cplusplus >= 202002L)
1193# define __glibcxx_to_address 201711L
1194# if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_address)
1195# define __cpp_lib_to_address 201711L
1196# endif
1197# endif
1198#endif /* !defined(__cpp_lib_to_address) && defined(__glibcxx_want_to_address) */
1199#undef __glibcxx_want_to_address
1200
1201#if !defined(__cpp_lib_to_array)
1202# if (__cplusplus >= 202002L) && (__cpp_generic_lambdas >= 201707L)
1203# define __glibcxx_to_array 201907L
1204# if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_array)
1205# define __cpp_lib_to_array 201907L
1206# endif
1207# endif
1208#endif /* !defined(__cpp_lib_to_array) && defined(__glibcxx_want_to_array) */
1209#undef __glibcxx_want_to_array
1210
1211#if !defined(__cpp_lib_type_identity)
1212# if (__cplusplus >= 202002L)
1213# define __glibcxx_type_identity 201806L
1214# if defined(__glibcxx_want_all) || defined(__glibcxx_want_type_identity)
1215# define __cpp_lib_type_identity 201806L
1216# endif
1217# endif
1218#endif /* !defined(__cpp_lib_type_identity) && defined(__glibcxx_want_type_identity) */
1219#undef __glibcxx_want_type_identity
1220
1221#if !defined(__cpp_lib_unwrap_ref)
1222# if (__cplusplus >= 202002L)
1223# define __glibcxx_unwrap_ref 201811L
1224# if defined(__glibcxx_want_all) || defined(__glibcxx_want_unwrap_ref)
1225# define __cpp_lib_unwrap_ref 201811L
1226# endif
1227# endif
1228#endif /* !defined(__cpp_lib_unwrap_ref) && defined(__glibcxx_want_unwrap_ref) */
1229#undef __glibcxx_want_unwrap_ref
1230
1231#if !defined(__cpp_lib_constexpr_iterator)
1232# if (__cplusplus >= 202002L)
1233# define __glibcxx_constexpr_iterator 201811L
1234# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_iterator)
1235# define __cpp_lib_constexpr_iterator 201811L
1236# endif
1237# endif
1238#endif /* !defined(__cpp_lib_constexpr_iterator) && defined(__glibcxx_want_constexpr_iterator) */
1239#undef __glibcxx_want_constexpr_iterator
1240
1241#if !defined(__cpp_lib_interpolate)
1242# if (__cplusplus >= 202002L)
1243# define __glibcxx_interpolate 201902L
1244# if defined(__glibcxx_want_all) || defined(__glibcxx_want_interpolate)
1245# define __cpp_lib_interpolate 201902L
1246# endif
1247# endif
1248#endif /* !defined(__cpp_lib_interpolate) && defined(__glibcxx_want_interpolate) */
1249#undef __glibcxx_want_interpolate
1250
1251#if !defined(__cpp_lib_constexpr_utility)
1252# if (__cplusplus >= 202002L)
1253# define __glibcxx_constexpr_utility 201811L
1254# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_utility)
1255# define __cpp_lib_constexpr_utility 201811L
1256# endif
1257# endif
1258#endif /* !defined(__cpp_lib_constexpr_utility) && defined(__glibcxx_want_constexpr_utility) */
1259#undef __glibcxx_want_constexpr_utility
1260
1261#if !defined(__cpp_lib_shift)
1262# if (__cplusplus >= 202100L)
1263# define __glibcxx_shift 202202L
1264# if defined(__glibcxx_want_all) || defined(__glibcxx_want_shift)
1265# define __cpp_lib_shift 202202L
1266# endif
1267# elif (__cplusplus >= 202002L)
1268# define __glibcxx_shift 201806L
1269# if defined(__glibcxx_want_all) || defined(__glibcxx_want_shift)
1270# define __cpp_lib_shift 201806L
1271# endif
1272# endif
1273#endif /* !defined(__cpp_lib_shift) && defined(__glibcxx_want_shift) */
1274#undef __glibcxx_want_shift
1275
1276#if !defined(__cpp_lib_ranges)
1277# if (__cplusplus > 202302L) && (__glibcxx_concepts)
1278# define __glibcxx_ranges 202406L
1279# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges)
1280# define __cpp_lib_ranges 202406L
1281# endif
1282# elif (__cplusplus >= 202100L) && (__glibcxx_concepts)
1283# define __glibcxx_ranges 202302L
1284# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges)
1285# define __cpp_lib_ranges 202302L
1286# endif
1287# elif (__cplusplus >= 202002L) && (__glibcxx_concepts)
1288# define __glibcxx_ranges 202110L
1289# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges)
1290# define __cpp_lib_ranges 202110L
1291# endif
1292# endif
1293#endif /* !defined(__cpp_lib_ranges) && defined(__glibcxx_want_ranges) */
1294#undef __glibcxx_want_ranges
1295
1296#if !defined(__cpp_lib_constexpr_numeric)
1297# if (__cplusplus >= 202002L)
1298# define __glibcxx_constexpr_numeric 201911L
1299# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_numeric)
1300# define __cpp_lib_constexpr_numeric 201911L
1301# endif
1302# endif
1303#endif /* !defined(__cpp_lib_constexpr_numeric) && defined(__glibcxx_want_constexpr_numeric) */
1304#undef __glibcxx_want_constexpr_numeric
1305
1306#if !defined(__cpp_lib_constexpr_functional)
1307# if (__cplusplus >= 202002L)
1308# define __glibcxx_constexpr_functional 201907L
1309# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_functional)
1310# define __cpp_lib_constexpr_functional 201907L
1311# endif
1312# endif
1313#endif /* !defined(__cpp_lib_constexpr_functional) && defined(__glibcxx_want_constexpr_functional) */
1314#undef __glibcxx_want_constexpr_functional
1315
1316#if !defined(__cpp_lib_constexpr_algorithms)
1317# if (__cplusplus > 202302L)
1318# define __glibcxx_constexpr_algorithms 202306L
1319# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_algorithms)
1320# define __cpp_lib_constexpr_algorithms 202306L
1321# endif
1322# elif (__cplusplus >= 202002L)
1323# define __glibcxx_constexpr_algorithms 201806L
1324# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_algorithms)
1325# define __cpp_lib_constexpr_algorithms 201806L
1326# endif
1327# endif
1328#endif /* !defined(__cpp_lib_constexpr_algorithms) && defined(__glibcxx_want_constexpr_algorithms) */
1329#undef __glibcxx_want_constexpr_algorithms
1330
1331#if !defined(__cpp_lib_constexpr_tuple)
1332# if (__cplusplus >= 202002L)
1333# define __glibcxx_constexpr_tuple 201811L
1334# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_tuple)
1335# define __cpp_lib_constexpr_tuple 201811L
1336# endif
1337# endif
1338#endif /* !defined(__cpp_lib_constexpr_tuple) && defined(__glibcxx_want_constexpr_tuple) */
1339#undef __glibcxx_want_constexpr_tuple
1340
1341#if !defined(__cpp_lib_constexpr_memory)
1342# if (__cplusplus >= 202100L) && (__cpp_constexpr_dynamic_alloc)
1343# define __glibcxx_constexpr_memory 202202L
1344# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_memory)
1345# define __cpp_lib_constexpr_memory 202202L
1346# endif
1347# elif (__cplusplus >= 202002L)
1348# define __glibcxx_constexpr_memory 201811L
1349# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_memory)
1350# define __cpp_lib_constexpr_memory 201811L
1351# endif
1352# endif
1353#endif /* !defined(__cpp_lib_constexpr_memory) && defined(__glibcxx_want_constexpr_memory) */
1354#undef __glibcxx_want_constexpr_memory
1355
1356#if !defined(__cpp_lib_atomic_shared_ptr)
1357# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1358# define __glibcxx_atomic_shared_ptr 201711L
1359# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_shared_ptr)
1360# define __cpp_lib_atomic_shared_ptr 201711L
1361# endif
1362# endif
1363#endif /* !defined(__cpp_lib_atomic_shared_ptr) && defined(__glibcxx_want_atomic_shared_ptr) */
1364#undef __glibcxx_want_atomic_shared_ptr
1365
1366#if !defined(__cpp_lib_atomic_wait)
1367# if (__cplusplus >= 202002L) && defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED
1368# define __glibcxx_atomic_wait 201907L
1369# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_wait)
1370# define __cpp_lib_atomic_wait 201907L
1371# endif
1372# elif (__cplusplus >= 202002L) && !defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED && (defined(_GLIBCXX_HAVE_LINUX_FUTEX))
1373# define __glibcxx_atomic_wait 201907L
1374# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_wait)
1375# define __cpp_lib_atomic_wait 201907L
1376# endif
1377# endif
1378#endif /* !defined(__cpp_lib_atomic_wait) && defined(__glibcxx_want_atomic_wait) */
1379#undef __glibcxx_want_atomic_wait
1380
1381#if !defined(__cpp_lib_barrier)
1382# if (__cplusplus >= 202002L) && (__cpp_aligned_new && __glibcxx_atomic_wait)
1383# define __glibcxx_barrier 201907L
1384# if defined(__glibcxx_want_all) || defined(__glibcxx_want_barrier)
1385# define __cpp_lib_barrier 201907L
1386# endif
1387# endif
1388#endif /* !defined(__cpp_lib_barrier) && defined(__glibcxx_want_barrier) */
1389#undef __glibcxx_want_barrier
1390
1391#if !defined(__cpp_lib_format)
1392# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
1393# define __glibcxx_format 202311L
1394# if defined(__glibcxx_want_all) || defined(__glibcxx_want_format)
1395# define __cpp_lib_format 202311L
1396# endif
1397# elif (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1398# define __glibcxx_format 202304L
1399# if defined(__glibcxx_want_all) || defined(__glibcxx_want_format)
1400# define __cpp_lib_format 202304L
1401# endif
1402# endif
1403#endif /* !defined(__cpp_lib_format) && defined(__glibcxx_want_format) */
1404#undef __glibcxx_want_format
1405
1406#if !defined(__cpp_lib_format_uchar)
1407# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1408# define __glibcxx_format_uchar 202311L
1409# if defined(__glibcxx_want_all) || defined(__glibcxx_want_format_uchar)
1410# define __cpp_lib_format_uchar 202311L
1411# endif
1412# endif
1413#endif /* !defined(__cpp_lib_format_uchar) && defined(__glibcxx_want_format_uchar) */
1414#undef __glibcxx_want_format_uchar
1415
1416#if !defined(__cpp_lib_constexpr_complex)
1417# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1418# define __glibcxx_constexpr_complex 201711L
1419# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_complex)
1420# define __cpp_lib_constexpr_complex 201711L
1421# endif
1422# endif
1423#endif /* !defined(__cpp_lib_constexpr_complex) && defined(__glibcxx_want_constexpr_complex) */
1424#undef __glibcxx_want_constexpr_complex
1425
1426#if !defined(__cpp_lib_constexpr_dynamic_alloc)
1427# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1428# define __glibcxx_constexpr_dynamic_alloc 201907L
1429# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_dynamic_alloc)
1430# define __cpp_lib_constexpr_dynamic_alloc 201907L
1431# endif
1432# endif
1433#endif /* !defined(__cpp_lib_constexpr_dynamic_alloc) && defined(__glibcxx_want_constexpr_dynamic_alloc) */
1434#undef __glibcxx_want_constexpr_dynamic_alloc
1435
1436#if !defined(__cpp_lib_constexpr_string)
1437# if (__cplusplus >= 202002L) && _GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED && (defined(__glibcxx_is_constant_evaluated))
1438# define __glibcxx_constexpr_string 201907L
1439# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_string)
1440# define __cpp_lib_constexpr_string 201907L
1441# endif
1442# elif (__cplusplus >= 202002L) && !_GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED && (defined(__glibcxx_is_constant_evaluated))
1443# define __glibcxx_constexpr_string 201811L
1444# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_string)
1445# define __cpp_lib_constexpr_string 201811L
1446# endif
1447# elif (__cplusplus >= 201703L) && _GLIBCXX_HOSTED && (_GLIBCXX_HAVE_IS_CONSTANT_EVALUATED)
1448# define __glibcxx_constexpr_string 201611L
1449# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_string)
1450# define __cpp_lib_constexpr_string 201611L
1451# endif
1452# endif
1453#endif /* !defined(__cpp_lib_constexpr_string) && defined(__glibcxx_want_constexpr_string) */
1454#undef __glibcxx_want_constexpr_string
1455
1456#if !defined(__cpp_lib_constexpr_vector)
1457# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1458# define __glibcxx_constexpr_vector 201907L
1459# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_vector)
1460# define __cpp_lib_constexpr_vector 201907L
1461# endif
1462# endif
1463#endif /* !defined(__cpp_lib_constexpr_vector) && defined(__glibcxx_want_constexpr_vector) */
1464#undef __glibcxx_want_constexpr_vector
1465
1466#if !defined(__cpp_lib_constrained_equality)
1467# if (__cplusplus >= 202100L) && (__glibcxx_three_way_comparison)
1468# define __glibcxx_constrained_equality 202411L
1469# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constrained_equality)
1470# define __cpp_lib_constrained_equality 202411L
1471# endif
1472# elif (__cplusplus >= 202002L) && (__glibcxx_three_way_comparison)
1473# define __glibcxx_constrained_equality 202403L
1474# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constrained_equality)
1475# define __cpp_lib_constrained_equality 202403L
1476# endif
1477# endif
1478#endif /* !defined(__cpp_lib_constrained_equality) && defined(__glibcxx_want_constrained_equality) */
1479#undef __glibcxx_want_constrained_equality
1480
1481#if !defined(__cpp_lib_erase_if)
1482# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1483# define __glibcxx_erase_if 202002L
1484# if defined(__glibcxx_want_all) || defined(__glibcxx_want_erase_if)
1485# define __cpp_lib_erase_if 202002L
1486# endif
1487# endif
1488#endif /* !defined(__cpp_lib_erase_if) && defined(__glibcxx_want_erase_if) */
1489#undef __glibcxx_want_erase_if
1490
1491#if !defined(__cpp_lib_generic_unordered_lookup)
1492# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1493# define __glibcxx_generic_unordered_lookup 201811L
1494# if defined(__glibcxx_want_all) || defined(__glibcxx_want_generic_unordered_lookup)
1495# define __cpp_lib_generic_unordered_lookup 201811L
1496# endif
1497# endif
1498#endif /* !defined(__cpp_lib_generic_unordered_lookup) && defined(__glibcxx_want_generic_unordered_lookup) */
1499#undef __glibcxx_want_generic_unordered_lookup
1500
1501#if !defined(__cpp_lib_jthread)
1502# if (__cplusplus >= 202002L) && defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED
1503# define __glibcxx_jthread 201911L
1504# if defined(__glibcxx_want_all) || defined(__glibcxx_want_jthread)
1505# define __cpp_lib_jthread 201911L
1506# endif
1507# endif
1508#endif /* !defined(__cpp_lib_jthread) && defined(__glibcxx_want_jthread) */
1509#undef __glibcxx_want_jthread
1510
1511#if !defined(__cpp_lib_latch)
1512# if (__cplusplus >= 202002L) && (__glibcxx_atomic_wait)
1513# define __glibcxx_latch 201907L
1514# if defined(__glibcxx_want_all) || defined(__glibcxx_want_latch)
1515# define __cpp_lib_latch 201907L
1516# endif
1517# endif
1518#endif /* !defined(__cpp_lib_latch) && defined(__glibcxx_want_latch) */
1519#undef __glibcxx_want_latch
1520
1521#if !defined(__cpp_lib_list_remove_return_type)
1522# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1523# define __glibcxx_list_remove_return_type 201806L
1524# if defined(__glibcxx_want_all) || defined(__glibcxx_want_list_remove_return_type)
1525# define __cpp_lib_list_remove_return_type 201806L
1526# endif
1527# endif
1528#endif /* !defined(__cpp_lib_list_remove_return_type) && defined(__glibcxx_want_list_remove_return_type) */
1529#undef __glibcxx_want_list_remove_return_type
1530
1531#if !defined(__cpp_lib_polymorphic_allocator)
1532# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1533# define __glibcxx_polymorphic_allocator 201902L
1534# if defined(__glibcxx_want_all) || defined(__glibcxx_want_polymorphic_allocator)
1535# define __cpp_lib_polymorphic_allocator 201902L
1536# endif
1537# endif
1538#endif /* !defined(__cpp_lib_polymorphic_allocator) && defined(__glibcxx_want_polymorphic_allocator) */
1539#undef __glibcxx_want_polymorphic_allocator
1540
1541#if !defined(__cpp_lib_move_iterator_concept)
1542# if (__cplusplus >= 202002L) && (__glibcxx_concepts)
1543# define __glibcxx_move_iterator_concept 202207L
1544# if defined(__glibcxx_want_all) || defined(__glibcxx_want_move_iterator_concept)
1545# define __cpp_lib_move_iterator_concept 202207L
1546# endif
1547# endif
1548#endif /* !defined(__cpp_lib_move_iterator_concept) && defined(__glibcxx_want_move_iterator_concept) */
1549#undef __glibcxx_want_move_iterator_concept
1550
1551#if !defined(__cpp_lib_semaphore)
1552# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED && (__glibcxx_atomic_wait)
1553# define __glibcxx_semaphore 201907L
1554# if defined(__glibcxx_want_all) || defined(__glibcxx_want_semaphore)
1555# define __cpp_lib_semaphore 201907L
1556# endif
1557# endif
1558#endif /* !defined(__cpp_lib_semaphore) && defined(__glibcxx_want_semaphore) */
1559#undef __glibcxx_want_semaphore
1560
1561#if !defined(__cpp_lib_smart_ptr_for_overwrite)
1562# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1563# define __glibcxx_smart_ptr_for_overwrite 202002L
1564# if defined(__glibcxx_want_all) || defined(__glibcxx_want_smart_ptr_for_overwrite)
1565# define __cpp_lib_smart_ptr_for_overwrite 202002L
1566# endif
1567# endif
1568#endif /* !defined(__cpp_lib_smart_ptr_for_overwrite) && defined(__glibcxx_want_smart_ptr_for_overwrite) */
1569#undef __glibcxx_want_smart_ptr_for_overwrite
1570
1571#if !defined(__cpp_lib_syncbuf)
1572# if (__cplusplus >= 202002L) && _GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED
1573# define __glibcxx_syncbuf 201803L
1574# if defined(__glibcxx_want_all) || defined(__glibcxx_want_syncbuf)
1575# define __cpp_lib_syncbuf 201803L
1576# endif
1577# endif
1578#endif /* !defined(__cpp_lib_syncbuf) && defined(__glibcxx_want_syncbuf) */
1579#undef __glibcxx_want_syncbuf
1580
1581#if !defined(__cpp_lib_byteswap)
1582# if (__cplusplus >= 202100L)
1583# define __glibcxx_byteswap 202110L
1584# if defined(__glibcxx_want_all) || defined(__glibcxx_want_byteswap)
1585# define __cpp_lib_byteswap 202110L
1586# endif
1587# endif
1588#endif /* !defined(__cpp_lib_byteswap) && defined(__glibcxx_want_byteswap) */
1589#undef __glibcxx_want_byteswap
1590
1591#if !defined(__cpp_lib_constexpr_charconv)
1592# if (__cplusplus >= 202100L)
1593# define __glibcxx_constexpr_charconv 202207L
1594# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_charconv)
1595# define __cpp_lib_constexpr_charconv 202207L
1596# endif
1597# endif
1598#endif /* !defined(__cpp_lib_constexpr_charconv) && defined(__glibcxx_want_constexpr_charconv) */
1599#undef __glibcxx_want_constexpr_charconv
1600
1601#if !defined(__cpp_lib_constexpr_typeinfo)
1602# if (__cplusplus >= 202100L)
1603# define __glibcxx_constexpr_typeinfo 202106L
1604# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_typeinfo)
1605# define __cpp_lib_constexpr_typeinfo 202106L
1606# endif
1607# endif
1608#endif /* !defined(__cpp_lib_constexpr_typeinfo) && defined(__glibcxx_want_constexpr_typeinfo) */
1609#undef __glibcxx_want_constexpr_typeinfo
1610
1611#if !defined(__cpp_lib_expected)
1612# if (__cplusplus >= 202100L) && (__cpp_concepts >= 202002L)
1613# define __glibcxx_expected 202211L
1614# if defined(__glibcxx_want_all) || defined(__glibcxx_want_expected)
1615# define __cpp_lib_expected 202211L
1616# endif
1617# endif
1618#endif /* !defined(__cpp_lib_expected) && defined(__glibcxx_want_expected) */
1619#undef __glibcxx_want_expected
1620
1621#if !defined(__cpp_lib_format_ranges)
1622# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
1623# define __glibcxx_format_ranges 202207L
1624# if defined(__glibcxx_want_all) || defined(__glibcxx_want_format_ranges)
1625# define __cpp_lib_format_ranges 202207L
1626# endif
1627# endif
1628#endif /* !defined(__cpp_lib_format_ranges) && defined(__glibcxx_want_format_ranges) */
1629#undef __glibcxx_want_format_ranges
1630
1631#if !defined(__cpp_lib_freestanding_algorithm)
1632# if (__cplusplus >= 202100L)
1633# define __glibcxx_freestanding_algorithm 202311L
1634# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_algorithm)
1635# define __cpp_lib_freestanding_algorithm 202311L
1636# endif
1637# endif
1638#endif /* !defined(__cpp_lib_freestanding_algorithm) && defined(__glibcxx_want_freestanding_algorithm) */
1639#undef __glibcxx_want_freestanding_algorithm
1640
1641#if !defined(__cpp_lib_freestanding_array)
1642# if (__cplusplus >= 202100L)
1643# define __glibcxx_freestanding_array 202311L
1644# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_array)
1645# define __cpp_lib_freestanding_array 202311L
1646# endif
1647# endif
1648#endif /* !defined(__cpp_lib_freestanding_array) && defined(__glibcxx_want_freestanding_array) */
1649#undef __glibcxx_want_freestanding_array
1650
1651#if !defined(__cpp_lib_freestanding_cstring)
1652# if (__cplusplus >= 202100L)
1653# define __glibcxx_freestanding_cstring 202311L
1654# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_cstring)
1655# define __cpp_lib_freestanding_cstring 202311L
1656# endif
1657# endif
1658#endif /* !defined(__cpp_lib_freestanding_cstring) && defined(__glibcxx_want_freestanding_cstring) */
1659#undef __glibcxx_want_freestanding_cstring
1660
1661#if !defined(__cpp_lib_freestanding_expected)
1662# if (__cplusplus >= 202100L) && (__cpp_lib_expected)
1663# define __glibcxx_freestanding_expected 202311L
1664# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_expected)
1665# define __cpp_lib_freestanding_expected 202311L
1666# endif
1667# endif
1668#endif /* !defined(__cpp_lib_freestanding_expected) && defined(__glibcxx_want_freestanding_expected) */
1669#undef __glibcxx_want_freestanding_expected
1670
1671#if !defined(__cpp_lib_freestanding_optional)
1672# if (__cplusplus >= 202100L)
1673# define __glibcxx_freestanding_optional 202311L
1674# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_optional)
1675# define __cpp_lib_freestanding_optional 202311L
1676# endif
1677# endif
1678#endif /* !defined(__cpp_lib_freestanding_optional) && defined(__glibcxx_want_freestanding_optional) */
1679#undef __glibcxx_want_freestanding_optional
1680
1681#if !defined(__cpp_lib_freestanding_string_view)
1682# if (__cplusplus >= 202100L)
1683# define __glibcxx_freestanding_string_view 202311L
1684# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_string_view)
1685# define __cpp_lib_freestanding_string_view 202311L
1686# endif
1687# endif
1688#endif /* !defined(__cpp_lib_freestanding_string_view) && defined(__glibcxx_want_freestanding_string_view) */
1689#undef __glibcxx_want_freestanding_string_view
1690
1691#if !defined(__cpp_lib_freestanding_variant)
1692# if (__cplusplus >= 202100L)
1693# define __glibcxx_freestanding_variant 202311L
1694# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_variant)
1695# define __cpp_lib_freestanding_variant 202311L
1696# endif
1697# endif
1698#endif /* !defined(__cpp_lib_freestanding_variant) && defined(__glibcxx_want_freestanding_variant) */
1699#undef __glibcxx_want_freestanding_variant
1700
1701#if !defined(__cpp_lib_invoke_r)
1702# if (__cplusplus >= 202100L)
1703# define __glibcxx_invoke_r 202106L
1704# if defined(__glibcxx_want_all) || defined(__glibcxx_want_invoke_r)
1705# define __cpp_lib_invoke_r 202106L
1706# endif
1707# endif
1708#endif /* !defined(__cpp_lib_invoke_r) && defined(__glibcxx_want_invoke_r) */
1709#undef __glibcxx_want_invoke_r
1710
1711#if !defined(__cpp_lib_is_scoped_enum)
1712# if (__cplusplus >= 202100L)
1713# define __glibcxx_is_scoped_enum 202011L
1714# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_scoped_enum)
1715# define __cpp_lib_is_scoped_enum 202011L
1716# endif
1717# endif
1718#endif /* !defined(__cpp_lib_is_scoped_enum) && defined(__glibcxx_want_is_scoped_enum) */
1719#undef __glibcxx_want_is_scoped_enum
1720
1721#if !defined(__cpp_lib_reference_from_temporary)
1722# if (__cplusplus >= 202100L) && (__has_builtin(__reference_constructs_from_temporary) && __has_builtin(__reference_converts_from_temporary))
1723# define __glibcxx_reference_from_temporary 202202L
1724# if defined(__glibcxx_want_all) || defined(__glibcxx_want_reference_from_temporary)
1725# define __cpp_lib_reference_from_temporary 202202L
1726# endif
1727# endif
1728#endif /* !defined(__cpp_lib_reference_from_temporary) && defined(__glibcxx_want_reference_from_temporary) */
1729#undef __glibcxx_want_reference_from_temporary
1730
1731#if !defined(__cpp_lib_containers_ranges)
1732# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
1733# define __glibcxx_containers_ranges 202202L
1734# if defined(__glibcxx_want_all) || defined(__glibcxx_want_containers_ranges)
1735# define __cpp_lib_containers_ranges 202202L
1736# endif
1737# endif
1738#endif /* !defined(__cpp_lib_containers_ranges) && defined(__glibcxx_want_containers_ranges) */
1739#undef __glibcxx_want_containers_ranges
1740
1741#if !defined(__cpp_lib_ranges_to_container)
1742# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
1743# define __glibcxx_ranges_to_container 202202L
1744# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_to_container)
1745# define __cpp_lib_ranges_to_container 202202L
1746# endif
1747# endif
1748#endif /* !defined(__cpp_lib_ranges_to_container) && defined(__glibcxx_want_ranges_to_container) */
1749#undef __glibcxx_want_ranges_to_container
1750
1751#if !defined(__cpp_lib_ranges_zip)
1752# if (__cplusplus >= 202100L)
1753# define __glibcxx_ranges_zip 202110L
1754# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_zip)
1755# define __cpp_lib_ranges_zip 202110L
1756# endif
1757# endif
1758#endif /* !defined(__cpp_lib_ranges_zip) && defined(__glibcxx_want_ranges_zip) */
1759#undef __glibcxx_want_ranges_zip
1760
1761#if !defined(__cpp_lib_ranges_chunk)
1762# if (__cplusplus >= 202100L)
1763# define __glibcxx_ranges_chunk 202202L
1764# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_chunk)
1765# define __cpp_lib_ranges_chunk 202202L
1766# endif
1767# endif
1768#endif /* !defined(__cpp_lib_ranges_chunk) && defined(__glibcxx_want_ranges_chunk) */
1769#undef __glibcxx_want_ranges_chunk
1770
1771#if !defined(__cpp_lib_ranges_slide)
1772# if (__cplusplus >= 202100L)
1773# define __glibcxx_ranges_slide 202202L
1774# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_slide)
1775# define __cpp_lib_ranges_slide 202202L
1776# endif
1777# endif
1778#endif /* !defined(__cpp_lib_ranges_slide) && defined(__glibcxx_want_ranges_slide) */
1779#undef __glibcxx_want_ranges_slide
1780
1781#if !defined(__cpp_lib_ranges_chunk_by)
1782# if (__cplusplus >= 202100L)
1783# define __glibcxx_ranges_chunk_by 202202L
1784# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_chunk_by)
1785# define __cpp_lib_ranges_chunk_by 202202L
1786# endif
1787# endif
1788#endif /* !defined(__cpp_lib_ranges_chunk_by) && defined(__glibcxx_want_ranges_chunk_by) */
1789#undef __glibcxx_want_ranges_chunk_by
1790
1791#if !defined(__cpp_lib_ranges_join_with)
1792# if (__cplusplus >= 202100L)
1793# define __glibcxx_ranges_join_with 202202L
1794# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_join_with)
1795# define __cpp_lib_ranges_join_with 202202L
1796# endif
1797# endif
1798#endif /* !defined(__cpp_lib_ranges_join_with) && defined(__glibcxx_want_ranges_join_with) */
1799#undef __glibcxx_want_ranges_join_with
1800
1801#if !defined(__cpp_lib_ranges_repeat)
1802# if (__cplusplus >= 202100L)
1803# define __glibcxx_ranges_repeat 202207L
1804# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_repeat)
1805# define __cpp_lib_ranges_repeat 202207L
1806# endif
1807# endif
1808#endif /* !defined(__cpp_lib_ranges_repeat) && defined(__glibcxx_want_ranges_repeat) */
1809#undef __glibcxx_want_ranges_repeat
1810
1811#if !defined(__cpp_lib_ranges_stride)
1812# if (__cplusplus >= 202100L)
1813# define __glibcxx_ranges_stride 202207L
1814# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_stride)
1815# define __cpp_lib_ranges_stride 202207L
1816# endif
1817# endif
1818#endif /* !defined(__cpp_lib_ranges_stride) && defined(__glibcxx_want_ranges_stride) */
1819#undef __glibcxx_want_ranges_stride
1820
1821#if !defined(__cpp_lib_ranges_cartesian_product)
1822# if (__cplusplus >= 202100L)
1823# define __glibcxx_ranges_cartesian_product 202207L
1824# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_cartesian_product)
1825# define __cpp_lib_ranges_cartesian_product 202207L
1826# endif
1827# endif
1828#endif /* !defined(__cpp_lib_ranges_cartesian_product) && defined(__glibcxx_want_ranges_cartesian_product) */
1829#undef __glibcxx_want_ranges_cartesian_product
1830
1831#if !defined(__cpp_lib_ranges_as_rvalue)
1832# if (__cplusplus >= 202100L)
1833# define __glibcxx_ranges_as_rvalue 202207L
1834# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_as_rvalue)
1835# define __cpp_lib_ranges_as_rvalue 202207L
1836# endif
1837# endif
1838#endif /* !defined(__cpp_lib_ranges_as_rvalue) && defined(__glibcxx_want_ranges_as_rvalue) */
1839#undef __glibcxx_want_ranges_as_rvalue
1840
1841#if !defined(__cpp_lib_ranges_as_const)
1842# if (__cplusplus >= 202100L)
1843# define __glibcxx_ranges_as_const 202311L
1844# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_as_const)
1845# define __cpp_lib_ranges_as_const 202311L
1846# endif
1847# endif
1848#endif /* !defined(__cpp_lib_ranges_as_const) && defined(__glibcxx_want_ranges_as_const) */
1849#undef __glibcxx_want_ranges_as_const
1850
1851#if !defined(__cpp_lib_ranges_enumerate)
1852# if (__cplusplus >= 202100L)
1853# define __glibcxx_ranges_enumerate 202302L
1854# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_enumerate)
1855# define __cpp_lib_ranges_enumerate 202302L
1856# endif
1857# endif
1858#endif /* !defined(__cpp_lib_ranges_enumerate) && defined(__glibcxx_want_ranges_enumerate) */
1859#undef __glibcxx_want_ranges_enumerate
1860
1861#if !defined(__cpp_lib_ranges_fold)
1862# if (__cplusplus >= 202100L)
1863# define __glibcxx_ranges_fold 202207L
1864# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_fold)
1865# define __cpp_lib_ranges_fold 202207L
1866# endif
1867# endif
1868#endif /* !defined(__cpp_lib_ranges_fold) && defined(__glibcxx_want_ranges_fold) */
1869#undef __glibcxx_want_ranges_fold
1870
1871#if !defined(__cpp_lib_ranges_contains)
1872# if (__cplusplus >= 202100L)
1873# define __glibcxx_ranges_contains 202207L
1874# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_contains)
1875# define __cpp_lib_ranges_contains 202207L
1876# endif
1877# endif
1878#endif /* !defined(__cpp_lib_ranges_contains) && defined(__glibcxx_want_ranges_contains) */
1879#undef __glibcxx_want_ranges_contains
1880
1881#if !defined(__cpp_lib_ranges_iota)
1882# if (__cplusplus >= 202100L)
1883# define __glibcxx_ranges_iota 202202L
1884# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_iota)
1885# define __cpp_lib_ranges_iota 202202L
1886# endif
1887# endif
1888#endif /* !defined(__cpp_lib_ranges_iota) && defined(__glibcxx_want_ranges_iota) */
1889#undef __glibcxx_want_ranges_iota
1890
1891#if !defined(__cpp_lib_ranges_find_last)
1892# if (__cplusplus >= 202100L)
1893# define __glibcxx_ranges_find_last 202207L
1894# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_find_last)
1895# define __cpp_lib_ranges_find_last 202207L
1896# endif
1897# endif
1898#endif /* !defined(__cpp_lib_ranges_find_last) && defined(__glibcxx_want_ranges_find_last) */
1899#undef __glibcxx_want_ranges_find_last
1900
1901#if !defined(__cpp_lib_ranges_starts_ends_with)
1902# if (__cplusplus >= 202100L)
1903# define __glibcxx_ranges_starts_ends_with 202106L
1904# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_starts_ends_with)
1905# define __cpp_lib_ranges_starts_ends_with 202106L
1906# endif
1907# endif
1908#endif /* !defined(__cpp_lib_ranges_starts_ends_with) && defined(__glibcxx_want_ranges_starts_ends_with) */
1909#undef __glibcxx_want_ranges_starts_ends_with
1910
1911#if !defined(__cpp_lib_constexpr_bitset)
1912# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED && (__cpp_constexpr_dynamic_alloc)
1913# define __glibcxx_constexpr_bitset 202202L
1914# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_bitset)
1915# define __cpp_lib_constexpr_bitset 202202L
1916# endif
1917# endif
1918#endif /* !defined(__cpp_lib_constexpr_bitset) && defined(__glibcxx_want_constexpr_bitset) */
1919#undef __glibcxx_want_constexpr_bitset
1920
1921#if !defined(__cpp_lib_stdatomic_h)
1922# if (__cplusplus >= 202100L)
1923# define __glibcxx_stdatomic_h 202011L
1924# if defined(__glibcxx_want_all) || defined(__glibcxx_want_stdatomic_h)
1925# define __cpp_lib_stdatomic_h 202011L
1926# endif
1927# endif
1928#endif /* !defined(__cpp_lib_stdatomic_h) && defined(__glibcxx_want_stdatomic_h) */
1929#undef __glibcxx_want_stdatomic_h
1930
1931#if !defined(__cpp_lib_adaptor_iterator_pair_constructor)
1932# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
1933# define __glibcxx_adaptor_iterator_pair_constructor 202106L
1934# if defined(__glibcxx_want_all) || defined(__glibcxx_want_adaptor_iterator_pair_constructor)
1935# define __cpp_lib_adaptor_iterator_pair_constructor 202106L
1936# endif
1937# endif
1938#endif /* !defined(__cpp_lib_adaptor_iterator_pair_constructor) && defined(__glibcxx_want_adaptor_iterator_pair_constructor) */
1939#undef __glibcxx_want_adaptor_iterator_pair_constructor
1940
1941#if !defined(__cpp_lib_flat_map)
1942# if (__cplusplus >= 202100L)
1943# define __glibcxx_flat_map 202207L
1944# if defined(__glibcxx_want_all) || defined(__glibcxx_want_flat_map)
1945# define __cpp_lib_flat_map 202207L
1946# endif
1947# endif
1948#endif /* !defined(__cpp_lib_flat_map) && defined(__glibcxx_want_flat_map) */
1949#undef __glibcxx_want_flat_map
1950
1951#if !defined(__cpp_lib_flat_set)
1952# if (__cplusplus >= 202100L)
1953# define __glibcxx_flat_set 202207L
1954# if defined(__glibcxx_want_all) || defined(__glibcxx_want_flat_set)
1955# define __cpp_lib_flat_set 202207L
1956# endif
1957# endif
1958#endif /* !defined(__cpp_lib_flat_set) && defined(__glibcxx_want_flat_set) */
1959#undef __glibcxx_want_flat_set
1960
1961#if !defined(__cpp_lib_formatters)
1962# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
1963# define __glibcxx_formatters 202302L
1964# if defined(__glibcxx_want_all) || defined(__glibcxx_want_formatters)
1965# define __cpp_lib_formatters 202302L
1966# endif
1967# endif
1968#endif /* !defined(__cpp_lib_formatters) && defined(__glibcxx_want_formatters) */
1969#undef __glibcxx_want_formatters
1970
1971#if !defined(__cpp_lib_forward_like)
1972# if (__cplusplus >= 202100L)
1973# define __glibcxx_forward_like 202207L
1974# if defined(__glibcxx_want_all) || defined(__glibcxx_want_forward_like)
1975# define __cpp_lib_forward_like 202207L
1976# endif
1977# endif
1978#endif /* !defined(__cpp_lib_forward_like) && defined(__glibcxx_want_forward_like) */
1979#undef __glibcxx_want_forward_like
1980
1981#if !defined(__cpp_lib_generator)
1982# if (__cplusplus >= 202100L) && (__glibcxx_coroutine && __cpp_sized_deallocation)
1983# define __glibcxx_generator 202207L
1984# if defined(__glibcxx_want_all) || defined(__glibcxx_want_generator)
1985# define __cpp_lib_generator 202207L
1986# endif
1987# endif
1988#endif /* !defined(__cpp_lib_generator) && defined(__glibcxx_want_generator) */
1989#undef __glibcxx_want_generator
1990
1991#if !defined(__cpp_lib_ios_noreplace)
1992# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
1993# define __glibcxx_ios_noreplace 202207L
1994# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ios_noreplace)
1995# define __cpp_lib_ios_noreplace 202207L
1996# endif
1997# endif
1998#endif /* !defined(__cpp_lib_ios_noreplace) && defined(__glibcxx_want_ios_noreplace) */
1999#undef __glibcxx_want_ios_noreplace
2000
2001#if !defined(__cpp_lib_move_only_function)
2002# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
2003# define __glibcxx_move_only_function 202110L
2004# if defined(__glibcxx_want_all) || defined(__glibcxx_want_move_only_function)
2005# define __cpp_lib_move_only_function 202110L
2006# endif
2007# endif
2008#endif /* !defined(__cpp_lib_move_only_function) && defined(__glibcxx_want_move_only_function) */
2009#undef __glibcxx_want_move_only_function
2010
2011#if !defined(__cpp_lib_copyable_function)
2012# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2013# define __glibcxx_copyable_function 202306L
2014# if defined(__glibcxx_want_all) || defined(__glibcxx_want_copyable_function)
2015# define __cpp_lib_copyable_function 202306L
2016# endif
2017# endif
2018#endif /* !defined(__cpp_lib_copyable_function) && defined(__glibcxx_want_copyable_function) */
2019#undef __glibcxx_want_copyable_function
2020
2021#if !defined(__cpp_lib_function_ref)
2022# if (__cplusplus > 202302L)
2023# define __glibcxx_function_ref 202306L
2024# if defined(__glibcxx_want_all) || defined(__glibcxx_want_function_ref)
2025# define __cpp_lib_function_ref 202306L
2026# endif
2027# endif
2028#endif /* !defined(__cpp_lib_function_ref) && defined(__glibcxx_want_function_ref) */
2029#undef __glibcxx_want_function_ref
2030
2031#if !defined(__cpp_lib_out_ptr)
2032# if (__cplusplus >= 202100L)
2033# define __glibcxx_out_ptr 202311L
2034# if defined(__glibcxx_want_all) || defined(__glibcxx_want_out_ptr)
2035# define __cpp_lib_out_ptr 202311L
2036# endif
2037# endif
2038#endif /* !defined(__cpp_lib_out_ptr) && defined(__glibcxx_want_out_ptr) */
2039#undef __glibcxx_want_out_ptr
2040
2041#if !defined(__cpp_lib_print)
2042# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
2043# define __glibcxx_print 202211L
2044# if defined(__glibcxx_want_all) || defined(__glibcxx_want_print)
2045# define __cpp_lib_print 202211L
2046# endif
2047# endif
2048#endif /* !defined(__cpp_lib_print) && defined(__glibcxx_want_print) */
2049#undef __glibcxx_want_print
2050
2051#if !defined(__cpp_lib_spanstream)
2052# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED && (__glibcxx_span)
2053# define __glibcxx_spanstream 202106L
2054# if defined(__glibcxx_want_all) || defined(__glibcxx_want_spanstream)
2055# define __cpp_lib_spanstream 202106L
2056# endif
2057# endif
2058#endif /* !defined(__cpp_lib_spanstream) && defined(__glibcxx_want_spanstream) */
2059#undef __glibcxx_want_spanstream
2060
2061#if !defined(__cpp_lib_stacktrace)
2062# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED && (_GLIBCXX_HAVE_STACKTRACE)
2063# define __glibcxx_stacktrace 202011L
2064# if defined(__glibcxx_want_all) || defined(__glibcxx_want_stacktrace)
2065# define __cpp_lib_stacktrace 202011L
2066# endif
2067# endif
2068#endif /* !defined(__cpp_lib_stacktrace) && defined(__glibcxx_want_stacktrace) */
2069#undef __glibcxx_want_stacktrace
2070
2071#if !defined(__cpp_lib_string_contains)
2072# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
2073# define __glibcxx_string_contains 202011L
2074# if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_contains)
2075# define __cpp_lib_string_contains 202011L
2076# endif
2077# endif
2078#endif /* !defined(__cpp_lib_string_contains) && defined(__glibcxx_want_string_contains) */
2079#undef __glibcxx_want_string_contains
2080
2081#if !defined(__cpp_lib_string_resize_and_overwrite)
2082# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
2083# define __glibcxx_string_resize_and_overwrite 202110L
2084# if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_resize_and_overwrite)
2085# define __cpp_lib_string_resize_and_overwrite 202110L
2086# endif
2087# endif
2088#endif /* !defined(__cpp_lib_string_resize_and_overwrite) && defined(__glibcxx_want_string_resize_and_overwrite) */
2089#undef __glibcxx_want_string_resize_and_overwrite
2090
2091#if !defined(__cpp_lib_to_underlying)
2092# if (__cplusplus >= 202100L)
2093# define __glibcxx_to_underlying 202102L
2094# if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_underlying)
2095# define __cpp_lib_to_underlying 202102L
2096# endif
2097# endif
2098#endif /* !defined(__cpp_lib_to_underlying) && defined(__glibcxx_want_to_underlying) */
2099#undef __glibcxx_want_to_underlying
2100
2101#if !defined(__cpp_lib_tuple_like)
2102# if (__cplusplus > 202302L) && (__cpp_explicit_this_parameter >= 202110L)
2103# define __glibcxx_tuple_like 202311L
2104# if defined(__glibcxx_want_all) || defined(__glibcxx_want_tuple_like)
2105# define __cpp_lib_tuple_like 202311L
2106# endif
2107# elif (__cplusplus >= 202100L)
2108# define __glibcxx_tuple_like 202207L
2109# if defined(__glibcxx_want_all) || defined(__glibcxx_want_tuple_like)
2110# define __cpp_lib_tuple_like 202207L
2111# endif
2112# endif
2113#endif /* !defined(__cpp_lib_tuple_like) && defined(__glibcxx_want_tuple_like) */
2114#undef __glibcxx_want_tuple_like
2115
2116#if !defined(__cpp_lib_unreachable)
2117# if (__cplusplus >= 202100L)
2118# define __glibcxx_unreachable 202202L
2119# if defined(__glibcxx_want_all) || defined(__glibcxx_want_unreachable)
2120# define __cpp_lib_unreachable 202202L
2121# endif
2122# endif
2123#endif /* !defined(__cpp_lib_unreachable) && defined(__glibcxx_want_unreachable) */
2124#undef __glibcxx_want_unreachable
2125
2126#if !defined(__cpp_lib_algorithm_default_value_type)
2127# if (__cplusplus > 202302L)
2128# define __glibcxx_algorithm_default_value_type 202403L
2129# if defined(__glibcxx_want_all) || defined(__glibcxx_want_algorithm_default_value_type)
2130# define __cpp_lib_algorithm_default_value_type 202403L
2131# endif
2132# endif
2133#endif /* !defined(__cpp_lib_algorithm_default_value_type) && defined(__glibcxx_want_algorithm_default_value_type) */
2134#undef __glibcxx_want_algorithm_default_value_type
2135
2136#if !defined(__cpp_lib_constexpr_new)
2137# if (__cplusplus > 202302L) && (__cpp_constexpr >= 202406L)
2138# define __glibcxx_constexpr_new 202406L
2139# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_new)
2140# define __cpp_lib_constexpr_new 202406L
2141# endif
2142# endif
2143#endif /* !defined(__cpp_lib_constexpr_new) && defined(__glibcxx_want_constexpr_new) */
2144#undef __glibcxx_want_constexpr_new
2145
2146#if !defined(__cpp_lib_debugging)
2147# if (__cplusplus > 202302L)
2148# define __glibcxx_debugging 202403L
2149# if defined(__glibcxx_want_all) || defined(__glibcxx_want_debugging)
2150# define __cpp_lib_debugging 202403L
2151# endif
2152# endif
2153#endif /* !defined(__cpp_lib_debugging) && defined(__glibcxx_want_debugging) */
2154#undef __glibcxx_want_debugging
2155
2156#if !defined(__cpp_lib_fstream_native_handle)
2157# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2158# define __glibcxx_fstream_native_handle 202306L
2159# if defined(__glibcxx_want_all) || defined(__glibcxx_want_fstream_native_handle)
2160# define __cpp_lib_fstream_native_handle 202306L
2161# endif
2162# endif
2163#endif /* !defined(__cpp_lib_fstream_native_handle) && defined(__glibcxx_want_fstream_native_handle) */
2164#undef __glibcxx_want_fstream_native_handle
2165
2166#if !defined(__cpp_lib_is_virtual_base_of)
2167# if (__cplusplus > 202302L) && (__has_builtin(__builtin_is_virtual_base_of))
2168# define __glibcxx_is_virtual_base_of 202406L
2169# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_virtual_base_of)
2170# define __cpp_lib_is_virtual_base_of 202406L
2171# endif
2172# endif
2173#endif /* !defined(__cpp_lib_is_virtual_base_of) && defined(__glibcxx_want_is_virtual_base_of) */
2174#undef __glibcxx_want_is_virtual_base_of
2175
2176#if !defined(__cpp_lib_ranges_cache_latest)
2177# if (__cplusplus > 202302L)
2178# define __glibcxx_ranges_cache_latest 202411L
2179# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_cache_latest)
2180# define __cpp_lib_ranges_cache_latest 202411L
2181# endif
2182# endif
2183#endif /* !defined(__cpp_lib_ranges_cache_latest) && defined(__glibcxx_want_ranges_cache_latest) */
2184#undef __glibcxx_want_ranges_cache_latest
2185
2186#if !defined(__cpp_lib_ranges_concat)
2187# if (__cplusplus > 202302L) && (__cpp_pack_indexing)
2188# define __glibcxx_ranges_concat 202403L
2189# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_concat)
2190# define __cpp_lib_ranges_concat 202403L
2191# endif
2192# endif
2193#endif /* !defined(__cpp_lib_ranges_concat) && defined(__glibcxx_want_ranges_concat) */
2194#undef __glibcxx_want_ranges_concat
2195
2196#if !defined(__cpp_lib_ratio)
2197# if (__cplusplus > 202302L)
2198# define __glibcxx_ratio 202306L
2199# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ratio)
2200# define __cpp_lib_ratio 202306L
2201# endif
2202# endif
2203#endif /* !defined(__cpp_lib_ratio) && defined(__glibcxx_want_ratio) */
2204#undef __glibcxx_want_ratio
2205
2206#if !defined(__cpp_lib_reference_wrapper)
2207# if (__cplusplus > 202302L)
2208# define __glibcxx_reference_wrapper 202403L
2209# if defined(__glibcxx_want_all) || defined(__glibcxx_want_reference_wrapper)
2210# define __cpp_lib_reference_wrapper 202403L
2211# endif
2212# endif
2213#endif /* !defined(__cpp_lib_reference_wrapper) && defined(__glibcxx_want_reference_wrapper) */
2214#undef __glibcxx_want_reference_wrapper
2215
2216#if !defined(__cpp_lib_saturation_arithmetic)
2217# if (__cplusplus > 202302L)
2218# define __glibcxx_saturation_arithmetic 202311L
2219# if defined(__glibcxx_want_all) || defined(__glibcxx_want_saturation_arithmetic)
2220# define __cpp_lib_saturation_arithmetic 202311L
2221# endif
2222# endif
2223#endif /* !defined(__cpp_lib_saturation_arithmetic) && defined(__glibcxx_want_saturation_arithmetic) */
2224#undef __glibcxx_want_saturation_arithmetic
2225
2226#if !defined(__cpp_lib_span_initializer_list)
2227# if (__cplusplus > 202302L)
2228# define __glibcxx_span_initializer_list 202311L
2229# if defined(__glibcxx_want_all) || defined(__glibcxx_want_span_initializer_list)
2230# define __cpp_lib_span_initializer_list 202311L
2231# endif
2232# endif
2233#endif /* !defined(__cpp_lib_span_initializer_list) && defined(__glibcxx_want_span_initializer_list) */
2234#undef __glibcxx_want_span_initializer_list
2235
2236#if !defined(__cpp_lib_text_encoding)
2237# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED && (_GLIBCXX_USE_NL_LANGINFO_L)
2238# define __glibcxx_text_encoding 202306L
2239# if defined(__glibcxx_want_all) || defined(__glibcxx_want_text_encoding)
2240# define __cpp_lib_text_encoding 202306L
2241# endif
2242# endif
2243#endif /* !defined(__cpp_lib_text_encoding) && defined(__glibcxx_want_text_encoding) */
2244#undef __glibcxx_want_text_encoding
2245
2246#if !defined(__cpp_lib_ranges_to_input)
2247# if (__cplusplus > 202302L)
2248# define __glibcxx_ranges_to_input 202502L
2249# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_to_input)
2250# define __cpp_lib_ranges_to_input 202502L
2251# endif
2252# endif
2253#endif /* !defined(__cpp_lib_ranges_to_input) && defined(__glibcxx_want_ranges_to_input) */
2254#undef __glibcxx_want_ranges_to_input
2255
2256#if !defined(__cpp_lib_to_string)
2257# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED && (__glibcxx_to_chars)
2258# define __glibcxx_to_string 202306L
2259# if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_string)
2260# define __cpp_lib_to_string 202306L
2261# endif
2262# endif
2263#endif /* !defined(__cpp_lib_to_string) && defined(__glibcxx_want_to_string) */
2264#undef __glibcxx_want_to_string
2265
2266#if !defined(__cpp_lib_modules)
2267# if (__cplusplus >= 202002L) && (__cpp_modules)
2268# define __glibcxx_modules 202207L
2269# if defined(__glibcxx_want_all) || defined(__glibcxx_want_modules)
2270# define __cpp_lib_modules 202207L
2271# endif
2272# endif
2273#endif /* !defined(__cpp_lib_modules) && defined(__glibcxx_want_modules) */
2274#undef __glibcxx_want_modules
2275
2276#if !defined(__cpp_lib_inplace_vector)
2277# if (__cplusplus > 202302L)
2278# define __glibcxx_inplace_vector 202406L
2279# if defined(__glibcxx_want_all) || defined(__glibcxx_want_inplace_vector)
2280# define __cpp_lib_inplace_vector 202406L
2281# endif
2282# endif
2283#endif /* !defined(__cpp_lib_inplace_vector) && defined(__glibcxx_want_inplace_vector) */
2284#undef __glibcxx_want_inplace_vector
2285
2286#if !defined(__cpp_lib_indirect)
2287# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2288# define __glibcxx_indirect 202502L
2289# if defined(__glibcxx_want_all) || defined(__glibcxx_want_indirect)
2290# define __cpp_lib_indirect 202502L
2291# endif
2292# endif
2293#endif /* !defined(__cpp_lib_indirect) && defined(__glibcxx_want_indirect) */
2294#undef __glibcxx_want_indirect
2295
2296#if !defined(__cpp_lib_polymorphic)
2297# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2298# define __glibcxx_polymorphic 202502L
2299# if defined(__glibcxx_want_all) || defined(__glibcxx_want_polymorphic)
2300# define __cpp_lib_polymorphic 202502L
2301# endif
2302# endif
2303#endif /* !defined(__cpp_lib_polymorphic) && defined(__glibcxx_want_polymorphic) */
2304#undef __glibcxx_want_polymorphic
2305
2306#if !defined(__cpp_lib_smart_ptr_owner_equality)
2307# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2308# define __glibcxx_smart_ptr_owner_equality 202306L
2309# if defined(__glibcxx_want_all) || defined(__glibcxx_want_smart_ptr_owner_equality)
2310# define __cpp_lib_smart_ptr_owner_equality 202306L
2311# endif
2312# endif
2313#endif /* !defined(__cpp_lib_smart_ptr_owner_equality) && defined(__glibcxx_want_smart_ptr_owner_equality) */
2314#undef __glibcxx_want_smart_ptr_owner_equality
2315
2316#if !defined(__cpp_lib_sstream_from_string_view)
2317# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2318# define __glibcxx_sstream_from_string_view 202306L
2319# if defined(__glibcxx_want_all) || defined(__glibcxx_want_sstream_from_string_view)
2320# define __cpp_lib_sstream_from_string_view 202306L
2321# endif
2322# endif
2323#endif /* !defined(__cpp_lib_sstream_from_string_view) && defined(__glibcxx_want_sstream_from_string_view) */
2324#undef __glibcxx_want_sstream_from_string_view
2325
2326#if !defined(__cpp_lib_type_order)
2327# if (__cplusplus > 202302L) && (__has_builtin(__builtin_type_order) && __cpp_lib_three_way_comparison >= 201907L)
2328# define __glibcxx_type_order 202506L
2329# if defined(__glibcxx_want_all) || defined(__glibcxx_want_type_order)
2330# define __cpp_lib_type_order 202506L
2331# endif
2332# endif
2333#endif /* !defined(__cpp_lib_type_order) && defined(__glibcxx_want_type_order) */
2334#undef __glibcxx_want_type_order
2335
2336#if !defined(__cpp_lib_exception_ptr_cast)
2337# if (__cplusplus > 202302L)
2338# define __glibcxx_exception_ptr_cast 202506L
2339# if defined(__glibcxx_want_all) || defined(__glibcxx_want_exception_ptr_cast)
2340# define __cpp_lib_exception_ptr_cast 202506L
2341# endif
2342# endif
2343#endif /* !defined(__cpp_lib_exception_ptr_cast) && defined(__glibcxx_want_exception_ptr_cast) */
2344#undef __glibcxx_want_exception_ptr_cast
2345
2346#if !defined(__cpp_lib_bitset)
2347# if (__cplusplus > 202302L)
2348# define __glibcxx_bitset 202306L
2349# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bitset)
2350# define __cpp_lib_bitset 202306L
2351# endif
2352# endif
2353#endif /* !defined(__cpp_lib_bitset) && defined(__glibcxx_want_bitset) */
2354#undef __glibcxx_want_bitset
2355
2356#if !defined(__cpp_lib_constexpr_exceptions)
2357# if (__cplusplus > 202302L) && (__cpp_constexpr_exceptions >= 202411L)
2358# define __glibcxx_constexpr_exceptions 1L
2359# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_exceptions)
2360# endif
2361# endif
2362#endif /* !defined(__cpp_lib_constexpr_exceptions) && defined(__glibcxx_want_constexpr_exceptions) */
2363#undef __glibcxx_want_constexpr_exceptions
2364
2365#undef __glibcxx_want_all