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_constant_wrapper)
434# if (__cplusplus > 202302L)
435# define __glibcxx_constant_wrapper 202506L
436# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constant_wrapper)
437# define __cpp_lib_constant_wrapper 202506L
438# endif
439# endif
440#endif /* !defined(__cpp_lib_constant_wrapper) && defined(__glibcxx_want_constant_wrapper) */
441#undef __glibcxx_want_constant_wrapper
442
443#if !defined(__cpp_lib_has_unique_object_representations)
444# if (__cplusplus >= 201703L) && (defined(_GLIBCXX_HAVE_BUILTIN_HAS_UNIQ_OBJ_REP))
445# define __glibcxx_has_unique_object_representations 201606L
446# if defined(__glibcxx_want_all) || defined(__glibcxx_want_has_unique_object_representations)
447# define __cpp_lib_has_unique_object_representations 201606L
448# endif
449# endif
450#endif /* !defined(__cpp_lib_has_unique_object_representations) && defined(__glibcxx_want_has_unique_object_representations) */
451#undef __glibcxx_want_has_unique_object_representations
452
453#if !defined(__cpp_lib_hardware_interference_size)
454# if (__cplusplus >= 201703L) && (defined(__GCC_DESTRUCTIVE_SIZE))
455# define __glibcxx_hardware_interference_size 201703L
456# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardware_interference_size)
457# define __cpp_lib_hardware_interference_size 201703L
458# endif
459# endif
460#endif /* !defined(__cpp_lib_hardware_interference_size) && defined(__glibcxx_want_hardware_interference_size) */
461#undef __glibcxx_want_hardware_interference_size
462
463#if !defined(__cpp_lib_invoke)
464# if (__cplusplus >= 201703L)
465# define __glibcxx_invoke 201411L
466# if defined(__glibcxx_want_all) || defined(__glibcxx_want_invoke)
467# define __cpp_lib_invoke 201411L
468# endif
469# endif
470#endif /* !defined(__cpp_lib_invoke) && defined(__glibcxx_want_invoke) */
471#undef __glibcxx_want_invoke
472
473#if !defined(__cpp_lib_is_aggregate)
474# if (__cplusplus >= 201703L) && (defined(_GLIBCXX_HAVE_BUILTIN_IS_AGGREGATE))
475# define __glibcxx_is_aggregate 201703L
476# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_aggregate)
477# define __cpp_lib_is_aggregate 201703L
478# endif
479# endif
480#endif /* !defined(__cpp_lib_is_aggregate) && defined(__glibcxx_want_is_aggregate) */
481#undef __glibcxx_want_is_aggregate
482
483#if !defined(__cpp_lib_is_invocable)
484# if (__cplusplus >= 201703L)
485# define __glibcxx_is_invocable 201703L
486# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_invocable)
487# define __cpp_lib_is_invocable 201703L
488# endif
489# endif
490#endif /* !defined(__cpp_lib_is_invocable) && defined(__glibcxx_want_is_invocable) */
491#undef __glibcxx_want_is_invocable
492
493#if !defined(__cpp_lib_launder)
494# if (__cplusplus >= 201703L) && (defined(_GLIBCXX_HAVE_BUILTIN_LAUNDER))
495# define __glibcxx_launder 201606L
496# if defined(__glibcxx_want_all) || defined(__glibcxx_want_launder)
497# define __cpp_lib_launder 201606L
498# endif
499# endif
500#endif /* !defined(__cpp_lib_launder) && defined(__glibcxx_want_launder) */
501#undef __glibcxx_want_launder
502
503#if !defined(__cpp_lib_logical_traits)
504# if (__cplusplus >= 201703L)
505# define __glibcxx_logical_traits 201510L
506# if defined(__glibcxx_want_all) || defined(__glibcxx_want_logical_traits)
507# define __cpp_lib_logical_traits 201510L
508# endif
509# endif
510#endif /* !defined(__cpp_lib_logical_traits) && defined(__glibcxx_want_logical_traits) */
511#undef __glibcxx_want_logical_traits
512
513#if !defined(__cpp_lib_make_from_tuple)
514# if (__cplusplus >= 201703L)
515# define __glibcxx_make_from_tuple 201606L
516# if defined(__glibcxx_want_all) || defined(__glibcxx_want_make_from_tuple)
517# define __cpp_lib_make_from_tuple 201606L
518# endif
519# endif
520#endif /* !defined(__cpp_lib_make_from_tuple) && defined(__glibcxx_want_make_from_tuple) */
521#undef __glibcxx_want_make_from_tuple
522
523#if !defined(__cpp_lib_not_fn)
524# if (__cplusplus > 202302L)
525# define __glibcxx_not_fn 202306L
526# if defined(__glibcxx_want_all) || defined(__glibcxx_want_not_fn)
527# define __cpp_lib_not_fn 202306L
528# endif
529# elif (__cplusplus >= 201703L)
530# define __glibcxx_not_fn 201603L
531# if defined(__glibcxx_want_all) || defined(__glibcxx_want_not_fn)
532# define __cpp_lib_not_fn 201603L
533# endif
534# endif
535#endif /* !defined(__cpp_lib_not_fn) && defined(__glibcxx_want_not_fn) */
536#undef __glibcxx_want_not_fn
537
538#if !defined(__cpp_lib_type_trait_variable_templates)
539# if (__cplusplus >= 201703L)
540# define __glibcxx_type_trait_variable_templates 201510L
541# if defined(__glibcxx_want_all) || defined(__glibcxx_want_type_trait_variable_templates)
542# define __cpp_lib_type_trait_variable_templates 201510L
543# endif
544# endif
545#endif /* !defined(__cpp_lib_type_trait_variable_templates) && defined(__glibcxx_want_type_trait_variable_templates) */
546#undef __glibcxx_want_type_trait_variable_templates
547
548#if !defined(__cpp_lib_variant)
549# if (__cplusplus > 202302L) && (__cpp_concepts >= 202002L && __cpp_constexpr >= 201811L && __cpp_explicit_this_parameter)
550# define __glibcxx_variant 202306L
551# if defined(__glibcxx_want_all) || defined(__glibcxx_want_variant)
552# define __cpp_lib_variant 202306L
553# endif
554# elif (__cplusplus >= 202002L) && (__cpp_concepts >= 202002L && __cpp_constexpr >= 201811L)
555# define __glibcxx_variant 202106L
556# if defined(__glibcxx_want_all) || defined(__glibcxx_want_variant)
557# define __cpp_lib_variant 202106L
558# endif
559# elif (__cplusplus >= 201703L)
560# define __glibcxx_variant 202102L
561# if defined(__glibcxx_want_all) || defined(__glibcxx_want_variant)
562# define __cpp_lib_variant 202102L
563# endif
564# endif
565#endif /* !defined(__cpp_lib_variant) && defined(__glibcxx_want_variant) */
566#undef __glibcxx_want_variant
567
568#if !defined(__cpp_lib_lcm)
569# if (__cplusplus >= 201703L)
570# define __glibcxx_lcm 201606L
571# if defined(__glibcxx_want_all) || defined(__glibcxx_want_lcm)
572# define __cpp_lib_lcm 201606L
573# endif
574# endif
575#endif /* !defined(__cpp_lib_lcm) && defined(__glibcxx_want_lcm) */
576#undef __glibcxx_want_lcm
577
578#if !defined(__cpp_lib_gcd)
579# if (__cplusplus >= 201703L)
580# define __glibcxx_gcd 201606L
581# if defined(__glibcxx_want_all) || defined(__glibcxx_want_gcd)
582# define __cpp_lib_gcd 201606L
583# endif
584# endif
585#endif /* !defined(__cpp_lib_gcd) && defined(__glibcxx_want_gcd) */
586#undef __glibcxx_want_gcd
587
588#if !defined(__cpp_lib_gcd_lcm)
589# if (__cplusplus >= 201703L)
590# define __glibcxx_gcd_lcm 201606L
591# if defined(__glibcxx_want_all) || defined(__glibcxx_want_gcd_lcm)
592# define __cpp_lib_gcd_lcm 201606L
593# endif
594# endif
595#endif /* !defined(__cpp_lib_gcd_lcm) && defined(__glibcxx_want_gcd_lcm) */
596#undef __glibcxx_want_gcd_lcm
597
598#if !defined(__cpp_lib_raw_memory_algorithms)
599# if (__cplusplus > 202302L) && (__cpp_constexpr >= 202406L)
600# define __glibcxx_raw_memory_algorithms 202411L
601# if defined(__glibcxx_want_all) || defined(__glibcxx_want_raw_memory_algorithms)
602# define __cpp_lib_raw_memory_algorithms 202411L
603# endif
604# elif (__cplusplus >= 201703L)
605# define __glibcxx_raw_memory_algorithms 201606L
606# if defined(__glibcxx_want_all) || defined(__glibcxx_want_raw_memory_algorithms)
607# define __cpp_lib_raw_memory_algorithms 201606L
608# endif
609# endif
610#endif /* !defined(__cpp_lib_raw_memory_algorithms) && defined(__glibcxx_want_raw_memory_algorithms) */
611#undef __glibcxx_want_raw_memory_algorithms
612
613#if !defined(__cpp_lib_array_constexpr)
614# if (__cplusplus >= 202002L)
615# define __glibcxx_array_constexpr 201811L
616# if defined(__glibcxx_want_all) || defined(__glibcxx_want_array_constexpr)
617# define __cpp_lib_array_constexpr 201811L
618# endif
619# elif (__cplusplus >= 201703L)
620# define __glibcxx_array_constexpr 201803L
621# if defined(__glibcxx_want_all) || defined(__glibcxx_want_array_constexpr)
622# define __cpp_lib_array_constexpr 201803L
623# endif
624# endif
625#endif /* !defined(__cpp_lib_array_constexpr) && defined(__glibcxx_want_array_constexpr) */
626#undef __glibcxx_want_array_constexpr
627
628#if !defined(__cpp_lib_nonmember_container_access)
629# if (__cplusplus >= 201703L)
630# define __glibcxx_nonmember_container_access 201411L
631# if defined(__glibcxx_want_all) || defined(__glibcxx_want_nonmember_container_access)
632# define __cpp_lib_nonmember_container_access 201411L
633# endif
634# endif
635#endif /* !defined(__cpp_lib_nonmember_container_access) && defined(__glibcxx_want_nonmember_container_access) */
636#undef __glibcxx_want_nonmember_container_access
637
638#if !defined(__cpp_lib_clamp)
639# if (__cplusplus >= 201703L)
640# define __glibcxx_clamp 201603L
641# if defined(__glibcxx_want_all) || defined(__glibcxx_want_clamp)
642# define __cpp_lib_clamp 201603L
643# endif
644# endif
645#endif /* !defined(__cpp_lib_clamp) && defined(__glibcxx_want_clamp) */
646#undef __glibcxx_want_clamp
647
648#if !defined(__cpp_lib_sample)
649# if (__cplusplus >= 201703L)
650# define __glibcxx_sample 201603L
651# if defined(__glibcxx_want_all) || defined(__glibcxx_want_sample)
652# define __cpp_lib_sample 201603L
653# endif
654# endif
655#endif /* !defined(__cpp_lib_sample) && defined(__glibcxx_want_sample) */
656#undef __glibcxx_want_sample
657
658#if !defined(__cpp_lib_boyer_moore_searcher)
659# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
660# define __glibcxx_boyer_moore_searcher 201603L
661# if defined(__glibcxx_want_all) || defined(__glibcxx_want_boyer_moore_searcher)
662# define __cpp_lib_boyer_moore_searcher 201603L
663# endif
664# endif
665#endif /* !defined(__cpp_lib_boyer_moore_searcher) && defined(__glibcxx_want_boyer_moore_searcher) */
666#undef __glibcxx_want_boyer_moore_searcher
667
668#if !defined(__cpp_lib_chrono)
669# if (__cplusplus >= 202002L) && _GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED
670# define __glibcxx_chrono 201907L
671# if defined(__glibcxx_want_all) || defined(__glibcxx_want_chrono)
672# define __cpp_lib_chrono 201907L
673# endif
674# elif (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
675# define __glibcxx_chrono 201611L
676# if defined(__glibcxx_want_all) || defined(__glibcxx_want_chrono)
677# define __cpp_lib_chrono 201611L
678# endif
679# endif
680#endif /* !defined(__cpp_lib_chrono) && defined(__glibcxx_want_chrono) */
681#undef __glibcxx_want_chrono
682
683#if !defined(__cpp_lib_chrono_cxx20)
684# if (__cplusplus >= 202002L)
685# define __glibcxx_chrono_cxx20 201800L
686# if defined(__glibcxx_want_all) || defined(__glibcxx_want_chrono_cxx20)
687# endif
688# endif
689#endif /* !defined(__cpp_lib_chrono_cxx20) && defined(__glibcxx_want_chrono_cxx20) */
690#undef __glibcxx_want_chrono_cxx20
691
692#if !defined(__cpp_lib_execution)
693# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
694# define __glibcxx_execution 201902L
695# if defined(__glibcxx_want_all) || defined(__glibcxx_want_execution)
696# define __cpp_lib_execution 201902L
697# endif
698# endif
699#endif /* !defined(__cpp_lib_execution) && defined(__glibcxx_want_execution) */
700#undef __glibcxx_want_execution
701
702#if !defined(__cpp_lib_filesystem)
703# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
704# define __glibcxx_filesystem 201703L
705# if defined(__glibcxx_want_all) || defined(__glibcxx_want_filesystem)
706# define __cpp_lib_filesystem 201703L
707# endif
708# endif
709#endif /* !defined(__cpp_lib_filesystem) && defined(__glibcxx_want_filesystem) */
710#undef __glibcxx_want_filesystem
711
712#if !defined(__cpp_lib_hypot)
713# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
714# define __glibcxx_hypot 201603L
715# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hypot)
716# define __cpp_lib_hypot 201603L
717# endif
718# endif
719#endif /* !defined(__cpp_lib_hypot) && defined(__glibcxx_want_hypot) */
720#undef __glibcxx_want_hypot
721
722#if !defined(__cpp_lib_map_try_emplace)
723# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
724# define __glibcxx_map_try_emplace 201411L
725# if defined(__glibcxx_want_all) || defined(__glibcxx_want_map_try_emplace)
726# define __cpp_lib_map_try_emplace 201411L
727# endif
728# endif
729#endif /* !defined(__cpp_lib_map_try_emplace) && defined(__glibcxx_want_map_try_emplace) */
730#undef __glibcxx_want_map_try_emplace
731
732#if !defined(__cpp_lib_math_special_functions)
733# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
734# define __glibcxx_math_special_functions 201603L
735# if defined(__glibcxx_want_all) || defined(__glibcxx_want_math_special_functions)
736# define __cpp_lib_math_special_functions 201603L
737# endif
738# endif
739#endif /* !defined(__cpp_lib_math_special_functions) && defined(__glibcxx_want_math_special_functions) */
740#undef __glibcxx_want_math_special_functions
741
742#if !defined(__cpp_lib_memory_resource)
743# if (__cplusplus >= 201703L) && defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED
744# define __glibcxx_memory_resource 201603L
745# if defined(__glibcxx_want_all) || defined(__glibcxx_want_memory_resource)
746# define __cpp_lib_memory_resource 201603L
747# endif
748# elif (__cplusplus >= 201703L) && !defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED
749# define __glibcxx_memory_resource 1L
750# if defined(__glibcxx_want_all) || defined(__glibcxx_want_memory_resource)
751# define __cpp_lib_memory_resource 1L
752# endif
753# endif
754#endif /* !defined(__cpp_lib_memory_resource) && defined(__glibcxx_want_memory_resource) */
755#undef __glibcxx_want_memory_resource
756
757#if !defined(__cpp_lib_node_extract)
758# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
759# define __glibcxx_node_extract 201606L
760# if defined(__glibcxx_want_all) || defined(__glibcxx_want_node_extract)
761# define __cpp_lib_node_extract 201606L
762# endif
763# endif
764#endif /* !defined(__cpp_lib_node_extract) && defined(__glibcxx_want_node_extract) */
765#undef __glibcxx_want_node_extract
766
767#if !defined(__cpp_lib_parallel_algorithm)
768# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
769# define __glibcxx_parallel_algorithm 201603L
770# if defined(__glibcxx_want_all) || defined(__glibcxx_want_parallel_algorithm)
771# define __cpp_lib_parallel_algorithm 201603L
772# endif
773# endif
774#endif /* !defined(__cpp_lib_parallel_algorithm) && defined(__glibcxx_want_parallel_algorithm) */
775#undef __glibcxx_want_parallel_algorithm
776
777#if !defined(__cpp_lib_scoped_lock)
778# if (__cplusplus >= 201703L)
779# define __glibcxx_scoped_lock 201703L
780# if defined(__glibcxx_want_all) || defined(__glibcxx_want_scoped_lock)
781# define __cpp_lib_scoped_lock 201703L
782# endif
783# endif
784#endif /* !defined(__cpp_lib_scoped_lock) && defined(__glibcxx_want_scoped_lock) */
785#undef __glibcxx_want_scoped_lock
786
787#if !defined(__cpp_lib_shared_mutex)
788# if (__cplusplus >= 201703L) && defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED
789# define __glibcxx_shared_mutex 201505L
790# if defined(__glibcxx_want_all) || defined(__glibcxx_want_shared_mutex)
791# define __cpp_lib_shared_mutex 201505L
792# endif
793# endif
794#endif /* !defined(__cpp_lib_shared_mutex) && defined(__glibcxx_want_shared_mutex) */
795#undef __glibcxx_want_shared_mutex
796
797#if !defined(__cpp_lib_shared_ptr_weak_type)
798# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
799# define __glibcxx_shared_ptr_weak_type 201606L
800# if defined(__glibcxx_want_all) || defined(__glibcxx_want_shared_ptr_weak_type)
801# define __cpp_lib_shared_ptr_weak_type 201606L
802# endif
803# endif
804#endif /* !defined(__cpp_lib_shared_ptr_weak_type) && defined(__glibcxx_want_shared_ptr_weak_type) */
805#undef __glibcxx_want_shared_ptr_weak_type
806
807#if !defined(__cpp_lib_string_view)
808# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
809# define __glibcxx_string_view 202403L
810# if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_view)
811# define __cpp_lib_string_view 202403L
812# endif
813# elif (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
814# define __glibcxx_string_view 201803L
815# if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_view)
816# define __cpp_lib_string_view 201803L
817# endif
818# endif
819#endif /* !defined(__cpp_lib_string_view) && defined(__glibcxx_want_string_view) */
820#undef __glibcxx_want_string_view
821
822#if !defined(__cpp_lib_unordered_map_try_emplace)
823# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
824# define __glibcxx_unordered_map_try_emplace 201411L
825# if defined(__glibcxx_want_all) || defined(__glibcxx_want_unordered_map_try_emplace)
826# define __cpp_lib_unordered_map_try_emplace 201411L
827# endif
828# endif
829#endif /* !defined(__cpp_lib_unordered_map_try_emplace) && defined(__glibcxx_want_unordered_map_try_emplace) */
830#undef __glibcxx_want_unordered_map_try_emplace
831
832#if !defined(__cpp_lib_assume_aligned)
833# if (__cplusplus >= 202002L)
834# define __glibcxx_assume_aligned 201811L
835# if defined(__glibcxx_want_all) || defined(__glibcxx_want_assume_aligned)
836# define __cpp_lib_assume_aligned 201811L
837# endif
838# endif
839#endif /* !defined(__cpp_lib_assume_aligned) && defined(__glibcxx_want_assume_aligned) */
840#undef __glibcxx_want_assume_aligned
841
842#if !defined(__cpp_lib_is_sufficiently_aligned)
843# if (__cplusplus > 202302L)
844# define __glibcxx_is_sufficiently_aligned 202411L
845# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_sufficiently_aligned)
846# define __cpp_lib_is_sufficiently_aligned 202411L
847# endif
848# endif
849#endif /* !defined(__cpp_lib_is_sufficiently_aligned) && defined(__glibcxx_want_is_sufficiently_aligned) */
850#undef __glibcxx_want_is_sufficiently_aligned
851
852#if !defined(__cpp_lib_atomic_flag_test)
853# if (__cplusplus >= 202002L)
854# define __glibcxx_atomic_flag_test 201907L
855# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_flag_test)
856# define __cpp_lib_atomic_flag_test 201907L
857# endif
858# endif
859#endif /* !defined(__cpp_lib_atomic_flag_test) && defined(__glibcxx_want_atomic_flag_test) */
860#undef __glibcxx_want_atomic_flag_test
861
862#if !defined(__cpp_lib_atomic_float)
863# if (__cplusplus >= 202002L)
864# define __glibcxx_atomic_float 201711L
865# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_float)
866# define __cpp_lib_atomic_float 201711L
867# endif
868# endif
869#endif /* !defined(__cpp_lib_atomic_float) && defined(__glibcxx_want_atomic_float) */
870#undef __glibcxx_want_atomic_float
871
872#if !defined(__cpp_lib_atomic_lock_free_type_aliases)
873# if (__cplusplus >= 202002L) && ((__GCC_ATOMIC_INT_LOCK_FREE | __GCC_ATOMIC_LONG_LOCK_FREE | __GCC_ATOMIC_CHAR_LOCK_FREE) & 2)
874# define __glibcxx_atomic_lock_free_type_aliases 201907L
875# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_lock_free_type_aliases)
876# define __cpp_lib_atomic_lock_free_type_aliases 201907L
877# endif
878# endif
879#endif /* !defined(__cpp_lib_atomic_lock_free_type_aliases) && defined(__glibcxx_want_atomic_lock_free_type_aliases) */
880#undef __glibcxx_want_atomic_lock_free_type_aliases
881
882#if !defined(__cpp_lib_atomic_ref)
883# if (__cplusplus >= 202002L)
884# define __glibcxx_atomic_ref 201806L
885# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_ref)
886# define __cpp_lib_atomic_ref 201806L
887# endif
888# endif
889#endif /* !defined(__cpp_lib_atomic_ref) && defined(__glibcxx_want_atomic_ref) */
890#undef __glibcxx_want_atomic_ref
891
892#if !defined(__cpp_lib_atomic_value_initialization)
893# if (__cplusplus >= 202002L) && (__cpp_concepts >= 201907L)
894# define __glibcxx_atomic_value_initialization 201911L
895# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_value_initialization)
896# define __cpp_lib_atomic_value_initialization 201911L
897# endif
898# endif
899#endif /* !defined(__cpp_lib_atomic_value_initialization) && defined(__glibcxx_want_atomic_value_initialization) */
900#undef __glibcxx_want_atomic_value_initialization
901
902#if !defined(__cpp_lib_bind_front)
903# if (__cplusplus > 202302L)
904# define __glibcxx_bind_front 202306L
905# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bind_front)
906# define __cpp_lib_bind_front 202306L
907# endif
908# elif (__cplusplus >= 202002L)
909# define __glibcxx_bind_front 201907L
910# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bind_front)
911# define __cpp_lib_bind_front 201907L
912# endif
913# endif
914#endif /* !defined(__cpp_lib_bind_front) && defined(__glibcxx_want_bind_front) */
915#undef __glibcxx_want_bind_front
916
917#if !defined(__cpp_lib_bind_back)
918# if (__cplusplus > 202302L)
919# define __glibcxx_bind_back 202306L
920# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bind_back)
921# define __cpp_lib_bind_back 202306L
922# endif
923# elif (__cplusplus >= 202100L) && (__cpp_explicit_this_parameter)
924# define __glibcxx_bind_back 202202L
925# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bind_back)
926# define __cpp_lib_bind_back 202202L
927# endif
928# endif
929#endif /* !defined(__cpp_lib_bind_back) && defined(__glibcxx_want_bind_back) */
930#undef __glibcxx_want_bind_back
931
932#if !defined(__cpp_lib_starts_ends_with)
933# if (__cplusplus >= 202002L)
934# define __glibcxx_starts_ends_with 201711L
935# if defined(__glibcxx_want_all) || defined(__glibcxx_want_starts_ends_with)
936# define __cpp_lib_starts_ends_with 201711L
937# endif
938# endif
939#endif /* !defined(__cpp_lib_starts_ends_with) && defined(__glibcxx_want_starts_ends_with) */
940#undef __glibcxx_want_starts_ends_with
941
942#if !defined(__cpp_lib_bit_cast)
943# if (__cplusplus >= 202002L) && (__has_builtin(__builtin_bit_cast))
944# define __glibcxx_bit_cast 201806L
945# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bit_cast)
946# define __cpp_lib_bit_cast 201806L
947# endif
948# endif
949#endif /* !defined(__cpp_lib_bit_cast) && defined(__glibcxx_want_bit_cast) */
950#undef __glibcxx_want_bit_cast
951
952#if !defined(__cpp_lib_bitops)
953# if (__cplusplus >= 202002L)
954# define __glibcxx_bitops 201907L
955# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bitops)
956# define __cpp_lib_bitops 201907L
957# endif
958# endif
959#endif /* !defined(__cpp_lib_bitops) && defined(__glibcxx_want_bitops) */
960#undef __glibcxx_want_bitops
961
962#if !defined(__cpp_lib_bounded_array_traits)
963# if (__cplusplus >= 202002L)
964# define __glibcxx_bounded_array_traits 201902L
965# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bounded_array_traits)
966# define __cpp_lib_bounded_array_traits 201902L
967# endif
968# endif
969#endif /* !defined(__cpp_lib_bounded_array_traits) && defined(__glibcxx_want_bounded_array_traits) */
970#undef __glibcxx_want_bounded_array_traits
971
972#if !defined(__cpp_lib_concepts)
973# if (__cplusplus >= 202002L) && (__cpp_concepts >= 201907L)
974# define __glibcxx_concepts 202002L
975# if defined(__glibcxx_want_all) || defined(__glibcxx_want_concepts)
976# define __cpp_lib_concepts 202002L
977# endif
978# endif
979#endif /* !defined(__cpp_lib_concepts) && defined(__glibcxx_want_concepts) */
980#undef __glibcxx_want_concepts
981
982#if !defined(__cpp_lib_optional)
983# if (__cplusplus >= 202100L) && (__glibcxx_concepts)
984# define __glibcxx_optional 202110L
985# if defined(__glibcxx_want_all) || defined(__glibcxx_want_optional)
986# define __cpp_lib_optional 202110L
987# endif
988# elif (__cplusplus >= 202002L)
989# define __glibcxx_optional 202106L
990# if defined(__glibcxx_want_all) || defined(__glibcxx_want_optional)
991# define __cpp_lib_optional 202106L
992# endif
993# elif (__cplusplus >= 201703L)
994# define __glibcxx_optional 201606L
995# if defined(__glibcxx_want_all) || defined(__glibcxx_want_optional)
996# define __cpp_lib_optional 201606L
997# endif
998# endif
999#endif /* !defined(__cpp_lib_optional) && defined(__glibcxx_want_optional) */
1000#undef __glibcxx_want_optional
1001
1002#if !defined(__cpp_lib_optional_range_support)
1003# if (__cplusplus > 202302L)
1004# define __glibcxx_optional_range_support 202406L
1005# if defined(__glibcxx_want_all) || defined(__glibcxx_want_optional_range_support)
1006# define __cpp_lib_optional_range_support 202406L
1007# endif
1008# endif
1009#endif /* !defined(__cpp_lib_optional_range_support) && defined(__glibcxx_want_optional_range_support) */
1010#undef __glibcxx_want_optional_range_support
1011
1012#if !defined(__cpp_lib_destroying_delete)
1013# if (__cplusplus >= 202002L) && (__cpp_impl_destroying_delete)
1014# define __glibcxx_destroying_delete 201806L
1015# if defined(__glibcxx_want_all) || defined(__glibcxx_want_destroying_delete)
1016# define __cpp_lib_destroying_delete 201806L
1017# endif
1018# endif
1019#endif /* !defined(__cpp_lib_destroying_delete) && defined(__glibcxx_want_destroying_delete) */
1020#undef __glibcxx_want_destroying_delete
1021
1022#if !defined(__cpp_lib_constexpr_string_view)
1023# if (__cplusplus >= 202002L)
1024# define __glibcxx_constexpr_string_view 201811L
1025# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_string_view)
1026# define __cpp_lib_constexpr_string_view 201811L
1027# endif
1028# endif
1029#endif /* !defined(__cpp_lib_constexpr_string_view) && defined(__glibcxx_want_constexpr_string_view) */
1030#undef __glibcxx_want_constexpr_string_view
1031
1032#if !defined(__cpp_lib_endian)
1033# if (__cplusplus >= 202002L)
1034# define __glibcxx_endian 201907L
1035# if defined(__glibcxx_want_all) || defined(__glibcxx_want_endian)
1036# define __cpp_lib_endian 201907L
1037# endif
1038# endif
1039#endif /* !defined(__cpp_lib_endian) && defined(__glibcxx_want_endian) */
1040#undef __glibcxx_want_endian
1041
1042#if !defined(__cpp_lib_int_pow2)
1043# if (__cplusplus >= 202002L)
1044# define __glibcxx_int_pow2 202002L
1045# if defined(__glibcxx_want_all) || defined(__glibcxx_want_int_pow2)
1046# define __cpp_lib_int_pow2 202002L
1047# endif
1048# endif
1049#endif /* !defined(__cpp_lib_int_pow2) && defined(__glibcxx_want_int_pow2) */
1050#undef __glibcxx_want_int_pow2
1051
1052#if !defined(__cpp_lib_integer_comparison_functions)
1053# if (__cplusplus >= 202002L)
1054# define __glibcxx_integer_comparison_functions 202002L
1055# if defined(__glibcxx_want_all) || defined(__glibcxx_want_integer_comparison_functions)
1056# define __cpp_lib_integer_comparison_functions 202002L
1057# endif
1058# endif
1059#endif /* !defined(__cpp_lib_integer_comparison_functions) && defined(__glibcxx_want_integer_comparison_functions) */
1060#undef __glibcxx_want_integer_comparison_functions
1061
1062#if !defined(__cpp_lib_is_constant_evaluated)
1063# if (__cplusplus >= 202002L) && (defined(_GLIBCXX_HAVE_IS_CONSTANT_EVALUATED))
1064# define __glibcxx_is_constant_evaluated 201811L
1065# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_constant_evaluated)
1066# define __cpp_lib_is_constant_evaluated 201811L
1067# endif
1068# endif
1069#endif /* !defined(__cpp_lib_is_constant_evaluated) && defined(__glibcxx_want_is_constant_evaluated) */
1070#undef __glibcxx_want_is_constant_evaluated
1071
1072#if !defined(__cpp_lib_constexpr_char_traits)
1073# if (__cplusplus >= 202002L) && (defined(__glibcxx_is_constant_evaluated))
1074# define __glibcxx_constexpr_char_traits 201811L
1075# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_char_traits)
1076# define __cpp_lib_constexpr_char_traits 201811L
1077# endif
1078# elif (__cplusplus >= 201703L) && (_GLIBCXX_HAVE_IS_CONSTANT_EVALUATED)
1079# define __glibcxx_constexpr_char_traits 201611L
1080# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_char_traits)
1081# define __cpp_lib_constexpr_char_traits 201611L
1082# endif
1083# endif
1084#endif /* !defined(__cpp_lib_constexpr_char_traits) && defined(__glibcxx_want_constexpr_char_traits) */
1085#undef __glibcxx_want_constexpr_char_traits
1086
1087#if !defined(__cpp_lib_is_layout_compatible)
1088# if (__cplusplus >= 202002L) && (__has_builtin(__is_layout_compatible) && __has_builtin(__builtin_is_corresponding_member))
1089# define __glibcxx_is_layout_compatible 201907L
1090# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_layout_compatible)
1091# define __cpp_lib_is_layout_compatible 201907L
1092# endif
1093# endif
1094#endif /* !defined(__cpp_lib_is_layout_compatible) && defined(__glibcxx_want_is_layout_compatible) */
1095#undef __glibcxx_want_is_layout_compatible
1096
1097#if !defined(__cpp_lib_is_nothrow_convertible)
1098# if (__cplusplus >= 202002L)
1099# define __glibcxx_is_nothrow_convertible 201806L
1100# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_nothrow_convertible)
1101# define __cpp_lib_is_nothrow_convertible 201806L
1102# endif
1103# endif
1104#endif /* !defined(__cpp_lib_is_nothrow_convertible) && defined(__glibcxx_want_is_nothrow_convertible) */
1105#undef __glibcxx_want_is_nothrow_convertible
1106
1107#if !defined(__cpp_lib_is_pointer_interconvertible)
1108# if (__cplusplus >= 202002L) && (__has_builtin(__is_pointer_interconvertible_base_of) && __has_builtin(__builtin_is_pointer_interconvertible_with_class))
1109# define __glibcxx_is_pointer_interconvertible 201907L
1110# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_pointer_interconvertible)
1111# define __cpp_lib_is_pointer_interconvertible 201907L
1112# endif
1113# endif
1114#endif /* !defined(__cpp_lib_is_pointer_interconvertible) && defined(__glibcxx_want_is_pointer_interconvertible) */
1115#undef __glibcxx_want_is_pointer_interconvertible
1116
1117#if !defined(__cpp_lib_math_constants)
1118# if (__cplusplus >= 202002L)
1119# define __glibcxx_math_constants 201907L
1120# if defined(__glibcxx_want_all) || defined(__glibcxx_want_math_constants)
1121# define __cpp_lib_math_constants 201907L
1122# endif
1123# endif
1124#endif /* !defined(__cpp_lib_math_constants) && defined(__glibcxx_want_math_constants) */
1125#undef __glibcxx_want_math_constants
1126
1127#if !defined(__cpp_lib_make_obj_using_allocator)
1128# if (__cplusplus >= 202002L) && (__cpp_concepts)
1129# define __glibcxx_make_obj_using_allocator 201811L
1130# if defined(__glibcxx_want_all) || defined(__glibcxx_want_make_obj_using_allocator)
1131# endif
1132# endif
1133#endif /* !defined(__cpp_lib_make_obj_using_allocator) && defined(__glibcxx_want_make_obj_using_allocator) */
1134#undef __glibcxx_want_make_obj_using_allocator
1135
1136#if !defined(__cpp_lib_remove_cvref)
1137# if (__cplusplus >= 202002L)
1138# define __glibcxx_remove_cvref 201711L
1139# if defined(__glibcxx_want_all) || defined(__glibcxx_want_remove_cvref)
1140# define __cpp_lib_remove_cvref 201711L
1141# endif
1142# endif
1143#endif /* !defined(__cpp_lib_remove_cvref) && defined(__glibcxx_want_remove_cvref) */
1144#undef __glibcxx_want_remove_cvref
1145
1146#if !defined(__cpp_lib_source_location)
1147# if (__cplusplus >= 202002L) && (__has_builtin(__builtin_source_location))
1148# define __glibcxx_source_location 201907L
1149# if defined(__glibcxx_want_all) || defined(__glibcxx_want_source_location)
1150# define __cpp_lib_source_location 201907L
1151# endif
1152# endif
1153#endif /* !defined(__cpp_lib_source_location) && defined(__glibcxx_want_source_location) */
1154#undef __glibcxx_want_source_location
1155
1156#if !defined(__cpp_lib_span)
1157# if (__cplusplus > 202302L) && (__glibcxx_concepts)
1158# define __glibcxx_span 202311L
1159# if defined(__glibcxx_want_all) || defined(__glibcxx_want_span)
1160# define __cpp_lib_span 202311L
1161# endif
1162# elif (__cplusplus >= 202002L) && (__glibcxx_concepts)
1163# define __glibcxx_span 202002L
1164# if defined(__glibcxx_want_all) || defined(__glibcxx_want_span)
1165# define __cpp_lib_span 202002L
1166# endif
1167# endif
1168#endif /* !defined(__cpp_lib_span) && defined(__glibcxx_want_span) */
1169#undef __glibcxx_want_span
1170
1171#if !defined(__cpp_lib_mdspan)
1172# if (__cplusplus > 202302L)
1173# define __glibcxx_mdspan 202406L
1174# if defined(__glibcxx_want_all) || defined(__glibcxx_want_mdspan)
1175# define __cpp_lib_mdspan 202406L
1176# endif
1177# elif (__cplusplus >= 202100L)
1178# define __glibcxx_mdspan 202207L
1179# if defined(__glibcxx_want_all) || defined(__glibcxx_want_mdspan)
1180# define __cpp_lib_mdspan 202207L
1181# endif
1182# endif
1183#endif /* !defined(__cpp_lib_mdspan) && defined(__glibcxx_want_mdspan) */
1184#undef __glibcxx_want_mdspan
1185
1186#if !defined(__cpp_lib_aligned_accessor)
1187# if (__cplusplus > 202302L) && (__glibcxx_assume_aligned && __glibcxx_is_sufficiently_aligned)
1188# define __glibcxx_aligned_accessor 202411L
1189# if defined(__glibcxx_want_all) || defined(__glibcxx_want_aligned_accessor)
1190# define __cpp_lib_aligned_accessor 202411L
1191# endif
1192# endif
1193#endif /* !defined(__cpp_lib_aligned_accessor) && defined(__glibcxx_want_aligned_accessor) */
1194#undef __glibcxx_want_aligned_accessor
1195
1196#if !defined(__cpp_lib_padded_layouts)
1197# if (__cplusplus > 202302L)
1198# define __glibcxx_padded_layouts 1L
1199# if defined(__glibcxx_want_all) || defined(__glibcxx_want_padded_layouts)
1200# endif
1201# endif
1202#endif /* !defined(__cpp_lib_padded_layouts) && defined(__glibcxx_want_padded_layouts) */
1203#undef __glibcxx_want_padded_layouts
1204
1205#if !defined(__cpp_lib_ssize)
1206# if (__cplusplus >= 202002L)
1207# define __glibcxx_ssize 201902L
1208# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ssize)
1209# define __cpp_lib_ssize 201902L
1210# endif
1211# endif
1212#endif /* !defined(__cpp_lib_ssize) && defined(__glibcxx_want_ssize) */
1213#undef __glibcxx_want_ssize
1214
1215#if !defined(__cpp_lib_three_way_comparison)
1216# if (__cplusplus >= 202002L) && (__cpp_impl_three_way_comparison >= 201907L && __glibcxx_concepts)
1217# define __glibcxx_three_way_comparison 201907L
1218# if defined(__glibcxx_want_all) || defined(__glibcxx_want_three_way_comparison)
1219# define __cpp_lib_three_way_comparison 201907L
1220# endif
1221# endif
1222#endif /* !defined(__cpp_lib_three_way_comparison) && defined(__glibcxx_want_three_way_comparison) */
1223#undef __glibcxx_want_three_way_comparison
1224
1225#if !defined(__cpp_lib_to_address)
1226# if (__cplusplus >= 202002L)
1227# define __glibcxx_to_address 201711L
1228# if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_address)
1229# define __cpp_lib_to_address 201711L
1230# endif
1231# endif
1232#endif /* !defined(__cpp_lib_to_address) && defined(__glibcxx_want_to_address) */
1233#undef __glibcxx_want_to_address
1234
1235#if !defined(__cpp_lib_to_array)
1236# if (__cplusplus >= 202002L) && (__cpp_generic_lambdas >= 201707L)
1237# define __glibcxx_to_array 201907L
1238# if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_array)
1239# define __cpp_lib_to_array 201907L
1240# endif
1241# endif
1242#endif /* !defined(__cpp_lib_to_array) && defined(__glibcxx_want_to_array) */
1243#undef __glibcxx_want_to_array
1244
1245#if !defined(__cpp_lib_type_identity)
1246# if (__cplusplus >= 202002L)
1247# define __glibcxx_type_identity 201806L
1248# if defined(__glibcxx_want_all) || defined(__glibcxx_want_type_identity)
1249# define __cpp_lib_type_identity 201806L
1250# endif
1251# endif
1252#endif /* !defined(__cpp_lib_type_identity) && defined(__glibcxx_want_type_identity) */
1253#undef __glibcxx_want_type_identity
1254
1255#if !defined(__cpp_lib_unwrap_ref)
1256# if (__cplusplus >= 202002L)
1257# define __glibcxx_unwrap_ref 201811L
1258# if defined(__glibcxx_want_all) || defined(__glibcxx_want_unwrap_ref)
1259# define __cpp_lib_unwrap_ref 201811L
1260# endif
1261# endif
1262#endif /* !defined(__cpp_lib_unwrap_ref) && defined(__glibcxx_want_unwrap_ref) */
1263#undef __glibcxx_want_unwrap_ref
1264
1265#if !defined(__cpp_lib_constexpr_iterator)
1266# if (__cplusplus >= 202002L)
1267# define __glibcxx_constexpr_iterator 201811L
1268# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_iterator)
1269# define __cpp_lib_constexpr_iterator 201811L
1270# endif
1271# endif
1272#endif /* !defined(__cpp_lib_constexpr_iterator) && defined(__glibcxx_want_constexpr_iterator) */
1273#undef __glibcxx_want_constexpr_iterator
1274
1275#if !defined(__cpp_lib_interpolate)
1276# if (__cplusplus >= 202002L)
1277# define __glibcxx_interpolate 201902L
1278# if defined(__glibcxx_want_all) || defined(__glibcxx_want_interpolate)
1279# define __cpp_lib_interpolate 201902L
1280# endif
1281# endif
1282#endif /* !defined(__cpp_lib_interpolate) && defined(__glibcxx_want_interpolate) */
1283#undef __glibcxx_want_interpolate
1284
1285#if !defined(__cpp_lib_constexpr_utility)
1286# if (__cplusplus >= 202002L)
1287# define __glibcxx_constexpr_utility 201811L
1288# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_utility)
1289# define __cpp_lib_constexpr_utility 201811L
1290# endif
1291# endif
1292#endif /* !defined(__cpp_lib_constexpr_utility) && defined(__glibcxx_want_constexpr_utility) */
1293#undef __glibcxx_want_constexpr_utility
1294
1295#if !defined(__cpp_lib_shift)
1296# if (__cplusplus >= 202100L)
1297# define __glibcxx_shift 202202L
1298# if defined(__glibcxx_want_all) || defined(__glibcxx_want_shift)
1299# define __cpp_lib_shift 202202L
1300# endif
1301# elif (__cplusplus >= 202002L)
1302# define __glibcxx_shift 201806L
1303# if defined(__glibcxx_want_all) || defined(__glibcxx_want_shift)
1304# define __cpp_lib_shift 201806L
1305# endif
1306# endif
1307#endif /* !defined(__cpp_lib_shift) && defined(__glibcxx_want_shift) */
1308#undef __glibcxx_want_shift
1309
1310#if !defined(__cpp_lib_ranges)
1311# if (__cplusplus > 202302L) && (__glibcxx_concepts)
1312# define __glibcxx_ranges 202406L
1313# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges)
1314# define __cpp_lib_ranges 202406L
1315# endif
1316# elif (__cplusplus >= 202100L) && (__glibcxx_concepts)
1317# define __glibcxx_ranges 202302L
1318# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges)
1319# define __cpp_lib_ranges 202302L
1320# endif
1321# elif (__cplusplus >= 202002L) && (__glibcxx_concepts)
1322# define __glibcxx_ranges 202110L
1323# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges)
1324# define __cpp_lib_ranges 202110L
1325# endif
1326# endif
1327#endif /* !defined(__cpp_lib_ranges) && defined(__glibcxx_want_ranges) */
1328#undef __glibcxx_want_ranges
1329
1330#if !defined(__cpp_lib_constexpr_numeric)
1331# if (__cplusplus >= 202002L)
1332# define __glibcxx_constexpr_numeric 201911L
1333# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_numeric)
1334# define __cpp_lib_constexpr_numeric 201911L
1335# endif
1336# endif
1337#endif /* !defined(__cpp_lib_constexpr_numeric) && defined(__glibcxx_want_constexpr_numeric) */
1338#undef __glibcxx_want_constexpr_numeric
1339
1340#if !defined(__cpp_lib_constexpr_functional)
1341# if (__cplusplus >= 202002L)
1342# define __glibcxx_constexpr_functional 201907L
1343# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_functional)
1344# define __cpp_lib_constexpr_functional 201907L
1345# endif
1346# endif
1347#endif /* !defined(__cpp_lib_constexpr_functional) && defined(__glibcxx_want_constexpr_functional) */
1348#undef __glibcxx_want_constexpr_functional
1349
1350#if !defined(__cpp_lib_constexpr_algorithms)
1351# if (__cplusplus > 202302L)
1352# define __glibcxx_constexpr_algorithms 202306L
1353# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_algorithms)
1354# define __cpp_lib_constexpr_algorithms 202306L
1355# endif
1356# elif (__cplusplus >= 202002L)
1357# define __glibcxx_constexpr_algorithms 201806L
1358# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_algorithms)
1359# define __cpp_lib_constexpr_algorithms 201806L
1360# endif
1361# endif
1362#endif /* !defined(__cpp_lib_constexpr_algorithms) && defined(__glibcxx_want_constexpr_algorithms) */
1363#undef __glibcxx_want_constexpr_algorithms
1364
1365#if !defined(__cpp_lib_constexpr_tuple)
1366# if (__cplusplus >= 202002L)
1367# define __glibcxx_constexpr_tuple 201811L
1368# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_tuple)
1369# define __cpp_lib_constexpr_tuple 201811L
1370# endif
1371# endif
1372#endif /* !defined(__cpp_lib_constexpr_tuple) && defined(__glibcxx_want_constexpr_tuple) */
1373#undef __glibcxx_want_constexpr_tuple
1374
1375#if !defined(__cpp_lib_constexpr_memory)
1376# if (__cplusplus >= 202100L) && (__cpp_constexpr_dynamic_alloc)
1377# define __glibcxx_constexpr_memory 202202L
1378# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_memory)
1379# define __cpp_lib_constexpr_memory 202202L
1380# endif
1381# elif (__cplusplus >= 202002L)
1382# define __glibcxx_constexpr_memory 201811L
1383# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_memory)
1384# define __cpp_lib_constexpr_memory 201811L
1385# endif
1386# endif
1387#endif /* !defined(__cpp_lib_constexpr_memory) && defined(__glibcxx_want_constexpr_memory) */
1388#undef __glibcxx_want_constexpr_memory
1389
1390#if !defined(__cpp_lib_atomic_shared_ptr)
1391# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1392# define __glibcxx_atomic_shared_ptr 201711L
1393# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_shared_ptr)
1394# define __cpp_lib_atomic_shared_ptr 201711L
1395# endif
1396# endif
1397#endif /* !defined(__cpp_lib_atomic_shared_ptr) && defined(__glibcxx_want_atomic_shared_ptr) */
1398#undef __glibcxx_want_atomic_shared_ptr
1399
1400#if !defined(__cpp_lib_atomic_wait)
1401# if (__cplusplus >= 202002L) && defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED
1402# define __glibcxx_atomic_wait 201907L
1403# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_wait)
1404# define __cpp_lib_atomic_wait 201907L
1405# endif
1406# elif (__cplusplus >= 202002L) && !defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED && (defined(_GLIBCXX_HAVE_LINUX_FUTEX))
1407# define __glibcxx_atomic_wait 201907L
1408# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_wait)
1409# define __cpp_lib_atomic_wait 201907L
1410# endif
1411# endif
1412#endif /* !defined(__cpp_lib_atomic_wait) && defined(__glibcxx_want_atomic_wait) */
1413#undef __glibcxx_want_atomic_wait
1414
1415#if !defined(__cpp_lib_barrier)
1416# if (__cplusplus >= 202002L) && (__cpp_aligned_new && __glibcxx_atomic_wait)
1417# define __glibcxx_barrier 201907L
1418# if defined(__glibcxx_want_all) || defined(__glibcxx_want_barrier)
1419# define __cpp_lib_barrier 201907L
1420# endif
1421# endif
1422#endif /* !defined(__cpp_lib_barrier) && defined(__glibcxx_want_barrier) */
1423#undef __glibcxx_want_barrier
1424
1425#if !defined(__cpp_lib_format)
1426# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
1427# define __glibcxx_format 202311L
1428# if defined(__glibcxx_want_all) || defined(__glibcxx_want_format)
1429# define __cpp_lib_format 202311L
1430# endif
1431# elif (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1432# define __glibcxx_format 202304L
1433# if defined(__glibcxx_want_all) || defined(__glibcxx_want_format)
1434# define __cpp_lib_format 202304L
1435# endif
1436# endif
1437#endif /* !defined(__cpp_lib_format) && defined(__glibcxx_want_format) */
1438#undef __glibcxx_want_format
1439
1440#if !defined(__cpp_lib_format_uchar)
1441# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1442# define __glibcxx_format_uchar 202311L
1443# if defined(__glibcxx_want_all) || defined(__glibcxx_want_format_uchar)
1444# define __cpp_lib_format_uchar 202311L
1445# endif
1446# endif
1447#endif /* !defined(__cpp_lib_format_uchar) && defined(__glibcxx_want_format_uchar) */
1448#undef __glibcxx_want_format_uchar
1449
1450#if !defined(__cpp_lib_constexpr_complex)
1451# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1452# define __glibcxx_constexpr_complex 201711L
1453# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_complex)
1454# define __cpp_lib_constexpr_complex 201711L
1455# endif
1456# endif
1457#endif /* !defined(__cpp_lib_constexpr_complex) && defined(__glibcxx_want_constexpr_complex) */
1458#undef __glibcxx_want_constexpr_complex
1459
1460#if !defined(__cpp_lib_constexpr_dynamic_alloc)
1461# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1462# define __glibcxx_constexpr_dynamic_alloc 201907L
1463# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_dynamic_alloc)
1464# define __cpp_lib_constexpr_dynamic_alloc 201907L
1465# endif
1466# endif
1467#endif /* !defined(__cpp_lib_constexpr_dynamic_alloc) && defined(__glibcxx_want_constexpr_dynamic_alloc) */
1468#undef __glibcxx_want_constexpr_dynamic_alloc
1469
1470#if !defined(__cpp_lib_constexpr_string)
1471# if (__cplusplus >= 202002L) && _GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED && (defined(__glibcxx_is_constant_evaluated))
1472# define __glibcxx_constexpr_string 201907L
1473# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_string)
1474# define __cpp_lib_constexpr_string 201907L
1475# endif
1476# elif (__cplusplus >= 202002L) && !_GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED && (defined(__glibcxx_is_constant_evaluated))
1477# define __glibcxx_constexpr_string 201811L
1478# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_string)
1479# define __cpp_lib_constexpr_string 201811L
1480# endif
1481# elif (__cplusplus >= 201703L) && _GLIBCXX_HOSTED && (_GLIBCXX_HAVE_IS_CONSTANT_EVALUATED)
1482# define __glibcxx_constexpr_string 201611L
1483# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_string)
1484# define __cpp_lib_constexpr_string 201611L
1485# endif
1486# endif
1487#endif /* !defined(__cpp_lib_constexpr_string) && defined(__glibcxx_want_constexpr_string) */
1488#undef __glibcxx_want_constexpr_string
1489
1490#if !defined(__cpp_lib_constexpr_vector)
1491# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1492# define __glibcxx_constexpr_vector 201907L
1493# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_vector)
1494# define __cpp_lib_constexpr_vector 201907L
1495# endif
1496# endif
1497#endif /* !defined(__cpp_lib_constexpr_vector) && defined(__glibcxx_want_constexpr_vector) */
1498#undef __glibcxx_want_constexpr_vector
1499
1500#if !defined(__cpp_lib_constrained_equality)
1501# if (__cplusplus >= 202100L) && (__glibcxx_three_way_comparison)
1502# define __glibcxx_constrained_equality 202411L
1503# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constrained_equality)
1504# define __cpp_lib_constrained_equality 202411L
1505# endif
1506# elif (__cplusplus >= 202002L) && (__glibcxx_three_way_comparison)
1507# define __glibcxx_constrained_equality 202403L
1508# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constrained_equality)
1509# define __cpp_lib_constrained_equality 202403L
1510# endif
1511# endif
1512#endif /* !defined(__cpp_lib_constrained_equality) && defined(__glibcxx_want_constrained_equality) */
1513#undef __glibcxx_want_constrained_equality
1514
1515#if !defined(__cpp_lib_erase_if)
1516# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1517# define __glibcxx_erase_if 202002L
1518# if defined(__glibcxx_want_all) || defined(__glibcxx_want_erase_if)
1519# define __cpp_lib_erase_if 202002L
1520# endif
1521# endif
1522#endif /* !defined(__cpp_lib_erase_if) && defined(__glibcxx_want_erase_if) */
1523#undef __glibcxx_want_erase_if
1524
1525#if !defined(__cpp_lib_generic_unordered_lookup)
1526# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1527# define __glibcxx_generic_unordered_lookup 201811L
1528# if defined(__glibcxx_want_all) || defined(__glibcxx_want_generic_unordered_lookup)
1529# define __cpp_lib_generic_unordered_lookup 201811L
1530# endif
1531# endif
1532#endif /* !defined(__cpp_lib_generic_unordered_lookup) && defined(__glibcxx_want_generic_unordered_lookup) */
1533#undef __glibcxx_want_generic_unordered_lookup
1534
1535#if !defined(__cpp_lib_jthread)
1536# if (__cplusplus >= 202002L) && defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED
1537# define __glibcxx_jthread 201911L
1538# if defined(__glibcxx_want_all) || defined(__glibcxx_want_jthread)
1539# define __cpp_lib_jthread 201911L
1540# endif
1541# endif
1542#endif /* !defined(__cpp_lib_jthread) && defined(__glibcxx_want_jthread) */
1543#undef __glibcxx_want_jthread
1544
1545#if !defined(__cpp_lib_latch)
1546# if (__cplusplus >= 202002L) && (__glibcxx_atomic_wait)
1547# define __glibcxx_latch 201907L
1548# if defined(__glibcxx_want_all) || defined(__glibcxx_want_latch)
1549# define __cpp_lib_latch 201907L
1550# endif
1551# endif
1552#endif /* !defined(__cpp_lib_latch) && defined(__glibcxx_want_latch) */
1553#undef __glibcxx_want_latch
1554
1555#if !defined(__cpp_lib_list_remove_return_type)
1556# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1557# define __glibcxx_list_remove_return_type 201806L
1558# if defined(__glibcxx_want_all) || defined(__glibcxx_want_list_remove_return_type)
1559# define __cpp_lib_list_remove_return_type 201806L
1560# endif
1561# endif
1562#endif /* !defined(__cpp_lib_list_remove_return_type) && defined(__glibcxx_want_list_remove_return_type) */
1563#undef __glibcxx_want_list_remove_return_type
1564
1565#if !defined(__cpp_lib_polymorphic_allocator)
1566# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1567# define __glibcxx_polymorphic_allocator 201902L
1568# if defined(__glibcxx_want_all) || defined(__glibcxx_want_polymorphic_allocator)
1569# define __cpp_lib_polymorphic_allocator 201902L
1570# endif
1571# endif
1572#endif /* !defined(__cpp_lib_polymorphic_allocator) && defined(__glibcxx_want_polymorphic_allocator) */
1573#undef __glibcxx_want_polymorphic_allocator
1574
1575#if !defined(__cpp_lib_move_iterator_concept)
1576# if (__cplusplus >= 202002L) && (__glibcxx_concepts)
1577# define __glibcxx_move_iterator_concept 202207L
1578# if defined(__glibcxx_want_all) || defined(__glibcxx_want_move_iterator_concept)
1579# define __cpp_lib_move_iterator_concept 202207L
1580# endif
1581# endif
1582#endif /* !defined(__cpp_lib_move_iterator_concept) && defined(__glibcxx_want_move_iterator_concept) */
1583#undef __glibcxx_want_move_iterator_concept
1584
1585#if !defined(__cpp_lib_semaphore)
1586# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED && (__glibcxx_atomic_wait)
1587# define __glibcxx_semaphore 201907L
1588# if defined(__glibcxx_want_all) || defined(__glibcxx_want_semaphore)
1589# define __cpp_lib_semaphore 201907L
1590# endif
1591# endif
1592#endif /* !defined(__cpp_lib_semaphore) && defined(__glibcxx_want_semaphore) */
1593#undef __glibcxx_want_semaphore
1594
1595#if !defined(__cpp_lib_smart_ptr_for_overwrite)
1596# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1597# define __glibcxx_smart_ptr_for_overwrite 202002L
1598# if defined(__glibcxx_want_all) || defined(__glibcxx_want_smart_ptr_for_overwrite)
1599# define __cpp_lib_smart_ptr_for_overwrite 202002L
1600# endif
1601# endif
1602#endif /* !defined(__cpp_lib_smart_ptr_for_overwrite) && defined(__glibcxx_want_smart_ptr_for_overwrite) */
1603#undef __glibcxx_want_smart_ptr_for_overwrite
1604
1605#if !defined(__cpp_lib_syncbuf)
1606# if (__cplusplus >= 202002L) && _GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED
1607# define __glibcxx_syncbuf 201803L
1608# if defined(__glibcxx_want_all) || defined(__glibcxx_want_syncbuf)
1609# define __cpp_lib_syncbuf 201803L
1610# endif
1611# endif
1612#endif /* !defined(__cpp_lib_syncbuf) && defined(__glibcxx_want_syncbuf) */
1613#undef __glibcxx_want_syncbuf
1614
1615#if !defined(__cpp_lib_byteswap)
1616# if (__cplusplus >= 202100L)
1617# define __glibcxx_byteswap 202110L
1618# if defined(__glibcxx_want_all) || defined(__glibcxx_want_byteswap)
1619# define __cpp_lib_byteswap 202110L
1620# endif
1621# endif
1622#endif /* !defined(__cpp_lib_byteswap) && defined(__glibcxx_want_byteswap) */
1623#undef __glibcxx_want_byteswap
1624
1625#if !defined(__cpp_lib_constexpr_charconv)
1626# if (__cplusplus >= 202100L)
1627# define __glibcxx_constexpr_charconv 202207L
1628# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_charconv)
1629# define __cpp_lib_constexpr_charconv 202207L
1630# endif
1631# endif
1632#endif /* !defined(__cpp_lib_constexpr_charconv) && defined(__glibcxx_want_constexpr_charconv) */
1633#undef __glibcxx_want_constexpr_charconv
1634
1635#if !defined(__cpp_lib_constexpr_typeinfo)
1636# if (__cplusplus >= 202100L)
1637# define __glibcxx_constexpr_typeinfo 202106L
1638# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_typeinfo)
1639# define __cpp_lib_constexpr_typeinfo 202106L
1640# endif
1641# endif
1642#endif /* !defined(__cpp_lib_constexpr_typeinfo) && defined(__glibcxx_want_constexpr_typeinfo) */
1643#undef __glibcxx_want_constexpr_typeinfo
1644
1645#if !defined(__cpp_lib_expected)
1646# if (__cplusplus >= 202100L) && (__cpp_concepts >= 202002L)
1647# define __glibcxx_expected 202211L
1648# if defined(__glibcxx_want_all) || defined(__glibcxx_want_expected)
1649# define __cpp_lib_expected 202211L
1650# endif
1651# endif
1652#endif /* !defined(__cpp_lib_expected) && defined(__glibcxx_want_expected) */
1653#undef __glibcxx_want_expected
1654
1655#if !defined(__cpp_lib_format_ranges)
1656# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
1657# define __glibcxx_format_ranges 202207L
1658# if defined(__glibcxx_want_all) || defined(__glibcxx_want_format_ranges)
1659# define __cpp_lib_format_ranges 202207L
1660# endif
1661# endif
1662#endif /* !defined(__cpp_lib_format_ranges) && defined(__glibcxx_want_format_ranges) */
1663#undef __glibcxx_want_format_ranges
1664
1665#if !defined(__cpp_lib_freestanding_algorithm)
1666# if (__cplusplus >= 202100L)
1667# define __glibcxx_freestanding_algorithm 202311L
1668# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_algorithm)
1669# define __cpp_lib_freestanding_algorithm 202311L
1670# endif
1671# endif
1672#endif /* !defined(__cpp_lib_freestanding_algorithm) && defined(__glibcxx_want_freestanding_algorithm) */
1673#undef __glibcxx_want_freestanding_algorithm
1674
1675#if !defined(__cpp_lib_freestanding_array)
1676# if (__cplusplus >= 202100L)
1677# define __glibcxx_freestanding_array 202311L
1678# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_array)
1679# define __cpp_lib_freestanding_array 202311L
1680# endif
1681# endif
1682#endif /* !defined(__cpp_lib_freestanding_array) && defined(__glibcxx_want_freestanding_array) */
1683#undef __glibcxx_want_freestanding_array
1684
1685#if !defined(__cpp_lib_freestanding_cstring)
1686# if (__cplusplus >= 202100L)
1687# define __glibcxx_freestanding_cstring 202311L
1688# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_cstring)
1689# define __cpp_lib_freestanding_cstring 202311L
1690# endif
1691# endif
1692#endif /* !defined(__cpp_lib_freestanding_cstring) && defined(__glibcxx_want_freestanding_cstring) */
1693#undef __glibcxx_want_freestanding_cstring
1694
1695#if !defined(__cpp_lib_freestanding_expected)
1696# if (__cplusplus >= 202100L) && (__cpp_lib_expected)
1697# define __glibcxx_freestanding_expected 202311L
1698# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_expected)
1699# define __cpp_lib_freestanding_expected 202311L
1700# endif
1701# endif
1702#endif /* !defined(__cpp_lib_freestanding_expected) && defined(__glibcxx_want_freestanding_expected) */
1703#undef __glibcxx_want_freestanding_expected
1704
1705#if !defined(__cpp_lib_freestanding_optional)
1706# if (__cplusplus >= 202100L)
1707# define __glibcxx_freestanding_optional 202311L
1708# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_optional)
1709# define __cpp_lib_freestanding_optional 202311L
1710# endif
1711# endif
1712#endif /* !defined(__cpp_lib_freestanding_optional) && defined(__glibcxx_want_freestanding_optional) */
1713#undef __glibcxx_want_freestanding_optional
1714
1715#if !defined(__cpp_lib_freestanding_string_view)
1716# if (__cplusplus >= 202100L)
1717# define __glibcxx_freestanding_string_view 202311L
1718# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_string_view)
1719# define __cpp_lib_freestanding_string_view 202311L
1720# endif
1721# endif
1722#endif /* !defined(__cpp_lib_freestanding_string_view) && defined(__glibcxx_want_freestanding_string_view) */
1723#undef __glibcxx_want_freestanding_string_view
1724
1725#if !defined(__cpp_lib_freestanding_variant)
1726# if (__cplusplus >= 202100L)
1727# define __glibcxx_freestanding_variant 202311L
1728# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_variant)
1729# define __cpp_lib_freestanding_variant 202311L
1730# endif
1731# endif
1732#endif /* !defined(__cpp_lib_freestanding_variant) && defined(__glibcxx_want_freestanding_variant) */
1733#undef __glibcxx_want_freestanding_variant
1734
1735#if !defined(__cpp_lib_invoke_r)
1736# if (__cplusplus >= 202100L)
1737# define __glibcxx_invoke_r 202106L
1738# if defined(__glibcxx_want_all) || defined(__glibcxx_want_invoke_r)
1739# define __cpp_lib_invoke_r 202106L
1740# endif
1741# endif
1742#endif /* !defined(__cpp_lib_invoke_r) && defined(__glibcxx_want_invoke_r) */
1743#undef __glibcxx_want_invoke_r
1744
1745#if !defined(__cpp_lib_is_scoped_enum)
1746# if (__cplusplus >= 202100L)
1747# define __glibcxx_is_scoped_enum 202011L
1748# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_scoped_enum)
1749# define __cpp_lib_is_scoped_enum 202011L
1750# endif
1751# endif
1752#endif /* !defined(__cpp_lib_is_scoped_enum) && defined(__glibcxx_want_is_scoped_enum) */
1753#undef __glibcxx_want_is_scoped_enum
1754
1755#if !defined(__cpp_lib_reference_from_temporary)
1756# if (__cplusplus >= 202100L) && (__has_builtin(__reference_constructs_from_temporary) && __has_builtin(__reference_converts_from_temporary))
1757# define __glibcxx_reference_from_temporary 202202L
1758# if defined(__glibcxx_want_all) || defined(__glibcxx_want_reference_from_temporary)
1759# define __cpp_lib_reference_from_temporary 202202L
1760# endif
1761# endif
1762#endif /* !defined(__cpp_lib_reference_from_temporary) && defined(__glibcxx_want_reference_from_temporary) */
1763#undef __glibcxx_want_reference_from_temporary
1764
1765#if !defined(__cpp_lib_containers_ranges)
1766# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
1767# define __glibcxx_containers_ranges 202202L
1768# if defined(__glibcxx_want_all) || defined(__glibcxx_want_containers_ranges)
1769# define __cpp_lib_containers_ranges 202202L
1770# endif
1771# endif
1772#endif /* !defined(__cpp_lib_containers_ranges) && defined(__glibcxx_want_containers_ranges) */
1773#undef __glibcxx_want_containers_ranges
1774
1775#if !defined(__cpp_lib_ranges_to_container)
1776# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
1777# define __glibcxx_ranges_to_container 202202L
1778# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_to_container)
1779# define __cpp_lib_ranges_to_container 202202L
1780# endif
1781# endif
1782#endif /* !defined(__cpp_lib_ranges_to_container) && defined(__glibcxx_want_ranges_to_container) */
1783#undef __glibcxx_want_ranges_to_container
1784
1785#if !defined(__cpp_lib_ranges_zip)
1786# if (__cplusplus >= 202100L)
1787# define __glibcxx_ranges_zip 202110L
1788# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_zip)
1789# define __cpp_lib_ranges_zip 202110L
1790# endif
1791# endif
1792#endif /* !defined(__cpp_lib_ranges_zip) && defined(__glibcxx_want_ranges_zip) */
1793#undef __glibcxx_want_ranges_zip
1794
1795#if !defined(__cpp_lib_ranges_chunk)
1796# if (__cplusplus >= 202100L)
1797# define __glibcxx_ranges_chunk 202202L
1798# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_chunk)
1799# define __cpp_lib_ranges_chunk 202202L
1800# endif
1801# endif
1802#endif /* !defined(__cpp_lib_ranges_chunk) && defined(__glibcxx_want_ranges_chunk) */
1803#undef __glibcxx_want_ranges_chunk
1804
1805#if !defined(__cpp_lib_ranges_slide)
1806# if (__cplusplus >= 202100L)
1807# define __glibcxx_ranges_slide 202202L
1808# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_slide)
1809# define __cpp_lib_ranges_slide 202202L
1810# endif
1811# endif
1812#endif /* !defined(__cpp_lib_ranges_slide) && defined(__glibcxx_want_ranges_slide) */
1813#undef __glibcxx_want_ranges_slide
1814
1815#if !defined(__cpp_lib_ranges_chunk_by)
1816# if (__cplusplus >= 202100L)
1817# define __glibcxx_ranges_chunk_by 202202L
1818# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_chunk_by)
1819# define __cpp_lib_ranges_chunk_by 202202L
1820# endif
1821# endif
1822#endif /* !defined(__cpp_lib_ranges_chunk_by) && defined(__glibcxx_want_ranges_chunk_by) */
1823#undef __glibcxx_want_ranges_chunk_by
1824
1825#if !defined(__cpp_lib_ranges_join_with)
1826# if (__cplusplus >= 202100L)
1827# define __glibcxx_ranges_join_with 202202L
1828# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_join_with)
1829# define __cpp_lib_ranges_join_with 202202L
1830# endif
1831# endif
1832#endif /* !defined(__cpp_lib_ranges_join_with) && defined(__glibcxx_want_ranges_join_with) */
1833#undef __glibcxx_want_ranges_join_with
1834
1835#if !defined(__cpp_lib_ranges_repeat)
1836# if (__cplusplus >= 202100L)
1837# define __glibcxx_ranges_repeat 202207L
1838# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_repeat)
1839# define __cpp_lib_ranges_repeat 202207L
1840# endif
1841# endif
1842#endif /* !defined(__cpp_lib_ranges_repeat) && defined(__glibcxx_want_ranges_repeat) */
1843#undef __glibcxx_want_ranges_repeat
1844
1845#if !defined(__cpp_lib_ranges_stride)
1846# if (__cplusplus >= 202100L)
1847# define __glibcxx_ranges_stride 202207L
1848# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_stride)
1849# define __cpp_lib_ranges_stride 202207L
1850# endif
1851# endif
1852#endif /* !defined(__cpp_lib_ranges_stride) && defined(__glibcxx_want_ranges_stride) */
1853#undef __glibcxx_want_ranges_stride
1854
1855#if !defined(__cpp_lib_ranges_cartesian_product)
1856# if (__cplusplus >= 202100L)
1857# define __glibcxx_ranges_cartesian_product 202207L
1858# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_cartesian_product)
1859# define __cpp_lib_ranges_cartesian_product 202207L
1860# endif
1861# endif
1862#endif /* !defined(__cpp_lib_ranges_cartesian_product) && defined(__glibcxx_want_ranges_cartesian_product) */
1863#undef __glibcxx_want_ranges_cartesian_product
1864
1865#if !defined(__cpp_lib_ranges_as_rvalue)
1866# if (__cplusplus >= 202100L)
1867# define __glibcxx_ranges_as_rvalue 202207L
1868# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_as_rvalue)
1869# define __cpp_lib_ranges_as_rvalue 202207L
1870# endif
1871# endif
1872#endif /* !defined(__cpp_lib_ranges_as_rvalue) && defined(__glibcxx_want_ranges_as_rvalue) */
1873#undef __glibcxx_want_ranges_as_rvalue
1874
1875#if !defined(__cpp_lib_ranges_as_const)
1876# if (__cplusplus >= 202100L)
1877# define __glibcxx_ranges_as_const 202311L
1878# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_as_const)
1879# define __cpp_lib_ranges_as_const 202311L
1880# endif
1881# endif
1882#endif /* !defined(__cpp_lib_ranges_as_const) && defined(__glibcxx_want_ranges_as_const) */
1883#undef __glibcxx_want_ranges_as_const
1884
1885#if !defined(__cpp_lib_ranges_enumerate)
1886# if (__cplusplus >= 202100L)
1887# define __glibcxx_ranges_enumerate 202302L
1888# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_enumerate)
1889# define __cpp_lib_ranges_enumerate 202302L
1890# endif
1891# endif
1892#endif /* !defined(__cpp_lib_ranges_enumerate) && defined(__glibcxx_want_ranges_enumerate) */
1893#undef __glibcxx_want_ranges_enumerate
1894
1895#if !defined(__cpp_lib_ranges_fold)
1896# if (__cplusplus >= 202100L)
1897# define __glibcxx_ranges_fold 202207L
1898# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_fold)
1899# define __cpp_lib_ranges_fold 202207L
1900# endif
1901# endif
1902#endif /* !defined(__cpp_lib_ranges_fold) && defined(__glibcxx_want_ranges_fold) */
1903#undef __glibcxx_want_ranges_fold
1904
1905#if !defined(__cpp_lib_ranges_contains)
1906# if (__cplusplus >= 202100L)
1907# define __glibcxx_ranges_contains 202207L
1908# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_contains)
1909# define __cpp_lib_ranges_contains 202207L
1910# endif
1911# endif
1912#endif /* !defined(__cpp_lib_ranges_contains) && defined(__glibcxx_want_ranges_contains) */
1913#undef __glibcxx_want_ranges_contains
1914
1915#if !defined(__cpp_lib_ranges_iota)
1916# if (__cplusplus >= 202100L)
1917# define __glibcxx_ranges_iota 202202L
1918# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_iota)
1919# define __cpp_lib_ranges_iota 202202L
1920# endif
1921# endif
1922#endif /* !defined(__cpp_lib_ranges_iota) && defined(__glibcxx_want_ranges_iota) */
1923#undef __glibcxx_want_ranges_iota
1924
1925#if !defined(__cpp_lib_ranges_find_last)
1926# if (__cplusplus >= 202100L)
1927# define __glibcxx_ranges_find_last 202207L
1928# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_find_last)
1929# define __cpp_lib_ranges_find_last 202207L
1930# endif
1931# endif
1932#endif /* !defined(__cpp_lib_ranges_find_last) && defined(__glibcxx_want_ranges_find_last) */
1933#undef __glibcxx_want_ranges_find_last
1934
1935#if !defined(__cpp_lib_ranges_starts_ends_with)
1936# if (__cplusplus >= 202100L)
1937# define __glibcxx_ranges_starts_ends_with 202106L
1938# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_starts_ends_with)
1939# define __cpp_lib_ranges_starts_ends_with 202106L
1940# endif
1941# endif
1942#endif /* !defined(__cpp_lib_ranges_starts_ends_with) && defined(__glibcxx_want_ranges_starts_ends_with) */
1943#undef __glibcxx_want_ranges_starts_ends_with
1944
1945#if !defined(__cpp_lib_constexpr_bitset)
1946# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED && (__cpp_constexpr_dynamic_alloc)
1947# define __glibcxx_constexpr_bitset 202202L
1948# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_bitset)
1949# define __cpp_lib_constexpr_bitset 202202L
1950# endif
1951# endif
1952#endif /* !defined(__cpp_lib_constexpr_bitset) && defined(__glibcxx_want_constexpr_bitset) */
1953#undef __glibcxx_want_constexpr_bitset
1954
1955#if !defined(__cpp_lib_stdatomic_h)
1956# if (__cplusplus >= 202100L)
1957# define __glibcxx_stdatomic_h 202011L
1958# if defined(__glibcxx_want_all) || defined(__glibcxx_want_stdatomic_h)
1959# define __cpp_lib_stdatomic_h 202011L
1960# endif
1961# endif
1962#endif /* !defined(__cpp_lib_stdatomic_h) && defined(__glibcxx_want_stdatomic_h) */
1963#undef __glibcxx_want_stdatomic_h
1964
1965#if !defined(__cpp_lib_adaptor_iterator_pair_constructor)
1966# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
1967# define __glibcxx_adaptor_iterator_pair_constructor 202106L
1968# if defined(__glibcxx_want_all) || defined(__glibcxx_want_adaptor_iterator_pair_constructor)
1969# define __cpp_lib_adaptor_iterator_pair_constructor 202106L
1970# endif
1971# endif
1972#endif /* !defined(__cpp_lib_adaptor_iterator_pair_constructor) && defined(__glibcxx_want_adaptor_iterator_pair_constructor) */
1973#undef __glibcxx_want_adaptor_iterator_pair_constructor
1974
1975#if !defined(__cpp_lib_flat_map)
1976# if (__cplusplus >= 202100L)
1977# define __glibcxx_flat_map 202207L
1978# if defined(__glibcxx_want_all) || defined(__glibcxx_want_flat_map)
1979# define __cpp_lib_flat_map 202207L
1980# endif
1981# endif
1982#endif /* !defined(__cpp_lib_flat_map) && defined(__glibcxx_want_flat_map) */
1983#undef __glibcxx_want_flat_map
1984
1985#if !defined(__cpp_lib_flat_set)
1986# if (__cplusplus >= 202100L)
1987# define __glibcxx_flat_set 202207L
1988# if defined(__glibcxx_want_all) || defined(__glibcxx_want_flat_set)
1989# define __cpp_lib_flat_set 202207L
1990# endif
1991# endif
1992#endif /* !defined(__cpp_lib_flat_set) && defined(__glibcxx_want_flat_set) */
1993#undef __glibcxx_want_flat_set
1994
1995#if !defined(__cpp_lib_formatters)
1996# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
1997# define __glibcxx_formatters 202302L
1998# if defined(__glibcxx_want_all) || defined(__glibcxx_want_formatters)
1999# define __cpp_lib_formatters 202302L
2000# endif
2001# endif
2002#endif /* !defined(__cpp_lib_formatters) && defined(__glibcxx_want_formatters) */
2003#undef __glibcxx_want_formatters
2004
2005#if !defined(__cpp_lib_forward_like)
2006# if (__cplusplus >= 202100L)
2007# define __glibcxx_forward_like 202207L
2008# if defined(__glibcxx_want_all) || defined(__glibcxx_want_forward_like)
2009# define __cpp_lib_forward_like 202207L
2010# endif
2011# endif
2012#endif /* !defined(__cpp_lib_forward_like) && defined(__glibcxx_want_forward_like) */
2013#undef __glibcxx_want_forward_like
2014
2015#if !defined(__cpp_lib_generator)
2016# if (__cplusplus >= 202100L) && (__glibcxx_coroutine && __cpp_sized_deallocation)
2017# define __glibcxx_generator 202207L
2018# if defined(__glibcxx_want_all) || defined(__glibcxx_want_generator)
2019# define __cpp_lib_generator 202207L
2020# endif
2021# endif
2022#endif /* !defined(__cpp_lib_generator) && defined(__glibcxx_want_generator) */
2023#undef __glibcxx_want_generator
2024
2025#if !defined(__cpp_lib_ios_noreplace)
2026# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
2027# define __glibcxx_ios_noreplace 202207L
2028# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ios_noreplace)
2029# define __cpp_lib_ios_noreplace 202207L
2030# endif
2031# endif
2032#endif /* !defined(__cpp_lib_ios_noreplace) && defined(__glibcxx_want_ios_noreplace) */
2033#undef __glibcxx_want_ios_noreplace
2034
2035#if !defined(__cpp_lib_move_only_function)
2036# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
2037# define __glibcxx_move_only_function 202110L
2038# if defined(__glibcxx_want_all) || defined(__glibcxx_want_move_only_function)
2039# define __cpp_lib_move_only_function 202110L
2040# endif
2041# endif
2042#endif /* !defined(__cpp_lib_move_only_function) && defined(__glibcxx_want_move_only_function) */
2043#undef __glibcxx_want_move_only_function
2044
2045#if !defined(__cpp_lib_copyable_function)
2046# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2047# define __glibcxx_copyable_function 202306L
2048# if defined(__glibcxx_want_all) || defined(__glibcxx_want_copyable_function)
2049# define __cpp_lib_copyable_function 202306L
2050# endif
2051# endif
2052#endif /* !defined(__cpp_lib_copyable_function) && defined(__glibcxx_want_copyable_function) */
2053#undef __glibcxx_want_copyable_function
2054
2055#if !defined(__cpp_lib_function_ref)
2056# if (__cplusplus > 202302L)
2057# define __glibcxx_function_ref 202306L
2058# if defined(__glibcxx_want_all) || defined(__glibcxx_want_function_ref)
2059# define __cpp_lib_function_ref 202306L
2060# endif
2061# endif
2062#endif /* !defined(__cpp_lib_function_ref) && defined(__glibcxx_want_function_ref) */
2063#undef __glibcxx_want_function_ref
2064
2065#if !defined(__cpp_lib_out_ptr)
2066# if (__cplusplus >= 202100L)
2067# define __glibcxx_out_ptr 202311L
2068# if defined(__glibcxx_want_all) || defined(__glibcxx_want_out_ptr)
2069# define __cpp_lib_out_ptr 202311L
2070# endif
2071# endif
2072#endif /* !defined(__cpp_lib_out_ptr) && defined(__glibcxx_want_out_ptr) */
2073#undef __glibcxx_want_out_ptr
2074
2075#if !defined(__cpp_lib_print)
2076# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
2077# define __glibcxx_print 202211L
2078# if defined(__glibcxx_want_all) || defined(__glibcxx_want_print)
2079# define __cpp_lib_print 202211L
2080# endif
2081# endif
2082#endif /* !defined(__cpp_lib_print) && defined(__glibcxx_want_print) */
2083#undef __glibcxx_want_print
2084
2085#if !defined(__cpp_lib_spanstream)
2086# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED && (__glibcxx_span)
2087# define __glibcxx_spanstream 202106L
2088# if defined(__glibcxx_want_all) || defined(__glibcxx_want_spanstream)
2089# define __cpp_lib_spanstream 202106L
2090# endif
2091# endif
2092#endif /* !defined(__cpp_lib_spanstream) && defined(__glibcxx_want_spanstream) */
2093#undef __glibcxx_want_spanstream
2094
2095#if !defined(__cpp_lib_stacktrace)
2096# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED && (_GLIBCXX_HAVE_STACKTRACE)
2097# define __glibcxx_stacktrace 202011L
2098# if defined(__glibcxx_want_all) || defined(__glibcxx_want_stacktrace)
2099# define __cpp_lib_stacktrace 202011L
2100# endif
2101# endif
2102#endif /* !defined(__cpp_lib_stacktrace) && defined(__glibcxx_want_stacktrace) */
2103#undef __glibcxx_want_stacktrace
2104
2105#if !defined(__cpp_lib_start_lifetime_as)
2106# if (__cplusplus >= 202100L)
2107# define __glibcxx_start_lifetime_as 202207L
2108# if defined(__glibcxx_want_all) || defined(__glibcxx_want_start_lifetime_as)
2109# define __cpp_lib_start_lifetime_as 202207L
2110# endif
2111# endif
2112#endif /* !defined(__cpp_lib_start_lifetime_as) && defined(__glibcxx_want_start_lifetime_as) */
2113#undef __glibcxx_want_start_lifetime_as
2114
2115#if !defined(__cpp_lib_string_contains)
2116# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
2117# define __glibcxx_string_contains 202011L
2118# if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_contains)
2119# define __cpp_lib_string_contains 202011L
2120# endif
2121# endif
2122#endif /* !defined(__cpp_lib_string_contains) && defined(__glibcxx_want_string_contains) */
2123#undef __glibcxx_want_string_contains
2124
2125#if !defined(__cpp_lib_string_resize_and_overwrite)
2126# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
2127# define __glibcxx_string_resize_and_overwrite 202110L
2128# if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_resize_and_overwrite)
2129# define __cpp_lib_string_resize_and_overwrite 202110L
2130# endif
2131# endif
2132#endif /* !defined(__cpp_lib_string_resize_and_overwrite) && defined(__glibcxx_want_string_resize_and_overwrite) */
2133#undef __glibcxx_want_string_resize_and_overwrite
2134
2135#if !defined(__cpp_lib_to_underlying)
2136# if (__cplusplus >= 202100L)
2137# define __glibcxx_to_underlying 202102L
2138# if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_underlying)
2139# define __cpp_lib_to_underlying 202102L
2140# endif
2141# endif
2142#endif /* !defined(__cpp_lib_to_underlying) && defined(__glibcxx_want_to_underlying) */
2143#undef __glibcxx_want_to_underlying
2144
2145#if !defined(__cpp_lib_tuple_like)
2146# if (__cplusplus > 202302L) && (__cpp_explicit_this_parameter >= 202110L)
2147# define __glibcxx_tuple_like 202311L
2148# if defined(__glibcxx_want_all) || defined(__glibcxx_want_tuple_like)
2149# define __cpp_lib_tuple_like 202311L
2150# endif
2151# elif (__cplusplus >= 202100L)
2152# define __glibcxx_tuple_like 202207L
2153# if defined(__glibcxx_want_all) || defined(__glibcxx_want_tuple_like)
2154# define __cpp_lib_tuple_like 202207L
2155# endif
2156# endif
2157#endif /* !defined(__cpp_lib_tuple_like) && defined(__glibcxx_want_tuple_like) */
2158#undef __glibcxx_want_tuple_like
2159
2160#if !defined(__cpp_lib_unreachable)
2161# if (__cplusplus >= 202100L)
2162# define __glibcxx_unreachable 202202L
2163# if defined(__glibcxx_want_all) || defined(__glibcxx_want_unreachable)
2164# define __cpp_lib_unreachable 202202L
2165# endif
2166# endif
2167#endif /* !defined(__cpp_lib_unreachable) && defined(__glibcxx_want_unreachable) */
2168#undef __glibcxx_want_unreachable
2169
2170#if !defined(__cpp_lib_algorithm_default_value_type)
2171# if (__cplusplus > 202302L)
2172# define __glibcxx_algorithm_default_value_type 202403L
2173# if defined(__glibcxx_want_all) || defined(__glibcxx_want_algorithm_default_value_type)
2174# define __cpp_lib_algorithm_default_value_type 202403L
2175# endif
2176# endif
2177#endif /* !defined(__cpp_lib_algorithm_default_value_type) && defined(__glibcxx_want_algorithm_default_value_type) */
2178#undef __glibcxx_want_algorithm_default_value_type
2179
2180#if !defined(__cpp_lib_constexpr_new)
2181# if (__cplusplus > 202302L) && (__cpp_constexpr >= 202406L)
2182# define __glibcxx_constexpr_new 202406L
2183# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_new)
2184# define __cpp_lib_constexpr_new 202406L
2185# endif
2186# endif
2187#endif /* !defined(__cpp_lib_constexpr_new) && defined(__glibcxx_want_constexpr_new) */
2188#undef __glibcxx_want_constexpr_new
2189
2190#if !defined(__cpp_lib_debugging)
2191# if (__cplusplus > 202302L)
2192# define __glibcxx_debugging 202403L
2193# if defined(__glibcxx_want_all) || defined(__glibcxx_want_debugging)
2194# define __cpp_lib_debugging 202403L
2195# endif
2196# endif
2197#endif /* !defined(__cpp_lib_debugging) && defined(__glibcxx_want_debugging) */
2198#undef __glibcxx_want_debugging
2199
2200#if !defined(__cpp_lib_fstream_native_handle)
2201# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2202# define __glibcxx_fstream_native_handle 202306L
2203# if defined(__glibcxx_want_all) || defined(__glibcxx_want_fstream_native_handle)
2204# define __cpp_lib_fstream_native_handle 202306L
2205# endif
2206# endif
2207#endif /* !defined(__cpp_lib_fstream_native_handle) && defined(__glibcxx_want_fstream_native_handle) */
2208#undef __glibcxx_want_fstream_native_handle
2209
2210#if !defined(__cpp_lib_is_virtual_base_of)
2211# if (__cplusplus > 202302L) && (__has_builtin(__builtin_is_virtual_base_of))
2212# define __glibcxx_is_virtual_base_of 202406L
2213# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_virtual_base_of)
2214# define __cpp_lib_is_virtual_base_of 202406L
2215# endif
2216# endif
2217#endif /* !defined(__cpp_lib_is_virtual_base_of) && defined(__glibcxx_want_is_virtual_base_of) */
2218#undef __glibcxx_want_is_virtual_base_of
2219
2220#if !defined(__cpp_lib_ranges_cache_latest)
2221# if (__cplusplus > 202302L)
2222# define __glibcxx_ranges_cache_latest 202411L
2223# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_cache_latest)
2224# define __cpp_lib_ranges_cache_latest 202411L
2225# endif
2226# endif
2227#endif /* !defined(__cpp_lib_ranges_cache_latest) && defined(__glibcxx_want_ranges_cache_latest) */
2228#undef __glibcxx_want_ranges_cache_latest
2229
2230#if !defined(__cpp_lib_ranges_concat)
2231# if (__cplusplus > 202302L) && (__cpp_pack_indexing)
2232# define __glibcxx_ranges_concat 202403L
2233# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_concat)
2234# define __cpp_lib_ranges_concat 202403L
2235# endif
2236# endif
2237#endif /* !defined(__cpp_lib_ranges_concat) && defined(__glibcxx_want_ranges_concat) */
2238#undef __glibcxx_want_ranges_concat
2239
2240#if !defined(__cpp_lib_ratio)
2241# if (__cplusplus > 202302L)
2242# define __glibcxx_ratio 202306L
2243# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ratio)
2244# define __cpp_lib_ratio 202306L
2245# endif
2246# endif
2247#endif /* !defined(__cpp_lib_ratio) && defined(__glibcxx_want_ratio) */
2248#undef __glibcxx_want_ratio
2249
2250#if !defined(__cpp_lib_reference_wrapper)
2251# if (__cplusplus > 202302L)
2252# define __glibcxx_reference_wrapper 202403L
2253# if defined(__glibcxx_want_all) || defined(__glibcxx_want_reference_wrapper)
2254# define __cpp_lib_reference_wrapper 202403L
2255# endif
2256# endif
2257#endif /* !defined(__cpp_lib_reference_wrapper) && defined(__glibcxx_want_reference_wrapper) */
2258#undef __glibcxx_want_reference_wrapper
2259
2260#if !defined(__cpp_lib_saturation_arithmetic)
2261# if (__cplusplus > 202302L)
2262# define __glibcxx_saturation_arithmetic 202311L
2263# if defined(__glibcxx_want_all) || defined(__glibcxx_want_saturation_arithmetic)
2264# define __cpp_lib_saturation_arithmetic 202311L
2265# endif
2266# endif
2267#endif /* !defined(__cpp_lib_saturation_arithmetic) && defined(__glibcxx_want_saturation_arithmetic) */
2268#undef __glibcxx_want_saturation_arithmetic
2269
2270#if !defined(__cpp_lib_span_initializer_list)
2271# if (__cplusplus > 202302L)
2272# define __glibcxx_span_initializer_list 202311L
2273# if defined(__glibcxx_want_all) || defined(__glibcxx_want_span_initializer_list)
2274# define __cpp_lib_span_initializer_list 202311L
2275# endif
2276# endif
2277#endif /* !defined(__cpp_lib_span_initializer_list) && defined(__glibcxx_want_span_initializer_list) */
2278#undef __glibcxx_want_span_initializer_list
2279
2280#if !defined(__cpp_lib_text_encoding)
2281# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED && (_GLIBCXX_USE_NL_LANGINFO_L)
2282# define __glibcxx_text_encoding 202306L
2283# if defined(__glibcxx_want_all) || defined(__glibcxx_want_text_encoding)
2284# define __cpp_lib_text_encoding 202306L
2285# endif
2286# endif
2287#endif /* !defined(__cpp_lib_text_encoding) && defined(__glibcxx_want_text_encoding) */
2288#undef __glibcxx_want_text_encoding
2289
2290#if !defined(__cpp_lib_ranges_to_input)
2291# if (__cplusplus > 202302L)
2292# define __glibcxx_ranges_to_input 202502L
2293# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_to_input)
2294# define __cpp_lib_ranges_to_input 202502L
2295# endif
2296# endif
2297#endif /* !defined(__cpp_lib_ranges_to_input) && defined(__glibcxx_want_ranges_to_input) */
2298#undef __glibcxx_want_ranges_to_input
2299
2300#if !defined(__cpp_lib_to_string)
2301# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED && (__glibcxx_to_chars)
2302# define __glibcxx_to_string 202306L
2303# if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_string)
2304# define __cpp_lib_to_string 202306L
2305# endif
2306# endif
2307#endif /* !defined(__cpp_lib_to_string) && defined(__glibcxx_want_to_string) */
2308#undef __glibcxx_want_to_string
2309
2310#if !defined(__cpp_lib_modules)
2311# if (__cplusplus >= 202002L) && (__cpp_modules)
2312# define __glibcxx_modules 202207L
2313# if defined(__glibcxx_want_all) || defined(__glibcxx_want_modules)
2314# define __cpp_lib_modules 202207L
2315# endif
2316# endif
2317#endif /* !defined(__cpp_lib_modules) && defined(__glibcxx_want_modules) */
2318#undef __glibcxx_want_modules
2319
2320#if !defined(__cpp_lib_inplace_vector)
2321# if (__cplusplus > 202302L)
2322# define __glibcxx_inplace_vector 202406L
2323# if defined(__glibcxx_want_all) || defined(__glibcxx_want_inplace_vector)
2324# define __cpp_lib_inplace_vector 202406L
2325# endif
2326# endif
2327#endif /* !defined(__cpp_lib_inplace_vector) && defined(__glibcxx_want_inplace_vector) */
2328#undef __glibcxx_want_inplace_vector
2329
2330#if !defined(__cpp_lib_indirect)
2331# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2332# define __glibcxx_indirect 202502L
2333# if defined(__glibcxx_want_all) || defined(__glibcxx_want_indirect)
2334# define __cpp_lib_indirect 202502L
2335# endif
2336# endif
2337#endif /* !defined(__cpp_lib_indirect) && defined(__glibcxx_want_indirect) */
2338#undef __glibcxx_want_indirect
2339
2340#if !defined(__cpp_lib_polymorphic)
2341# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2342# define __glibcxx_polymorphic 202502L
2343# if defined(__glibcxx_want_all) || defined(__glibcxx_want_polymorphic)
2344# define __cpp_lib_polymorphic 202502L
2345# endif
2346# endif
2347#endif /* !defined(__cpp_lib_polymorphic) && defined(__glibcxx_want_polymorphic) */
2348#undef __glibcxx_want_polymorphic
2349
2350#if !defined(__cpp_lib_smart_ptr_owner_equality)
2351# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2352# define __glibcxx_smart_ptr_owner_equality 202306L
2353# if defined(__glibcxx_want_all) || defined(__glibcxx_want_smart_ptr_owner_equality)
2354# define __cpp_lib_smart_ptr_owner_equality 202306L
2355# endif
2356# endif
2357#endif /* !defined(__cpp_lib_smart_ptr_owner_equality) && defined(__glibcxx_want_smart_ptr_owner_equality) */
2358#undef __glibcxx_want_smart_ptr_owner_equality
2359
2360#if !defined(__cpp_lib_sstream_from_string_view)
2361# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2362# define __glibcxx_sstream_from_string_view 202306L
2363# if defined(__glibcxx_want_all) || defined(__glibcxx_want_sstream_from_string_view)
2364# define __cpp_lib_sstream_from_string_view 202306L
2365# endif
2366# endif
2367#endif /* !defined(__cpp_lib_sstream_from_string_view) && defined(__glibcxx_want_sstream_from_string_view) */
2368#undef __glibcxx_want_sstream_from_string_view
2369
2370#if !defined(__cpp_lib_type_order)
2371# if (__cplusplus > 202302L) && (__has_builtin(__builtin_type_order) && __cpp_lib_three_way_comparison >= 201907L)
2372# define __glibcxx_type_order 202506L
2373# if defined(__glibcxx_want_all) || defined(__glibcxx_want_type_order)
2374# define __cpp_lib_type_order 202506L
2375# endif
2376# endif
2377#endif /* !defined(__cpp_lib_type_order) && defined(__glibcxx_want_type_order) */
2378#undef __glibcxx_want_type_order
2379
2380#if !defined(__cpp_lib_exception_ptr_cast)
2381# if (__cplusplus > 202302L)
2382# define __glibcxx_exception_ptr_cast 202506L
2383# if defined(__glibcxx_want_all) || defined(__glibcxx_want_exception_ptr_cast)
2384# define __cpp_lib_exception_ptr_cast 202506L
2385# endif
2386# endif
2387#endif /* !defined(__cpp_lib_exception_ptr_cast) && defined(__glibcxx_want_exception_ptr_cast) */
2388#undef __glibcxx_want_exception_ptr_cast
2389
2390#if !defined(__cpp_lib_bitset)
2391# if (__cplusplus > 202302L)
2392# define __glibcxx_bitset 202306L
2393# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bitset)
2394# define __cpp_lib_bitset 202306L
2395# endif
2396# endif
2397#endif /* !defined(__cpp_lib_bitset) && defined(__glibcxx_want_bitset) */
2398#undef __glibcxx_want_bitset
2399
2400#if !defined(__cpp_lib_constexpr_exceptions)
2401# if (__cplusplus > 202302L) && (__cpp_constexpr_exceptions >= 202411L)
2402# define __glibcxx_constexpr_exceptions 1L
2403# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_exceptions)
2404# endif
2405# endif
2406#endif /* !defined(__cpp_lib_constexpr_exceptions) && defined(__glibcxx_want_constexpr_exceptions) */
2407#undef __glibcxx_want_constexpr_exceptions
2408
2409#if !defined(__cpp_lib_philox_engine)
2410# if (__cplusplus > 202302L) && (__SIZEOF_INT128__)
2411# define __glibcxx_philox_engine 202406L
2412# if defined(__glibcxx_want_all) || defined(__glibcxx_want_philox_engine)
2413# define __cpp_lib_philox_engine 202406L
2414# endif
2415# endif
2416#endif /* !defined(__cpp_lib_philox_engine) && defined(__glibcxx_want_philox_engine) */
2417#undef __glibcxx_want_philox_engine
2418
2419#undef __glibcxx_want_all