libstdc++: version.h Source File

libstdc++

version.h
Go to the documentation of this file.
1// Copyright (C) 2023-2026 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 conditional
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) */
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) */
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) */
81#undef __glibcxx_want_allocator_traits_is_always_equal
82
83#if !defined(__cpp_lib_allocate_at_least)
84# if (__cplusplus >= 202100L)
85# define __glibcxx_allocate_at_least 202302L
86# if defined(__glibcxx_want_all) || defined(__glibcxx_want_allocate_at_least)
87# define __cpp_lib_allocate_at_least 202302L
88# endif
89# endif
90#endif /* !defined(__cpp_lib_allocate_at_least) */
91#undef __glibcxx_want_allocate_at_least
92
93#if !defined(__cpp_lib_is_null_pointer)
94# if (__cplusplus >= 201103L)
95# define __glibcxx_is_null_pointer 201309L
96# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_null_pointer)
97# define __cpp_lib_is_null_pointer 201309L
98# endif
99# endif
100#endif /* !defined(__cpp_lib_is_null_pointer) */
101#undef __glibcxx_want_is_null_pointer
102
103#if !defined(__cpp_lib_result_of_sfinae)
104# if (__cplusplus >= 201103L)
105# define __glibcxx_result_of_sfinae 201210L
106# if defined(__glibcxx_want_all) || defined(__glibcxx_want_result_of_sfinae)
107# define __cpp_lib_result_of_sfinae 201210L
108# endif
109# endif
110#endif /* !defined(__cpp_lib_result_of_sfinae) */
111#undef __glibcxx_want_result_of_sfinae
112
113#if !defined(__cpp_lib_shared_ptr_arrays)
114# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
115# define __glibcxx_shared_ptr_arrays 201707L
116# if defined(__glibcxx_want_all) || defined(__glibcxx_want_shared_ptr_arrays)
117# define __cpp_lib_shared_ptr_arrays 201707L
118# endif
119# elif (__cplusplus >= 201103L) && _GLIBCXX_HOSTED
120# define __glibcxx_shared_ptr_arrays 201611L
121# if defined(__glibcxx_want_all) || defined(__glibcxx_want_shared_ptr_arrays)
122# define __cpp_lib_shared_ptr_arrays 201611L
123# endif
124# endif
125#endif /* !defined(__cpp_lib_shared_ptr_arrays) */
126#undef __glibcxx_want_shared_ptr_arrays
127
128#if !defined(__cpp_lib_is_swappable)
129# if ((defined(__STRICT_ANSI__) && __cplusplus >= 201703L) || (!defined(__STRICT_ANSI__) && __cplusplus >= 201103L))
130# define __glibcxx_is_swappable 201603L
131# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_swappable)
132# define __cpp_lib_is_swappable 201603L
133# endif
134# endif
135#endif /* !defined(__cpp_lib_is_swappable) */
136#undef __glibcxx_want_is_swappable
137
138#if !defined(__cpp_lib_void_t)
139# if ((defined(__STRICT_ANSI__) && __cplusplus >= 201703L) || (!defined(__STRICT_ANSI__) && __cplusplus >= 201103L))
140# define __glibcxx_void_t 201411L
141# if defined(__glibcxx_want_all) || defined(__glibcxx_want_void_t)
142# define __cpp_lib_void_t 201411L
143# endif
144# endif
145#endif /* !defined(__cpp_lib_void_t) */
146#undef __glibcxx_want_void_t
147
148#if !defined(__cpp_lib_enable_shared_from_this)
149# if ((defined(__STRICT_ANSI__) && __cplusplus >= 201703L) || (!defined(__STRICT_ANSI__) && __cplusplus >= 201103L)) && _GLIBCXX_HOSTED
150# define __glibcxx_enable_shared_from_this 201603L
151# if defined(__glibcxx_want_all) || defined(__glibcxx_want_enable_shared_from_this)
152# define __cpp_lib_enable_shared_from_this 201603L
153# endif
154# endif
155#endif /* !defined(__cpp_lib_enable_shared_from_this) */
156#undef __glibcxx_want_enable_shared_from_this
157
158#if !defined(__cpp_lib_math_spec_funcs)
159# if (__cplusplus >= 201103L)
160# define __glibcxx_math_spec_funcs 201003L
161# if defined(__glibcxx_want_all) || defined(__glibcxx_want_math_spec_funcs)
162# define __STDCPP_MATH_SPEC_FUNCS__ 201003L
163# endif
164# endif
165#endif /* !defined(__cpp_lib_math_spec_funcs) */
166#undef __glibcxx_want_math_spec_funcs
167
168#if !defined(__cpp_lib_coroutine)
169# if (__cplusplus >= 201402L) && (__cpp_impl_coroutine)
170# define __glibcxx_coroutine 201902L
171# if defined(__glibcxx_want_all) || defined(__glibcxx_want_coroutine)
172# define __cpp_lib_coroutine 201902L
173# endif
174# endif
175#endif /* !defined(__cpp_lib_coroutine) */
176#undef __glibcxx_want_coroutine
177
178#if !defined(__cpp_lib_exchange_function)
179# if (__cplusplus >= 201402L)
180# define __glibcxx_exchange_function 201304L
181# if defined(__glibcxx_want_all) || defined(__glibcxx_want_exchange_function)
182# define __cpp_lib_exchange_function 201304L
183# endif
184# endif
185#endif /* !defined(__cpp_lib_exchange_function) */
186#undef __glibcxx_want_exchange_function
187
188#if !defined(__cpp_lib_integer_sequence)
189# if (__cplusplus > 202302L) && (__cpp_pack_indexing)
190# define __glibcxx_integer_sequence 202511L
191# if defined(__glibcxx_want_all) || defined(__glibcxx_want_integer_sequence)
192# define __cpp_lib_integer_sequence 202511L
193# endif
194# elif (__cplusplus >= 201402L)
195# define __glibcxx_integer_sequence 201304L
196# if defined(__glibcxx_want_all) || defined(__glibcxx_want_integer_sequence)
197# define __cpp_lib_integer_sequence 201304L
198# endif
199# endif
200#endif /* !defined(__cpp_lib_integer_sequence) */
201#undef __glibcxx_want_integer_sequence
202
203#if !defined(__cpp_lib_integral_constant_callable)
204# if (__cplusplus >= 201402L)
205# define __glibcxx_integral_constant_callable 201304L
206# if defined(__glibcxx_want_all) || defined(__glibcxx_want_integral_constant_callable)
207# define __cpp_lib_integral_constant_callable 201304L
208# endif
209# endif
210#endif /* !defined(__cpp_lib_integral_constant_callable) */
211#undef __glibcxx_want_integral_constant_callable
212
213#if !defined(__cpp_lib_is_final)
214# if (__cplusplus >= 201402L)
215# define __glibcxx_is_final 201402L
216# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_final)
217# define __cpp_lib_is_final 201402L
218# endif
219# endif
220#endif /* !defined(__cpp_lib_is_final) */
221#undef __glibcxx_want_is_final
222
223#if !defined(__cpp_lib_make_reverse_iterator)
224# if (__cplusplus >= 201402L)
225# define __glibcxx_make_reverse_iterator 201402L
226# if defined(__glibcxx_want_all) || defined(__glibcxx_want_make_reverse_iterator)
227# define __cpp_lib_make_reverse_iterator 201402L
228# endif
229# endif
230#endif /* !defined(__cpp_lib_make_reverse_iterator) */
231#undef __glibcxx_want_make_reverse_iterator
232
233#if !defined(__cpp_lib_null_iterators)
234# if (__cplusplus >= 201402L)
235# define __glibcxx_null_iterators 201304L
236# if defined(__glibcxx_want_all) || defined(__glibcxx_want_null_iterators)
237# define __cpp_lib_null_iterators 201304L
238# endif
239# endif
240#endif /* !defined(__cpp_lib_null_iterators) */
241#undef __glibcxx_want_null_iterators
242
243#if !defined(__cpp_lib_transformation_trait_aliases)
244# if (__cplusplus >= 201402L)
245# define __glibcxx_transformation_trait_aliases 201304L
246# if defined(__glibcxx_want_all) || defined(__glibcxx_want_transformation_trait_aliases)
247# define __cpp_lib_transformation_trait_aliases 201304L
248# endif
249# endif
250#endif /* !defined(__cpp_lib_transformation_trait_aliases) */
251#undef __glibcxx_want_transformation_trait_aliases
252
253#if !defined(__cpp_lib_transparent_operators)
254# if (__cplusplus >= 201402L)
255# define __glibcxx_transparent_operators 201510L
256# if defined(__glibcxx_want_all) || defined(__glibcxx_want_transparent_operators)
257# define __cpp_lib_transparent_operators 201510L
258# endif
259# endif
260#endif /* !defined(__cpp_lib_transparent_operators) */
261#undef __glibcxx_want_transparent_operators
262
263#if !defined(__cpp_lib_tuple_element_t)
264# if (__cplusplus >= 201402L)
265# define __glibcxx_tuple_element_t 201402L
266# if defined(__glibcxx_want_all) || defined(__glibcxx_want_tuple_element_t)
267# define __cpp_lib_tuple_element_t 201402L
268# endif
269# endif
270#endif /* !defined(__cpp_lib_tuple_element_t) */
271#undef __glibcxx_want_tuple_element_t
272
273#if !defined(__cpp_lib_tuples_by_type)
274# if (__cplusplus >= 201402L)
275# define __glibcxx_tuples_by_type 201304L
276# if defined(__glibcxx_want_all) || defined(__glibcxx_want_tuples_by_type)
277# define __cpp_lib_tuples_by_type 201304L
278# endif
279# endif
280#endif /* !defined(__cpp_lib_tuples_by_type) */
281#undef __glibcxx_want_tuples_by_type
282
283#if !defined(__cpp_lib_robust_nonmodifying_seq_ops)
284# if (__cplusplus >= 201402L)
285# define __glibcxx_robust_nonmodifying_seq_ops 201304L
286# if defined(__glibcxx_want_all) || defined(__glibcxx_want_robust_nonmodifying_seq_ops)
287# define __cpp_lib_robust_nonmodifying_seq_ops 201304L
288# endif
289# endif
290#endif /* !defined(__cpp_lib_robust_nonmodifying_seq_ops) */
291#undef __glibcxx_want_robust_nonmodifying_seq_ops
292
293#if !defined(__cpp_lib_to_chars)
294# if (__cplusplus > 202302L) && (_GLIBCXX_FLOAT_IS_IEEE_BINARY32 && _GLIBCXX_DOUBLE_IS_IEEE_BINARY64 && __SIZE_WIDTH__ >= 32)
295# define __glibcxx_to_chars 202306L
296# if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_chars)
297# define __cpp_lib_to_chars 202306L
298# endif
299# elif (__cplusplus >= 201402L) && (_GLIBCXX_FLOAT_IS_IEEE_BINARY32 && _GLIBCXX_DOUBLE_IS_IEEE_BINARY64 && __SIZE_WIDTH__ >= 32)
300# define __glibcxx_to_chars 201611L
301# if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_chars)
302# define __cpp_lib_to_chars 201611L
303# endif
304# endif
305#endif /* !defined(__cpp_lib_to_chars) */
306#undef __glibcxx_want_to_chars
307
308#if !defined(__cpp_lib_chrono_udls)
309# if (__cplusplus >= 201402L)
310# define __glibcxx_chrono_udls 201304L
311# if defined(__glibcxx_want_all) || defined(__glibcxx_want_chrono_udls)
312# define __cpp_lib_chrono_udls 201304L
313# endif
314# endif
315#endif /* !defined(__cpp_lib_chrono_udls) */
316#undef __glibcxx_want_chrono_udls
317
318#if !defined(__cpp_lib_complex_udls)
319# if (__cplusplus >= 201402L) && _GLIBCXX_HOSTED
320# define __glibcxx_complex_udls 201309L
321# if defined(__glibcxx_want_all) || defined(__glibcxx_want_complex_udls)
322# define __cpp_lib_complex_udls 201309L
323# endif
324# endif
325#endif /* !defined(__cpp_lib_complex_udls) */
326#undef __glibcxx_want_complex_udls
327
328#if !defined(__cpp_lib_generic_associative_lookup)
329# if (__cplusplus >= 201402L) && _GLIBCXX_HOSTED
330# define __glibcxx_generic_associative_lookup 201304L
331# if defined(__glibcxx_want_all) || defined(__glibcxx_want_generic_associative_lookup)
332# define __cpp_lib_generic_associative_lookup 201304L
333# endif
334# endif
335#endif /* !defined(__cpp_lib_generic_associative_lookup) */
336#undef __glibcxx_want_generic_associative_lookup
337
338#if !defined(__cpp_lib_make_unique)
339# if (__cplusplus >= 201402L) && _GLIBCXX_HOSTED
340# define __glibcxx_make_unique 201304L
341# if defined(__glibcxx_want_all) || defined(__glibcxx_want_make_unique)
342# define __cpp_lib_make_unique 201304L
343# endif
344# endif
345#endif /* !defined(__cpp_lib_make_unique) */
346#undef __glibcxx_want_make_unique
347
348#if !defined(__cpp_lib_quoted_string_io)
349# if (__cplusplus >= 201402L) && _GLIBCXX_HOSTED
350# define __glibcxx_quoted_string_io 201304L
351# if defined(__glibcxx_want_all) || defined(__glibcxx_want_quoted_string_io)
352# define __cpp_lib_quoted_string_io 201304L
353# endif
354# endif
355#endif /* !defined(__cpp_lib_quoted_string_io) */
356#undef __glibcxx_want_quoted_string_io
357
358#if !defined(__cpp_lib_shared_timed_mutex)
359# if (__cplusplus >= 201402L) && defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED
360# define __glibcxx_shared_timed_mutex 201402L
361# if defined(__glibcxx_want_all) || defined(__glibcxx_want_shared_timed_mutex)
362# define __cpp_lib_shared_timed_mutex 201402L
363# endif
364# endif
365#endif /* !defined(__cpp_lib_shared_timed_mutex) */
366#undef __glibcxx_want_shared_timed_mutex
367
368#if !defined(__cpp_lib_string_udls)
369# if (__cplusplus >= 201402L) && _GLIBCXX_HOSTED
370# define __glibcxx_string_udls 201304L
371# if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_udls)
372# define __cpp_lib_string_udls 201304L
373# endif
374# endif
375#endif /* !defined(__cpp_lib_string_udls) */
376#undef __glibcxx_want_string_udls
377
378#if !defined(__cpp_lib_addressof_constexpr)
379# if (__cplusplus >= 201703L)
380# define __glibcxx_addressof_constexpr 201603L
381# if defined(__glibcxx_want_all) || defined(__glibcxx_want_addressof_constexpr)
382# define __cpp_lib_addressof_constexpr 201603L
383# endif
384# endif
385#endif /* !defined(__cpp_lib_addressof_constexpr) */
386#undef __glibcxx_want_addressof_constexpr
387
388#if !defined(__cpp_lib_any)
389# if (__cplusplus >= 201703L)
390# define __glibcxx_any 201606L
391# if defined(__glibcxx_want_all) || defined(__glibcxx_want_any)
392# define __cpp_lib_any 201606L
393# endif
394# endif
395#endif /* !defined(__cpp_lib_any) */
396#undef __glibcxx_want_any
397
398#if !defined(__cpp_lib_apply)
399# if (__cplusplus >= 201703L)
400# define __glibcxx_apply 201603L
401# if defined(__glibcxx_want_all) || defined(__glibcxx_want_apply)
402# define __cpp_lib_apply 201603L
403# endif
404# endif
405#endif /* !defined(__cpp_lib_apply) */
406#undef __glibcxx_want_apply
407
408#if !defined(__cpp_lib_as_const)
409# if (__cplusplus >= 201703L)
410# define __glibcxx_as_const 201510L
411# if defined(__glibcxx_want_all) || defined(__glibcxx_want_as_const)
412# define __cpp_lib_as_const 201510L
413# endif
414# endif
415#endif /* !defined(__cpp_lib_as_const) */
416#undef __glibcxx_want_as_const
417
418#if !defined(__cpp_lib_atomic_is_always_lock_free)
419# if (__cplusplus >= 201703L)
420# define __glibcxx_atomic_is_always_lock_free 201603L
421# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_is_always_lock_free)
422# define __cpp_lib_atomic_is_always_lock_free 201603L
423# endif
424# endif
425#endif /* !defined(__cpp_lib_atomic_is_always_lock_free) */
426#undef __glibcxx_want_atomic_is_always_lock_free
427
428#if !defined(__cpp_lib_bool_constant)
429# if (__cplusplus >= 201703L)
430# define __glibcxx_bool_constant 201505L
431# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bool_constant)
432# define __cpp_lib_bool_constant 201505L
433# endif
434# endif
435#endif /* !defined(__cpp_lib_bool_constant) */
436#undef __glibcxx_want_bool_constant
437
438#if !defined(__cpp_lib_byte)
439# if (__cplusplus >= 201703L)
440# define __glibcxx_byte 201603L
441# if defined(__glibcxx_want_all) || defined(__glibcxx_want_byte)
442# define __cpp_lib_byte 201603L
443# endif
444# endif
445#endif /* !defined(__cpp_lib_byte) */
446#undef __glibcxx_want_byte
447
448#if !defined(__cpp_lib_constant_wrapper)
449# if (__cplusplus > 202302L)
450# define __glibcxx_constant_wrapper 202606L
451# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constant_wrapper)
452# define __cpp_lib_constant_wrapper 202606L
453# endif
454# endif
455#endif /* !defined(__cpp_lib_constant_wrapper) */
456#undef __glibcxx_want_constant_wrapper
457
458#if !defined(__cpp_lib_has_unique_object_representations)
459# if (__cplusplus >= 201703L) && (defined(_GLIBCXX_HAVE_BUILTIN_HAS_UNIQ_OBJ_REP))
460# define __glibcxx_has_unique_object_representations 201606L
461# if defined(__glibcxx_want_all) || defined(__glibcxx_want_has_unique_object_representations)
462# define __cpp_lib_has_unique_object_representations 201606L
463# endif
464# endif
465#endif /* !defined(__cpp_lib_has_unique_object_representations) */
466#undef __glibcxx_want_has_unique_object_representations
467
468#if !defined(__cpp_lib_hardware_interference_size)
469# if (__cplusplus >= 201703L) && (defined(__GCC_DESTRUCTIVE_SIZE))
470# define __glibcxx_hardware_interference_size 201703L
471# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardware_interference_size)
472# define __cpp_lib_hardware_interference_size 201703L
473# endif
474# endif
475#endif /* !defined(__cpp_lib_hardware_interference_size) */
476#undef __glibcxx_want_hardware_interference_size
477
478#if !defined(__cpp_lib_invoke)
479# if (__cplusplus >= 201703L)
480# define __glibcxx_invoke 201411L
481# if defined(__glibcxx_want_all) || defined(__glibcxx_want_invoke)
482# define __cpp_lib_invoke 201411L
483# endif
484# endif
485#endif /* !defined(__cpp_lib_invoke) */
486#undef __glibcxx_want_invoke
487
488#if !defined(__cpp_lib_is_aggregate)
489# if (__cplusplus >= 201703L) && (defined(_GLIBCXX_HAVE_BUILTIN_IS_AGGREGATE))
490# define __glibcxx_is_aggregate 201703L
491# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_aggregate)
492# define __cpp_lib_is_aggregate 201703L
493# endif
494# endif
495#endif /* !defined(__cpp_lib_is_aggregate) */
496#undef __glibcxx_want_is_aggregate
497
498#if !defined(__cpp_lib_is_invocable)
499# if (__cplusplus >= 201703L)
500# define __glibcxx_is_invocable 201703L
501# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_invocable)
502# define __cpp_lib_is_invocable 201703L
503# endif
504# endif
505#endif /* !defined(__cpp_lib_is_invocable) */
506#undef __glibcxx_want_is_invocable
507
508#if !defined(__cpp_lib_launder)
509# if (__cplusplus >= 201703L) && (defined(_GLIBCXX_HAVE_BUILTIN_LAUNDER))
510# define __glibcxx_launder 201606L
511# if defined(__glibcxx_want_all) || defined(__glibcxx_want_launder)
512# define __cpp_lib_launder 201606L
513# endif
514# endif
515#endif /* !defined(__cpp_lib_launder) */
516#undef __glibcxx_want_launder
517
518#if !defined(__cpp_lib_logical_traits)
519# if (__cplusplus >= 201703L)
520# define __glibcxx_logical_traits 201510L
521# if defined(__glibcxx_want_all) || defined(__glibcxx_want_logical_traits)
522# define __cpp_lib_logical_traits 201510L
523# endif
524# endif
525#endif /* !defined(__cpp_lib_logical_traits) */
526#undef __glibcxx_want_logical_traits
527
528#if !defined(__cpp_lib_make_from_tuple)
529# if (__cplusplus >= 201703L)
530# define __glibcxx_make_from_tuple 201606L
531# if defined(__glibcxx_want_all) || defined(__glibcxx_want_make_from_tuple)
532# define __cpp_lib_make_from_tuple 201606L
533# endif
534# endif
535#endif /* !defined(__cpp_lib_make_from_tuple) */
536#undef __glibcxx_want_make_from_tuple
537
538#if !defined(__cpp_lib_not_fn)
539# if (__cplusplus > 202302L)
540# define __glibcxx_not_fn 202306L
541# if defined(__glibcxx_want_all) || defined(__glibcxx_want_not_fn)
542# define __cpp_lib_not_fn 202306L
543# endif
544# elif (__cplusplus >= 201703L)
545# define __glibcxx_not_fn 201603L
546# if defined(__glibcxx_want_all) || defined(__glibcxx_want_not_fn)
547# define __cpp_lib_not_fn 201603L
548# endif
549# endif
550#endif /* !defined(__cpp_lib_not_fn) */
551#undef __glibcxx_want_not_fn
552
553#if !defined(__cpp_lib_type_trait_variable_templates)
554# if (__cplusplus >= 201703L)
555# define __glibcxx_type_trait_variable_templates 201510L
556# if defined(__glibcxx_want_all) || defined(__glibcxx_want_type_trait_variable_templates)
557# define __cpp_lib_type_trait_variable_templates 201510L
558# endif
559# endif
560#endif /* !defined(__cpp_lib_type_trait_variable_templates) */
561#undef __glibcxx_want_type_trait_variable_templates
562
563#if !defined(__cpp_lib_variant)
564# if (__cplusplus > 202302L) && (__cpp_concepts >= 202002L && __cpp_constexpr >= 201811L && __cpp_explicit_this_parameter)
565# define __glibcxx_variant 202306L
566# if defined(__glibcxx_want_all) || defined(__glibcxx_want_variant)
567# define __cpp_lib_variant 202306L
568# endif
569# elif (__cplusplus >= 202002L) && (__cpp_concepts >= 202002L && __cpp_constexpr >= 201811L)
570# define __glibcxx_variant 202106L
571# if defined(__glibcxx_want_all) || defined(__glibcxx_want_variant)
572# define __cpp_lib_variant 202106L
573# endif
574# elif (__cplusplus >= 201703L)
575# define __glibcxx_variant 202102L
576# if defined(__glibcxx_want_all) || defined(__glibcxx_want_variant)
577# define __cpp_lib_variant 202102L
578# endif
579# endif
580#endif /* !defined(__cpp_lib_variant) */
581#undef __glibcxx_want_variant
582
583#if !defined(__cpp_lib_lcm)
584# if (__cplusplus >= 201703L)
585# define __glibcxx_lcm 201606L
586# if defined(__glibcxx_want_all) || defined(__glibcxx_want_lcm)
587# define __cpp_lib_lcm 201606L
588# endif
589# endif
590#endif /* !defined(__cpp_lib_lcm) */
591#undef __glibcxx_want_lcm
592
593#if !defined(__cpp_lib_gcd)
594# if (__cplusplus >= 201703L)
595# define __glibcxx_gcd 201606L
596# if defined(__glibcxx_want_all) || defined(__glibcxx_want_gcd)
597# define __cpp_lib_gcd 201606L
598# endif
599# endif
600#endif /* !defined(__cpp_lib_gcd) */
601#undef __glibcxx_want_gcd
602
603#if !defined(__cpp_lib_gcd_lcm)
604# if (__cplusplus >= 201703L)
605# define __glibcxx_gcd_lcm 201606L
606# if defined(__glibcxx_want_all) || defined(__glibcxx_want_gcd_lcm)
607# define __cpp_lib_gcd_lcm 201606L
608# endif
609# endif
610#endif /* !defined(__cpp_lib_gcd_lcm) */
611#undef __glibcxx_want_gcd_lcm
612
613#if !defined(__cpp_lib_raw_memory_algorithms)
614# if (__cplusplus > 202302L) && (__cpp_constexpr >= 202406L)
615# define __glibcxx_raw_memory_algorithms 202411L
616# if defined(__glibcxx_want_all) || defined(__glibcxx_want_raw_memory_algorithms)
617# define __cpp_lib_raw_memory_algorithms 202411L
618# endif
619# elif (__cplusplus >= 201703L)
620# define __glibcxx_raw_memory_algorithms 201606L
621# if defined(__glibcxx_want_all) || defined(__glibcxx_want_raw_memory_algorithms)
622# define __cpp_lib_raw_memory_algorithms 201606L
623# endif
624# endif
625#endif /* !defined(__cpp_lib_raw_memory_algorithms) */
626#undef __glibcxx_want_raw_memory_algorithms
627
628#if !defined(__cpp_lib_array_constexpr)
629# if (__cplusplus >= 202002L)
630# define __glibcxx_array_constexpr 201811L
631# if defined(__glibcxx_want_all) || defined(__glibcxx_want_array_constexpr)
632# define __cpp_lib_array_constexpr 201811L
633# endif
634# elif (__cplusplus >= 201703L)
635# define __glibcxx_array_constexpr 201803L
636# if defined(__glibcxx_want_all) || defined(__glibcxx_want_array_constexpr)
637# define __cpp_lib_array_constexpr 201803L
638# endif
639# endif
640#endif /* !defined(__cpp_lib_array_constexpr) */
641#undef __glibcxx_want_array_constexpr
642
643#if !defined(__cpp_lib_nonmember_container_access)
644# if (__cplusplus >= 201703L)
645# define __glibcxx_nonmember_container_access 201411L
646# if defined(__glibcxx_want_all) || defined(__glibcxx_want_nonmember_container_access)
647# define __cpp_lib_nonmember_container_access 201411L
648# endif
649# endif
650#endif /* !defined(__cpp_lib_nonmember_container_access) */
651#undef __glibcxx_want_nonmember_container_access
652
653#if !defined(__cpp_lib_clamp)
654# if (__cplusplus >= 201703L)
655# define __glibcxx_clamp 201603L
656# if defined(__glibcxx_want_all) || defined(__glibcxx_want_clamp)
657# define __cpp_lib_clamp 201603L
658# endif
659# endif
660#endif /* !defined(__cpp_lib_clamp) */
661#undef __glibcxx_want_clamp
662
663#if !defined(__cpp_lib_sample)
664# if (__cplusplus >= 201703L)
665# define __glibcxx_sample 201603L
666# if defined(__glibcxx_want_all) || defined(__glibcxx_want_sample)
667# define __cpp_lib_sample 201603L
668# endif
669# endif
670#endif /* !defined(__cpp_lib_sample) */
671#undef __glibcxx_want_sample
672
673#if !defined(__cpp_lib_boyer_moore_searcher)
674# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
675# define __glibcxx_boyer_moore_searcher 201603L
676# if defined(__glibcxx_want_all) || defined(__glibcxx_want_boyer_moore_searcher)
677# define __cpp_lib_boyer_moore_searcher 201603L
678# endif
679# endif
680#endif /* !defined(__cpp_lib_boyer_moore_searcher) */
681#undef __glibcxx_want_boyer_moore_searcher
682
683#if !defined(__cpp_lib_chrono)
684# if (__cplusplus > 202302L) && _GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED
685# define __glibcxx_chrono 202306L
686# if defined(__glibcxx_want_all) || defined(__glibcxx_want_chrono)
687# define __cpp_lib_chrono 202306L
688# endif
689# elif (__cplusplus >= 202002L) && _GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED
690# define __glibcxx_chrono 201907L
691# if defined(__glibcxx_want_all) || defined(__glibcxx_want_chrono)
692# define __cpp_lib_chrono 201907L
693# endif
694# elif (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
695# define __glibcxx_chrono 201611L
696# if defined(__glibcxx_want_all) || defined(__glibcxx_want_chrono)
697# define __cpp_lib_chrono 201611L
698# endif
699# endif
700#endif /* !defined(__cpp_lib_chrono) */
701#undef __glibcxx_want_chrono
702
703#if !defined(__cpp_lib_chrono_cxx20)
704# if (__cplusplus > 202302L)
705# define __glibcxx_chrono_cxx20 202306L
706# if defined(__glibcxx_want_all) || defined(__glibcxx_want_chrono_cxx20)
707# endif
708# elif (__cplusplus >= 202002L)
709# define __glibcxx_chrono_cxx20 201800L
710# if defined(__glibcxx_want_all) || defined(__glibcxx_want_chrono_cxx20)
711# endif
712# endif
713#endif /* !defined(__cpp_lib_chrono_cxx20) */
714#undef __glibcxx_want_chrono_cxx20
715
716#if !defined(__cpp_lib_execution)
717# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
718# define __glibcxx_execution 201902L
719# if defined(__glibcxx_want_all) || defined(__glibcxx_want_execution)
720# define __cpp_lib_execution 201902L
721# endif
722# endif
723#endif /* !defined(__cpp_lib_execution) */
724#undef __glibcxx_want_execution
725
726#if !defined(__cpp_lib_filesystem)
727# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
728# define __glibcxx_filesystem 201703L
729# if defined(__glibcxx_want_all) || defined(__glibcxx_want_filesystem)
730# define __cpp_lib_filesystem 201703L
731# endif
732# endif
733#endif /* !defined(__cpp_lib_filesystem) */
734#undef __glibcxx_want_filesystem
735
736#if !defined(__cpp_lib_hypot)
737# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
738# define __glibcxx_hypot 201603L
739# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hypot)
740# define __cpp_lib_hypot 201603L
741# endif
742# endif
743#endif /* !defined(__cpp_lib_hypot) */
744#undef __glibcxx_want_hypot
745
746#if !defined(__cpp_lib_map_try_emplace)
747# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
748# define __glibcxx_map_try_emplace 201411L
749# if defined(__glibcxx_want_all) || defined(__glibcxx_want_map_try_emplace)
750# define __cpp_lib_map_try_emplace 201411L
751# endif
752# endif
753#endif /* !defined(__cpp_lib_map_try_emplace) */
754#undef __glibcxx_want_map_try_emplace
755
756#if !defined(__cpp_lib_math_special_functions)
757# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
758# define __glibcxx_math_special_functions 201603L
759# if defined(__glibcxx_want_all) || defined(__glibcxx_want_math_special_functions)
760# define __cpp_lib_math_special_functions 201603L
761# endif
762# endif
763#endif /* !defined(__cpp_lib_math_special_functions) */
764#undef __glibcxx_want_math_special_functions
765
766#if !defined(__cpp_lib_memory_resource)
767# if (__cplusplus >= 201703L) && defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED
768# define __glibcxx_memory_resource 201603L
769# if defined(__glibcxx_want_all) || defined(__glibcxx_want_memory_resource)
770# define __cpp_lib_memory_resource 201603L
771# endif
772# elif (__cplusplus >= 201703L) && !defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED
773# define __glibcxx_memory_resource 1L
774# if defined(__glibcxx_want_all) || defined(__glibcxx_want_memory_resource)
775# define __cpp_lib_memory_resource 1L
776# endif
777# endif
778#endif /* !defined(__cpp_lib_memory_resource) */
779#undef __glibcxx_want_memory_resource
780
781#if !defined(__cpp_lib_node_extract)
782# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
783# define __glibcxx_node_extract 201606L
784# if defined(__glibcxx_want_all) || defined(__glibcxx_want_node_extract)
785# define __cpp_lib_node_extract 201606L
786# endif
787# endif
788#endif /* !defined(__cpp_lib_node_extract) */
789#undef __glibcxx_want_node_extract
790
791#if !defined(__cpp_lib_parallel_algorithm)
792# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
793# define __glibcxx_parallel_algorithm 201603L
794# if defined(__glibcxx_want_all) || defined(__glibcxx_want_parallel_algorithm)
795# define __cpp_lib_parallel_algorithm 201603L
796# endif
797# endif
798#endif /* !defined(__cpp_lib_parallel_algorithm) */
799#undef __glibcxx_want_parallel_algorithm
800
801#if !defined(__cpp_lib_scoped_lock)
802# if (__cplusplus >= 201703L)
803# define __glibcxx_scoped_lock 201703L
804# if defined(__glibcxx_want_all) || defined(__glibcxx_want_scoped_lock)
805# define __cpp_lib_scoped_lock 201703L
806# endif
807# endif
808#endif /* !defined(__cpp_lib_scoped_lock) */
809#undef __glibcxx_want_scoped_lock
810
811#if !defined(__cpp_lib_shared_mutex)
812# if (__cplusplus >= 201703L) && defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED
813# define __glibcxx_shared_mutex 201505L
814# if defined(__glibcxx_want_all) || defined(__glibcxx_want_shared_mutex)
815# define __cpp_lib_shared_mutex 201505L
816# endif
817# endif
818#endif /* !defined(__cpp_lib_shared_mutex) */
819#undef __glibcxx_want_shared_mutex
820
821#if !defined(__cpp_lib_shared_ptr_weak_type)
822# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
823# define __glibcxx_shared_ptr_weak_type 201606L
824# if defined(__glibcxx_want_all) || defined(__glibcxx_want_shared_ptr_weak_type)
825# define __cpp_lib_shared_ptr_weak_type 201606L
826# endif
827# endif
828#endif /* !defined(__cpp_lib_shared_ptr_weak_type) */
829#undef __glibcxx_want_shared_ptr_weak_type
830
831#if !defined(__cpp_lib_string_view)
832# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
833# define __glibcxx_string_view 202403L
834# if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_view)
835# define __cpp_lib_string_view 202403L
836# endif
837# elif (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
838# define __glibcxx_string_view 201803L
839# if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_view)
840# define __cpp_lib_string_view 201803L
841# endif
842# endif
843#endif /* !defined(__cpp_lib_string_view) */
844#undef __glibcxx_want_string_view
845
846#if !defined(__cpp_lib_unordered_map_try_emplace)
847# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
848# define __glibcxx_unordered_map_try_emplace 201411L
849# if defined(__glibcxx_want_all) || defined(__glibcxx_want_unordered_map_try_emplace)
850# define __cpp_lib_unordered_map_try_emplace 201411L
851# endif
852# endif
853#endif /* !defined(__cpp_lib_unordered_map_try_emplace) */
854#undef __glibcxx_want_unordered_map_try_emplace
855
856#if !defined(__cpp_lib_assume_aligned)
857# if (__cplusplus >= 202002L)
858# define __glibcxx_assume_aligned 201811L
859# if defined(__glibcxx_want_all) || defined(__glibcxx_want_assume_aligned)
860# define __cpp_lib_assume_aligned 201811L
861# endif
862# endif
863#endif /* !defined(__cpp_lib_assume_aligned) */
864#undef __glibcxx_want_assume_aligned
865
866#if !defined(__cpp_lib_is_sufficiently_aligned)
867# if (__cplusplus > 202302L)
868# define __glibcxx_is_sufficiently_aligned 202411L
869# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_sufficiently_aligned)
870# define __cpp_lib_is_sufficiently_aligned 202411L
871# endif
872# endif
873#endif /* !defined(__cpp_lib_is_sufficiently_aligned) */
874#undef __glibcxx_want_is_sufficiently_aligned
875
876#if !defined(__cpp_lib_atomic_flag_test)
877# if (__cplusplus >= 202002L)
878# define __glibcxx_atomic_flag_test 201907L
879# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_flag_test)
880# define __cpp_lib_atomic_flag_test 201907L
881# endif
882# endif
883#endif /* !defined(__cpp_lib_atomic_flag_test) */
884#undef __glibcxx_want_atomic_flag_test
885
886#if !defined(__cpp_lib_atomic_float)
887# if (__cplusplus >= 202002L)
888# define __glibcxx_atomic_float 201711L
889# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_float)
890# define __cpp_lib_atomic_float 201711L
891# endif
892# endif
893#endif /* !defined(__cpp_lib_atomic_float) */
894#undef __glibcxx_want_atomic_float
895
896#if !defined(__cpp_lib_atomic_min_max)
897# if (__cplusplus > 202302L)
898# define __glibcxx_atomic_min_max 202403L
899# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_min_max)
900# define __cpp_lib_atomic_min_max 202403L
901# endif
902# endif
903#endif /* !defined(__cpp_lib_atomic_min_max) */
904#undef __glibcxx_want_atomic_min_max
905
906#if !defined(__cpp_lib_atomic_lock_free_type_aliases)
907# if (__cplusplus >= 202002L) && ((__GCC_ATOMIC_INT_LOCK_FREE | __GCC_ATOMIC_LONG_LOCK_FREE | __GCC_ATOMIC_CHAR_LOCK_FREE) & 2)
908# define __glibcxx_atomic_lock_free_type_aliases 201907L
909# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_lock_free_type_aliases)
910# define __cpp_lib_atomic_lock_free_type_aliases 201907L
911# endif
912# endif
913#endif /* !defined(__cpp_lib_atomic_lock_free_type_aliases) */
914#undef __glibcxx_want_atomic_lock_free_type_aliases
915
916#if !defined(__cpp_lib_atomic_ref)
917# if (__cplusplus > 202302L)
918# define __glibcxx_atomic_ref 202603L
919# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_ref)
920# define __cpp_lib_atomic_ref 202603L
921# endif
922# elif (__cplusplus >= 202002L)
923# define __glibcxx_atomic_ref 201806L
924# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_ref)
925# define __cpp_lib_atomic_ref 201806L
926# endif
927# endif
928#endif /* !defined(__cpp_lib_atomic_ref) */
929#undef __glibcxx_want_atomic_ref
930
931#if !defined(__cpp_lib_atomic_value_initialization)
932# if (__cplusplus >= 202002L) && (__cpp_concepts >= 201907L)
933# define __glibcxx_atomic_value_initialization 201911L
934# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_value_initialization)
935# define __cpp_lib_atomic_value_initialization 201911L
936# endif
937# endif
938#endif /* !defined(__cpp_lib_atomic_value_initialization) */
939#undef __glibcxx_want_atomic_value_initialization
940
941#if !defined(__cpp_lib_bind_front)
942# if (__cplusplus > 202302L)
943# define __glibcxx_bind_front 202306L
944# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bind_front)
945# define __cpp_lib_bind_front 202306L
946# endif
947# elif (__cplusplus >= 202002L)
948# define __glibcxx_bind_front 201907L
949# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bind_front)
950# define __cpp_lib_bind_front 201907L
951# endif
952# endif
953#endif /* !defined(__cpp_lib_bind_front) */
954#undef __glibcxx_want_bind_front
955
956#if !defined(__cpp_lib_bind_back)
957# if (__cplusplus > 202302L)
958# define __glibcxx_bind_back 202306L
959# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bind_back)
960# define __cpp_lib_bind_back 202306L
961# endif
962# elif (__cplusplus >= 202100L) && (__cpp_explicit_this_parameter)
963# define __glibcxx_bind_back 202202L
964# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bind_back)
965# define __cpp_lib_bind_back 202202L
966# endif
967# endif
968#endif /* !defined(__cpp_lib_bind_back) */
969#undef __glibcxx_want_bind_back
970
971#if !defined(__cpp_lib_starts_ends_with)
972# if (__cplusplus >= 202002L)
973# define __glibcxx_starts_ends_with 201711L
974# if defined(__glibcxx_want_all) || defined(__glibcxx_want_starts_ends_with)
975# define __cpp_lib_starts_ends_with 201711L
976# endif
977# endif
978#endif /* !defined(__cpp_lib_starts_ends_with) */
979#undef __glibcxx_want_starts_ends_with
980
981#if !defined(__cpp_lib_bit_cast)
982# if (__cplusplus >= 202002L) && (__has_builtin(__builtin_bit_cast))
983# define __glibcxx_bit_cast 201806L
984# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bit_cast)
985# define __cpp_lib_bit_cast 201806L
986# endif
987# endif
988#endif /* !defined(__cpp_lib_bit_cast) */
989#undef __glibcxx_want_bit_cast
990
991#if !defined(__cpp_lib_bitops)
992# if (__cplusplus >= 202002L)
993# define __glibcxx_bitops 201907L
994# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bitops)
995# define __cpp_lib_bitops 201907L
996# endif
997# endif
998#endif /* !defined(__cpp_lib_bitops) */
999#undef __glibcxx_want_bitops
1000
1001#if !defined(__cpp_lib_bounded_array_traits)
1002# if (__cplusplus >= 202002L)
1003# define __glibcxx_bounded_array_traits 201902L
1004# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bounded_array_traits)
1005# define __cpp_lib_bounded_array_traits 201902L
1006# endif
1007# endif
1008#endif /* !defined(__cpp_lib_bounded_array_traits) */
1009#undef __glibcxx_want_bounded_array_traits
1010
1011#if !defined(__cpp_lib_concepts)
1012# if (__cplusplus >= 202002L) && (__cpp_concepts >= 201907L)
1013# define __glibcxx_concepts 202207L
1014# if defined(__glibcxx_want_all) || defined(__glibcxx_want_concepts)
1015# define __cpp_lib_concepts 202207L
1016# endif
1017# endif
1018#endif /* !defined(__cpp_lib_concepts) */
1019#undef __glibcxx_want_concepts
1020
1021#if !defined(__cpp_lib_optional)
1022# if (__cplusplus > 202302L) && (__glibcxx_concepts)
1023# define __glibcxx_optional 202506L
1024# if defined(__glibcxx_want_all) || defined(__glibcxx_want_optional)
1025# define __cpp_lib_optional 202506L
1026# endif
1027# elif (__cplusplus >= 202100L) && (__glibcxx_concepts)
1028# define __glibcxx_optional 202110L
1029# if defined(__glibcxx_want_all) || defined(__glibcxx_want_optional)
1030# define __cpp_lib_optional 202110L
1031# endif
1032# elif (__cplusplus >= 202002L)
1033# define __glibcxx_optional 202106L
1034# if defined(__glibcxx_want_all) || defined(__glibcxx_want_optional)
1035# define __cpp_lib_optional 202106L
1036# endif
1037# elif (__cplusplus >= 201703L)
1038# define __glibcxx_optional 201606L
1039# if defined(__glibcxx_want_all) || defined(__glibcxx_want_optional)
1040# define __cpp_lib_optional 201606L
1041# endif
1042# endif
1043#endif /* !defined(__cpp_lib_optional) */
1044#undef __glibcxx_want_optional
1045
1046#if !defined(__cpp_lib_optional_range_support)
1047# if (__cplusplus > 202302L)
1048# define __glibcxx_optional_range_support 202406L
1049# if defined(__glibcxx_want_all) || defined(__glibcxx_want_optional_range_support)
1050# define __cpp_lib_optional_range_support 202406L
1051# endif
1052# endif
1053#endif /* !defined(__cpp_lib_optional_range_support) */
1054#undef __glibcxx_want_optional_range_support
1055
1056#if !defined(__cpp_lib_destroying_delete)
1057# if (__cplusplus >= 202002L) && (__cpp_impl_destroying_delete)
1058# define __glibcxx_destroying_delete 201806L
1059# if defined(__glibcxx_want_all) || defined(__glibcxx_want_destroying_delete)
1060# define __cpp_lib_destroying_delete 201806L
1061# endif
1062# endif
1063#endif /* !defined(__cpp_lib_destroying_delete) */
1064#undef __glibcxx_want_destroying_delete
1065
1066#if !defined(__cpp_lib_constexpr_string_view)
1067# if (__cplusplus >= 202002L)
1068# define __glibcxx_constexpr_string_view 201811L
1069# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_string_view)
1070# define __cpp_lib_constexpr_string_view 201811L
1071# endif
1072# endif
1073#endif /* !defined(__cpp_lib_constexpr_string_view) */
1074#undef __glibcxx_want_constexpr_string_view
1075
1076#if !defined(__cpp_lib_endian)
1077# if (__cplusplus >= 202002L)
1078# define __glibcxx_endian 201907L
1079# if defined(__glibcxx_want_all) || defined(__glibcxx_want_endian)
1080# define __cpp_lib_endian 201907L
1081# endif
1082# endif
1083#endif /* !defined(__cpp_lib_endian) */
1084#undef __glibcxx_want_endian
1085
1086#if !defined(__cpp_lib_int_pow2)
1087# if (__cplusplus >= 202002L)
1088# define __glibcxx_int_pow2 202002L
1089# if defined(__glibcxx_want_all) || defined(__glibcxx_want_int_pow2)
1090# define __cpp_lib_int_pow2 202002L
1091# endif
1092# endif
1093#endif /* !defined(__cpp_lib_int_pow2) */
1094#undef __glibcxx_want_int_pow2
1095
1096#if !defined(__cpp_lib_integer_comparison_functions)
1097# if (__cplusplus >= 202002L)
1098# define __glibcxx_integer_comparison_functions 202002L
1099# if defined(__glibcxx_want_all) || defined(__glibcxx_want_integer_comparison_functions)
1100# define __cpp_lib_integer_comparison_functions 202002L
1101# endif
1102# endif
1103#endif /* !defined(__cpp_lib_integer_comparison_functions) */
1104#undef __glibcxx_want_integer_comparison_functions
1105
1106#if !defined(__cpp_lib_is_constant_evaluated)
1107# if (__cplusplus >= 202002L) && (defined(_GLIBCXX_HAVE_IS_CONSTANT_EVALUATED))
1108# define __glibcxx_is_constant_evaluated 201811L
1109# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_constant_evaluated)
1110# define __cpp_lib_is_constant_evaluated 201811L
1111# endif
1112# endif
1113#endif /* !defined(__cpp_lib_is_constant_evaluated) */
1114#undef __glibcxx_want_is_constant_evaluated
1115
1116#if !defined(__cpp_lib_constexpr_char_traits)
1117# if (__cplusplus >= 202002L) && (defined(__glibcxx_is_constant_evaluated))
1118# define __glibcxx_constexpr_char_traits 201811L
1119# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_char_traits)
1120# define __cpp_lib_constexpr_char_traits 201811L
1121# endif
1122# elif (__cplusplus >= 201703L) && (_GLIBCXX_HAVE_IS_CONSTANT_EVALUATED)
1123# define __glibcxx_constexpr_char_traits 201611L
1124# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_char_traits)
1125# define __cpp_lib_constexpr_char_traits 201611L
1126# endif
1127# endif
1128#endif /* !defined(__cpp_lib_constexpr_char_traits) */
1129#undef __glibcxx_want_constexpr_char_traits
1130
1131#if !defined(__cpp_lib_is_layout_compatible)
1132# if (__cplusplus >= 202002L) && (__has_builtin(__is_layout_compatible) && __has_builtin(__builtin_is_corresponding_member))
1133# define __glibcxx_is_layout_compatible 201907L
1134# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_layout_compatible)
1135# define __cpp_lib_is_layout_compatible 201907L
1136# endif
1137# endif
1138#endif /* !defined(__cpp_lib_is_layout_compatible) */
1139#undef __glibcxx_want_is_layout_compatible
1140
1141#if !defined(__cpp_lib_is_nothrow_convertible)
1142# if (__cplusplus >= 202002L)
1143# define __glibcxx_is_nothrow_convertible 201806L
1144# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_nothrow_convertible)
1145# define __cpp_lib_is_nothrow_convertible 201806L
1146# endif
1147# endif
1148#endif /* !defined(__cpp_lib_is_nothrow_convertible) */
1149#undef __glibcxx_want_is_nothrow_convertible
1150
1151#if !defined(__cpp_lib_is_pointer_interconvertible)
1152# if (__cplusplus >= 202002L) && (__has_builtin(__is_pointer_interconvertible_base_of) && __has_builtin(__builtin_is_pointer_interconvertible_with_class))
1153# define __glibcxx_is_pointer_interconvertible 201907L
1154# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_pointer_interconvertible)
1155# define __cpp_lib_is_pointer_interconvertible 201907L
1156# endif
1157# endif
1158#endif /* !defined(__cpp_lib_is_pointer_interconvertible) */
1159#undef __glibcxx_want_is_pointer_interconvertible
1160
1161#if !defined(__cpp_lib_math_constants)
1162# if (__cplusplus >= 202002L)
1163# define __glibcxx_math_constants 201907L
1164# if defined(__glibcxx_want_all) || defined(__glibcxx_want_math_constants)
1165# define __cpp_lib_math_constants 201907L
1166# endif
1167# endif
1168#endif /* !defined(__cpp_lib_math_constants) */
1169#undef __glibcxx_want_math_constants
1170
1171#if !defined(__cpp_lib_make_obj_using_allocator)
1172# if (__cplusplus >= 202002L) && (__cpp_concepts)
1173# define __glibcxx_make_obj_using_allocator 201811L
1174# if defined(__glibcxx_want_all) || defined(__glibcxx_want_make_obj_using_allocator)
1175# endif
1176# endif
1177#endif /* !defined(__cpp_lib_make_obj_using_allocator) */
1178#undef __glibcxx_want_make_obj_using_allocator
1179
1180#if !defined(__cpp_lib_remove_cvref)
1181# if (__cplusplus >= 202002L)
1182# define __glibcxx_remove_cvref 201711L
1183# if defined(__glibcxx_want_all) || defined(__glibcxx_want_remove_cvref)
1184# define __cpp_lib_remove_cvref 201711L
1185# endif
1186# endif
1187#endif /* !defined(__cpp_lib_remove_cvref) */
1188#undef __glibcxx_want_remove_cvref
1189
1190#if !defined(__cpp_lib_source_location)
1191# if (__cplusplus >= 202002L) && (__has_builtin(__builtin_source_location))
1192# define __glibcxx_source_location 201907L
1193# if defined(__glibcxx_want_all) || defined(__glibcxx_want_source_location)
1194# define __cpp_lib_source_location 201907L
1195# endif
1196# endif
1197#endif /* !defined(__cpp_lib_source_location) */
1198#undef __glibcxx_want_source_location
1199
1200#if !defined(__cpp_lib_span)
1201# if (__cplusplus > 202302L) && (__glibcxx_concepts)
1202# define __glibcxx_span 202311L
1203# if defined(__glibcxx_want_all) || defined(__glibcxx_want_span)
1204# define __cpp_lib_span 202311L
1205# endif
1206# elif (__cplusplus >= 202002L) && (__glibcxx_concepts)
1207# define __glibcxx_span 202002L
1208# if defined(__glibcxx_want_all) || defined(__glibcxx_want_span)
1209# define __cpp_lib_span 202002L
1210# endif
1211# endif
1212#endif /* !defined(__cpp_lib_span) */
1213#undef __glibcxx_want_span
1214
1215#if !defined(__cpp_lib_mdspan)
1216# if (__cplusplus > 202302L)
1217# define __glibcxx_mdspan 202406L
1218# if defined(__glibcxx_want_all) || defined(__glibcxx_want_mdspan)
1219# define __cpp_lib_mdspan 202406L
1220# endif
1221# elif (__cplusplus >= 202100L)
1222# define __glibcxx_mdspan 202207L
1223# if defined(__glibcxx_want_all) || defined(__glibcxx_want_mdspan)
1224# define __cpp_lib_mdspan 202207L
1225# endif
1226# endif
1227#endif /* !defined(__cpp_lib_mdspan) */
1228#undef __glibcxx_want_mdspan
1229
1230#if !defined(__cpp_lib_aligned_accessor)
1231# if (__cplusplus > 202302L) && (__glibcxx_assume_aligned && __glibcxx_is_sufficiently_aligned)
1232# define __glibcxx_aligned_accessor 202411L
1233# if defined(__glibcxx_want_all) || defined(__glibcxx_want_aligned_accessor)
1234# define __cpp_lib_aligned_accessor 202411L
1235# endif
1236# endif
1237#endif /* !defined(__cpp_lib_aligned_accessor) */
1238#undef __glibcxx_want_aligned_accessor
1239
1240#if !defined(__cpp_lib_padded_layouts)
1241# if (__cplusplus > 202302L)
1242# define __glibcxx_padded_layouts 202403L
1243# if defined(__glibcxx_want_all) || defined(__glibcxx_want_padded_layouts)
1244# endif
1245# endif
1246#endif /* !defined(__cpp_lib_padded_layouts) */
1247#undef __glibcxx_want_padded_layouts
1248
1249#if !defined(__cpp_lib_submdspan)
1250# if (__cplusplus > 202302L) && (__glibcxx_constant_wrapper >= 202506L)
1251# define __glibcxx_submdspan 202603L
1252# if defined(__glibcxx_want_all) || defined(__glibcxx_want_submdspan)
1253# define __cpp_lib_submdspan 202603L
1254# endif
1255# endif
1256#endif /* !defined(__cpp_lib_submdspan) */
1257#undef __glibcxx_want_submdspan
1258
1259#if !defined(__cpp_lib_ssize)
1260# if (__cplusplus >= 202002L)
1261# define __glibcxx_ssize 201902L
1262# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ssize)
1263# define __cpp_lib_ssize 201902L
1264# endif
1265# endif
1266#endif /* !defined(__cpp_lib_ssize) */
1267#undef __glibcxx_want_ssize
1268
1269#if !defined(__cpp_lib_three_way_comparison)
1270# if (__cplusplus >= 202002L) && (__cpp_impl_three_way_comparison >= 201907L && __glibcxx_concepts)
1271# define __glibcxx_three_way_comparison 201907L
1272# if defined(__glibcxx_want_all) || defined(__glibcxx_want_three_way_comparison)
1273# define __cpp_lib_three_way_comparison 201907L
1274# endif
1275# endif
1276#endif /* !defined(__cpp_lib_three_way_comparison) */
1277#undef __glibcxx_want_three_way_comparison
1278
1279#if !defined(__cpp_lib_to_address)
1280# if (__cplusplus >= 202002L)
1281# define __glibcxx_to_address 201711L
1282# if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_address)
1283# define __cpp_lib_to_address 201711L
1284# endif
1285# endif
1286#endif /* !defined(__cpp_lib_to_address) */
1287#undef __glibcxx_want_to_address
1288
1289#if !defined(__cpp_lib_to_array)
1290# if (__cplusplus >= 202002L) && (__cpp_generic_lambdas >= 201707L)
1291# define __glibcxx_to_array 201907L
1292# if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_array)
1293# define __cpp_lib_to_array 201907L
1294# endif
1295# endif
1296#endif /* !defined(__cpp_lib_to_array) */
1297#undef __glibcxx_want_to_array
1298
1299#if !defined(__cpp_lib_type_identity)
1300# if (__cplusplus >= 202002L)
1301# define __glibcxx_type_identity 201806L
1302# if defined(__glibcxx_want_all) || defined(__glibcxx_want_type_identity)
1303# define __cpp_lib_type_identity 201806L
1304# endif
1305# endif
1306#endif /* !defined(__cpp_lib_type_identity) */
1307#undef __glibcxx_want_type_identity
1308
1309#if !defined(__cpp_lib_unwrap_ref)
1310# if (__cplusplus >= 202002L)
1311# define __glibcxx_unwrap_ref 201811L
1312# if defined(__glibcxx_want_all) || defined(__glibcxx_want_unwrap_ref)
1313# define __cpp_lib_unwrap_ref 201811L
1314# endif
1315# endif
1316#endif /* !defined(__cpp_lib_unwrap_ref) */
1317#undef __glibcxx_want_unwrap_ref
1318
1319#if !defined(__cpp_lib_constexpr_iterator)
1320# if (__cplusplus >= 202002L)
1321# define __glibcxx_constexpr_iterator 201811L
1322# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_iterator)
1323# define __cpp_lib_constexpr_iterator 201811L
1324# endif
1325# endif
1326#endif /* !defined(__cpp_lib_constexpr_iterator) */
1327#undef __glibcxx_want_constexpr_iterator
1328
1329#if !defined(__cpp_lib_interpolate)
1330# if (__cplusplus >= 202002L)
1331# define __glibcxx_interpolate 201902L
1332# if defined(__glibcxx_want_all) || defined(__glibcxx_want_interpolate)
1333# define __cpp_lib_interpolate 201902L
1334# endif
1335# endif
1336#endif /* !defined(__cpp_lib_interpolate) */
1337#undef __glibcxx_want_interpolate
1338
1339#if !defined(__cpp_lib_constexpr_utility)
1340# if (__cplusplus >= 202002L)
1341# define __glibcxx_constexpr_utility 201811L
1342# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_utility)
1343# define __cpp_lib_constexpr_utility 201811L
1344# endif
1345# endif
1346#endif /* !defined(__cpp_lib_constexpr_utility) */
1347#undef __glibcxx_want_constexpr_utility
1348
1349#if !defined(__cpp_lib_shift)
1350# if (__cplusplus >= 202100L)
1351# define __glibcxx_shift 202202L
1352# if defined(__glibcxx_want_all) || defined(__glibcxx_want_shift)
1353# define __cpp_lib_shift 202202L
1354# endif
1355# elif (__cplusplus >= 202002L)
1356# define __glibcxx_shift 201806L
1357# if defined(__glibcxx_want_all) || defined(__glibcxx_want_shift)
1358# define __cpp_lib_shift 201806L
1359# endif
1360# endif
1361#endif /* !defined(__cpp_lib_shift) */
1362#undef __glibcxx_want_shift
1363
1364#if !defined(__cpp_lib_ranges)
1365# if (__cplusplus > 202302L) && (__glibcxx_concepts)
1366# define __glibcxx_ranges 202406L
1367# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges)
1368# define __cpp_lib_ranges 202406L
1369# endif
1370# elif (__cplusplus >= 202100L) && (__glibcxx_concepts)
1371# define __glibcxx_ranges 202302L
1372# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges)
1373# define __cpp_lib_ranges 202302L
1374# endif
1375# elif (__cplusplus >= 202002L) && (__glibcxx_concepts)
1376# define __glibcxx_ranges 202110L
1377# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges)
1378# define __cpp_lib_ranges 202110L
1379# endif
1380# endif
1381#endif /* !defined(__cpp_lib_ranges) */
1382#undef __glibcxx_want_ranges
1383
1384#if !defined(__cpp_lib_constexpr_numeric)
1385# if (__cplusplus >= 202002L)
1386# define __glibcxx_constexpr_numeric 201911L
1387# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_numeric)
1388# define __cpp_lib_constexpr_numeric 201911L
1389# endif
1390# endif
1391#endif /* !defined(__cpp_lib_constexpr_numeric) */
1392#undef __glibcxx_want_constexpr_numeric
1393
1394#if !defined(__cpp_lib_constexpr_functional)
1395# if (__cplusplus >= 202002L)
1396# define __glibcxx_constexpr_functional 201907L
1397# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_functional)
1398# define __cpp_lib_constexpr_functional 201907L
1399# endif
1400# endif
1401#endif /* !defined(__cpp_lib_constexpr_functional) */
1402#undef __glibcxx_want_constexpr_functional
1403
1404#if !defined(__cpp_lib_constexpr_algorithms)
1405# if (__cplusplus > 202302L)
1406# define __glibcxx_constexpr_algorithms 202306L
1407# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_algorithms)
1408# define __cpp_lib_constexpr_algorithms 202306L
1409# endif
1410# elif (__cplusplus >= 202002L)
1411# define __glibcxx_constexpr_algorithms 201806L
1412# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_algorithms)
1413# define __cpp_lib_constexpr_algorithms 201806L
1414# endif
1415# endif
1416#endif /* !defined(__cpp_lib_constexpr_algorithms) */
1417#undef __glibcxx_want_constexpr_algorithms
1418
1419#if !defined(__cpp_lib_constexpr_tuple)
1420# if (__cplusplus >= 202002L)
1421# define __glibcxx_constexpr_tuple 201811L
1422# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_tuple)
1423# define __cpp_lib_constexpr_tuple 201811L
1424# endif
1425# endif
1426#endif /* !defined(__cpp_lib_constexpr_tuple) */
1427#undef __glibcxx_want_constexpr_tuple
1428
1429#if !defined(__cpp_lib_constexpr_memory)
1430# if (__cplusplus >= 202100L) && (__cpp_constexpr_dynamic_alloc)
1431# define __glibcxx_constexpr_memory 202202L
1432# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_memory)
1433# define __cpp_lib_constexpr_memory 202202L
1434# endif
1435# elif (__cplusplus >= 202002L)
1436# define __glibcxx_constexpr_memory 201811L
1437# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_memory)
1438# define __cpp_lib_constexpr_memory 201811L
1439# endif
1440# endif
1441#endif /* !defined(__cpp_lib_constexpr_memory) */
1442#undef __glibcxx_want_constexpr_memory
1443
1444#if !defined(__cpp_lib_atomic_shared_ptr)
1445# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1446# define __glibcxx_atomic_shared_ptr 201711L
1447# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_shared_ptr)
1448# define __cpp_lib_atomic_shared_ptr 201711L
1449# endif
1450# endif
1451#endif /* !defined(__cpp_lib_atomic_shared_ptr) */
1452#undef __glibcxx_want_atomic_shared_ptr
1453
1454#if !defined(__cpp_lib_atomic_wait)
1455# if (__cplusplus >= 202002L) && defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED
1456# define __glibcxx_atomic_wait 201907L
1457# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_wait)
1458# define __cpp_lib_atomic_wait 201907L
1459# endif
1460# elif (__cplusplus >= 202002L) && !defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED && (defined(_GLIBCXX_HAVE_LINUX_FUTEX))
1461# define __glibcxx_atomic_wait 201907L
1462# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_wait)
1463# define __cpp_lib_atomic_wait 201907L
1464# endif
1465# endif
1466#endif /* !defined(__cpp_lib_atomic_wait) */
1467#undef __glibcxx_want_atomic_wait
1468
1469#if !defined(__cpp_lib_barrier)
1470# if (__cplusplus >= 202002L) && (__cpp_aligned_new && __glibcxx_atomic_wait)
1471# define __glibcxx_barrier 201907L
1472# if defined(__glibcxx_want_all) || defined(__glibcxx_want_barrier)
1473# define __cpp_lib_barrier 201907L
1474# endif
1475# endif
1476#endif /* !defined(__cpp_lib_barrier) */
1477#undef __glibcxx_want_barrier
1478
1479#if !defined(__cpp_lib_constexpr_exceptions)
1480# if (__cplusplus > 202302L) && _GLIBCXX_USE_CXX11_ABI && (__cpp_constexpr_exceptions >= 202411L)
1481# define __glibcxx_constexpr_exceptions 202502L
1482# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_exceptions)
1483# define __cpp_lib_constexpr_exceptions 202502L
1484# endif
1485# endif
1486#endif /* !defined(__cpp_lib_constexpr_exceptions) */
1487#undef __glibcxx_want_constexpr_exceptions
1488
1489#if !defined(__cpp_lib_format)
1490# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
1491# define __glibcxx_format 202603L
1492# if defined(__glibcxx_want_all) || defined(__glibcxx_want_format)
1493# define __cpp_lib_format 202603L
1494# endif
1495# elif (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1496# define __glibcxx_format 202304L
1497# if defined(__glibcxx_want_all) || defined(__glibcxx_want_format)
1498# define __cpp_lib_format 202304L
1499# endif
1500# endif
1501#endif /* !defined(__cpp_lib_format) */
1502#undef __glibcxx_want_format
1503
1504#if !defined(__cpp_lib_constexpr_format)
1505# if (__cplusplus > 202302L) && _GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED && (__cpp_lib_constexpr_exceptions >= 202502L)
1506# define __glibcxx_constexpr_format 202511L
1507# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_format)
1508# define __cpp_lib_constexpr_format 202511L
1509# endif
1510# endif
1511#endif /* !defined(__cpp_lib_constexpr_format) */
1512#undef __glibcxx_want_constexpr_format
1513
1514#if !defined(__cpp_lib_format_uchar)
1515# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1516# define __glibcxx_format_uchar 202311L
1517# if defined(__glibcxx_want_all) || defined(__glibcxx_want_format_uchar)
1518# define __cpp_lib_format_uchar 202311L
1519# endif
1520# endif
1521#endif /* !defined(__cpp_lib_format_uchar) */
1522#undef __glibcxx_want_format_uchar
1523
1524#if !defined(__cpp_lib_constexpr_complex)
1525# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1526# define __glibcxx_constexpr_complex 201711L
1527# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_complex)
1528# define __cpp_lib_constexpr_complex 201711L
1529# endif
1530# endif
1531#endif /* !defined(__cpp_lib_constexpr_complex) */
1532#undef __glibcxx_want_constexpr_complex
1533
1534#if !defined(__cpp_lib_constexpr_dynamic_alloc)
1535# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1536# define __glibcxx_constexpr_dynamic_alloc 201907L
1537# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_dynamic_alloc)
1538# define __cpp_lib_constexpr_dynamic_alloc 201907L
1539# endif
1540# endif
1541#endif /* !defined(__cpp_lib_constexpr_dynamic_alloc) */
1542#undef __glibcxx_want_constexpr_dynamic_alloc
1543
1544#if !defined(__cpp_lib_constexpr_flat_map)
1545# if (__cplusplus > 202302L)
1546# define __glibcxx_constexpr_flat_map 202502L
1547# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_flat_map)
1548# define __cpp_lib_constexpr_flat_map 202502L
1549# endif
1550# endif
1551#endif /* !defined(__cpp_lib_constexpr_flat_map) */
1552#undef __glibcxx_want_constexpr_flat_map
1553
1554#if !defined(__cpp_lib_constexpr_flat_set)
1555# if (__cplusplus > 202302L)
1556# define __glibcxx_constexpr_flat_set 202502L
1557# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_flat_set)
1558# define __cpp_lib_constexpr_flat_set 202502L
1559# endif
1560# endif
1561#endif /* !defined(__cpp_lib_constexpr_flat_set) */
1562#undef __glibcxx_want_constexpr_flat_set
1563
1564#if !defined(__cpp_lib_constexpr_string)
1565# if (__cplusplus > 202302L) && _GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED
1566# define __glibcxx_constexpr_string 202511L
1567# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_string)
1568# define __cpp_lib_constexpr_string 202511L
1569# endif
1570# elif (__cplusplus >= 202002L) && _GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED && (defined(__glibcxx_is_constant_evaluated))
1571# define __glibcxx_constexpr_string 201907L
1572# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_string)
1573# define __cpp_lib_constexpr_string 201907L
1574# endif
1575# elif (__cplusplus >= 202002L) && !_GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED && (defined(__glibcxx_is_constant_evaluated))
1576# define __glibcxx_constexpr_string 201811L
1577# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_string)
1578# define __cpp_lib_constexpr_string 201811L
1579# endif
1580# elif (__cplusplus >= 201703L) && _GLIBCXX_HOSTED && (_GLIBCXX_HAVE_IS_CONSTANT_EVALUATED)
1581# define __glibcxx_constexpr_string 201611L
1582# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_string)
1583# define __cpp_lib_constexpr_string 201611L
1584# endif
1585# endif
1586#endif /* !defined(__cpp_lib_constexpr_string) */
1587#undef __glibcxx_want_constexpr_string
1588
1589#if !defined(__cpp_lib_constexpr_vector)
1590# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1591# define __glibcxx_constexpr_vector 201907L
1592# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_vector)
1593# define __cpp_lib_constexpr_vector 201907L
1594# endif
1595# endif
1596#endif /* !defined(__cpp_lib_constexpr_vector) */
1597#undef __glibcxx_want_constexpr_vector
1598
1599#if !defined(__cpp_lib_constrained_equality)
1600# if (__cplusplus >= 202100L) && (__glibcxx_three_way_comparison)
1601# define __glibcxx_constrained_equality 202411L
1602# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constrained_equality)
1603# define __cpp_lib_constrained_equality 202411L
1604# endif
1605# elif (__cplusplus >= 202002L) && (__glibcxx_three_way_comparison)
1606# define __glibcxx_constrained_equality 202403L
1607# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constrained_equality)
1608# define __cpp_lib_constrained_equality 202403L
1609# endif
1610# endif
1611#endif /* !defined(__cpp_lib_constrained_equality) */
1612#undef __glibcxx_want_constrained_equality
1613
1614#if !defined(__cpp_lib_erase_if)
1615# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1616# define __glibcxx_erase_if 202002L
1617# if defined(__glibcxx_want_all) || defined(__glibcxx_want_erase_if)
1618# define __cpp_lib_erase_if 202002L
1619# endif
1620# endif
1621#endif /* !defined(__cpp_lib_erase_if) */
1622#undef __glibcxx_want_erase_if
1623
1624#if !defined(__cpp_lib_generic_unordered_lookup)
1625# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1626# define __glibcxx_generic_unordered_lookup 201811L
1627# if defined(__glibcxx_want_all) || defined(__glibcxx_want_generic_unordered_lookup)
1628# define __cpp_lib_generic_unordered_lookup 201811L
1629# endif
1630# endif
1631#endif /* !defined(__cpp_lib_generic_unordered_lookup) */
1632#undef __glibcxx_want_generic_unordered_lookup
1633
1634#if !defined(__cpp_lib_jthread)
1635# if (__cplusplus >= 202002L) && defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED
1636# define __glibcxx_jthread 201911L
1637# if defined(__glibcxx_want_all) || defined(__glibcxx_want_jthread)
1638# define __cpp_lib_jthread 201911L
1639# endif
1640# endif
1641#endif /* !defined(__cpp_lib_jthread) */
1642#undef __glibcxx_want_jthread
1643
1644#if !defined(__cpp_lib_latch)
1645# if (__cplusplus >= 202002L) && (__glibcxx_atomic_wait)
1646# define __glibcxx_latch 201907L
1647# if defined(__glibcxx_want_all) || defined(__glibcxx_want_latch)
1648# define __cpp_lib_latch 201907L
1649# endif
1650# endif
1651#endif /* !defined(__cpp_lib_latch) */
1652#undef __glibcxx_want_latch
1653
1654#if !defined(__cpp_lib_list_remove_return_type)
1655# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1656# define __glibcxx_list_remove_return_type 201806L
1657# if defined(__glibcxx_want_all) || defined(__glibcxx_want_list_remove_return_type)
1658# define __cpp_lib_list_remove_return_type 201806L
1659# endif
1660# endif
1661#endif /* !defined(__cpp_lib_list_remove_return_type) */
1662#undef __glibcxx_want_list_remove_return_type
1663
1664#if !defined(__cpp_lib_polymorphic_allocator)
1665# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1666# define __glibcxx_polymorphic_allocator 201902L
1667# if defined(__glibcxx_want_all) || defined(__glibcxx_want_polymorphic_allocator)
1668# define __cpp_lib_polymorphic_allocator 201902L
1669# endif
1670# endif
1671#endif /* !defined(__cpp_lib_polymorphic_allocator) */
1672#undef __glibcxx_want_polymorphic_allocator
1673
1674#if !defined(__cpp_lib_move_iterator_concept)
1675# if (__cplusplus >= 202002L) && (__glibcxx_concepts)
1676# define __glibcxx_move_iterator_concept 202207L
1677# if defined(__glibcxx_want_all) || defined(__glibcxx_want_move_iterator_concept)
1678# define __cpp_lib_move_iterator_concept 202207L
1679# endif
1680# endif
1681#endif /* !defined(__cpp_lib_move_iterator_concept) */
1682#undef __glibcxx_want_move_iterator_concept
1683
1684#if !defined(__cpp_lib_semaphore)
1685# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED && (__glibcxx_atomic_wait)
1686# define __glibcxx_semaphore 201907L
1687# if defined(__glibcxx_want_all) || defined(__glibcxx_want_semaphore)
1688# define __cpp_lib_semaphore 201907L
1689# endif
1690# endif
1691#endif /* !defined(__cpp_lib_semaphore) */
1692#undef __glibcxx_want_semaphore
1693
1694#if !defined(__cpp_lib_smart_ptr_for_overwrite)
1695# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1696# define __glibcxx_smart_ptr_for_overwrite 202002L
1697# if defined(__glibcxx_want_all) || defined(__glibcxx_want_smart_ptr_for_overwrite)
1698# define __cpp_lib_smart_ptr_for_overwrite 202002L
1699# endif
1700# endif
1701#endif /* !defined(__cpp_lib_smart_ptr_for_overwrite) */
1702#undef __glibcxx_want_smart_ptr_for_overwrite
1703
1704#if !defined(__cpp_lib_syncbuf)
1705# if (__cplusplus >= 202002L) && _GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED
1706# define __glibcxx_syncbuf 201803L
1707# if defined(__glibcxx_want_all) || defined(__glibcxx_want_syncbuf)
1708# define __cpp_lib_syncbuf 201803L
1709# endif
1710# endif
1711#endif /* !defined(__cpp_lib_syncbuf) */
1712#undef __glibcxx_want_syncbuf
1713
1714#if !defined(__cpp_lib_byteswap)
1715# if (__cplusplus >= 202100L)
1716# define __glibcxx_byteswap 202110L
1717# if defined(__glibcxx_want_all) || defined(__glibcxx_want_byteswap)
1718# define __cpp_lib_byteswap 202110L
1719# endif
1720# endif
1721#endif /* !defined(__cpp_lib_byteswap) */
1722#undef __glibcxx_want_byteswap
1723
1724#if !defined(__cpp_lib_constexpr_charconv)
1725# if (__cplusplus >= 202100L)
1726# define __glibcxx_constexpr_charconv 202207L
1727# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_charconv)
1728# define __cpp_lib_constexpr_charconv 202207L
1729# endif
1730# endif
1731#endif /* !defined(__cpp_lib_constexpr_charconv) */
1732#undef __glibcxx_want_constexpr_charconv
1733
1734#if !defined(__cpp_lib_constexpr_typeinfo)
1735# if (__cplusplus >= 202100L)
1736# define __glibcxx_constexpr_typeinfo 202106L
1737# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_typeinfo)
1738# define __cpp_lib_constexpr_typeinfo 202106L
1739# endif
1740# endif
1741#endif /* !defined(__cpp_lib_constexpr_typeinfo) */
1742#undef __glibcxx_want_constexpr_typeinfo
1743
1744#if !defined(__cpp_lib_expected)
1745# if (__cplusplus >= 202100L) && (__cpp_concepts >= 202002L)
1746# define __glibcxx_expected 202211L
1747# if defined(__glibcxx_want_all) || defined(__glibcxx_want_expected)
1748# define __cpp_lib_expected 202211L
1749# endif
1750# endif
1751#endif /* !defined(__cpp_lib_expected) */
1752#undef __glibcxx_want_expected
1753
1754#if !defined(__cpp_lib_format_ranges)
1755# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
1756# define __glibcxx_format_ranges 202207L
1757# if defined(__glibcxx_want_all) || defined(__glibcxx_want_format_ranges)
1758# define __cpp_lib_format_ranges 202207L
1759# endif
1760# endif
1761#endif /* !defined(__cpp_lib_format_ranges) */
1762#undef __glibcxx_want_format_ranges
1763
1764#if !defined(__cpp_lib_format_path)
1765# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
1766# define __glibcxx_format_path 202506L
1767# if defined(__glibcxx_want_all) || defined(__glibcxx_want_format_path)
1768# define __cpp_lib_format_path 202506L
1769# endif
1770# endif
1771#endif /* !defined(__cpp_lib_format_path) */
1772#undef __glibcxx_want_format_path
1773
1774#if !defined(__cpp_lib_freestanding_algorithm)
1775# if (__cplusplus >= 202100L)
1776# define __glibcxx_freestanding_algorithm 202311L
1777# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_algorithm)
1778# define __cpp_lib_freestanding_algorithm 202311L
1779# endif
1780# endif
1781#endif /* !defined(__cpp_lib_freestanding_algorithm) */
1782#undef __glibcxx_want_freestanding_algorithm
1783
1784#if !defined(__cpp_lib_freestanding_array)
1785# if (__cplusplus >= 202100L)
1786# define __glibcxx_freestanding_array 202311L
1787# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_array)
1788# define __cpp_lib_freestanding_array 202311L
1789# endif
1790# endif
1791#endif /* !defined(__cpp_lib_freestanding_array) */
1792#undef __glibcxx_want_freestanding_array
1793
1794#if !defined(__cpp_lib_freestanding_cstring)
1795# if (__cplusplus >= 202100L)
1796# define __glibcxx_freestanding_cstring 202311L
1797# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_cstring)
1798# define __cpp_lib_freestanding_cstring 202311L
1799# endif
1800# endif
1801#endif /* !defined(__cpp_lib_freestanding_cstring) */
1802#undef __glibcxx_want_freestanding_cstring
1803
1804#if !defined(__cpp_lib_freestanding_expected)
1805# if (__cplusplus >= 202100L) && (__cpp_lib_expected)
1806# define __glibcxx_freestanding_expected 202311L
1807# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_expected)
1808# define __cpp_lib_freestanding_expected 202311L
1809# endif
1810# endif
1811#endif /* !defined(__cpp_lib_freestanding_expected) */
1812#undef __glibcxx_want_freestanding_expected
1813
1814#if !defined(__cpp_lib_freestanding_optional)
1815# if (__cplusplus >= 202100L)
1816# define __glibcxx_freestanding_optional 202311L
1817# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_optional)
1818# define __cpp_lib_freestanding_optional 202311L
1819# endif
1820# endif
1821#endif /* !defined(__cpp_lib_freestanding_optional) */
1822#undef __glibcxx_want_freestanding_optional
1823
1824#if !defined(__cpp_lib_freestanding_string_view)
1825# if (__cplusplus >= 202100L)
1826# define __glibcxx_freestanding_string_view 202311L
1827# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_string_view)
1828# define __cpp_lib_freestanding_string_view 202311L
1829# endif
1830# endif
1831#endif /* !defined(__cpp_lib_freestanding_string_view) */
1832#undef __glibcxx_want_freestanding_string_view
1833
1834#if !defined(__cpp_lib_freestanding_variant)
1835# if (__cplusplus >= 202100L)
1836# define __glibcxx_freestanding_variant 202311L
1837# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_variant)
1838# define __cpp_lib_freestanding_variant 202311L
1839# endif
1840# endif
1841#endif /* !defined(__cpp_lib_freestanding_variant) */
1842#undef __glibcxx_want_freestanding_variant
1843
1844#if !defined(__cpp_lib_invoke_r)
1845# if (__cplusplus >= 202100L)
1846# define __glibcxx_invoke_r 202106L
1847# if defined(__glibcxx_want_all) || defined(__glibcxx_want_invoke_r)
1848# define __cpp_lib_invoke_r 202106L
1849# endif
1850# endif
1851#endif /* !defined(__cpp_lib_invoke_r) */
1852#undef __glibcxx_want_invoke_r
1853
1854#if !defined(__cpp_lib_associative_heterogeneous_erasure)
1855# if (__cplusplus >= 202100L)
1856# define __glibcxx_associative_heterogeneous_erasure 202110L
1857# if defined(__glibcxx_want_all) || defined(__glibcxx_want_associative_heterogeneous_erasure)
1858# define __cpp_lib_associative_heterogeneous_erasure 202110L
1859# endif
1860# endif
1861#endif /* !defined(__cpp_lib_associative_heterogeneous_erasure) */
1862#undef __glibcxx_want_associative_heterogeneous_erasure
1863
1864#if !defined(__cpp_lib_associative_heterogeneous_insertion)
1865# if (__cplusplus > 202302L)
1866# define __glibcxx_associative_heterogeneous_insertion 202306L
1867# if defined(__glibcxx_want_all) || defined(__glibcxx_want_associative_heterogeneous_insertion)
1868# define __cpp_lib_associative_heterogeneous_insertion 202306L
1869# endif
1870# endif
1871#endif /* !defined(__cpp_lib_associative_heterogeneous_insertion) */
1872#undef __glibcxx_want_associative_heterogeneous_insertion
1873
1874#if !defined(__cpp_lib_is_scoped_enum)
1875# if (__cplusplus >= 202100L)
1876# define __glibcxx_is_scoped_enum 202011L
1877# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_scoped_enum)
1878# define __cpp_lib_is_scoped_enum 202011L
1879# endif
1880# endif
1881#endif /* !defined(__cpp_lib_is_scoped_enum) */
1882#undef __glibcxx_want_is_scoped_enum
1883
1884#if !defined(__cpp_lib_reference_from_temporary)
1885# if (__cplusplus >= 202100L) && (__has_builtin(__reference_constructs_from_temporary) && __has_builtin(__reference_converts_from_temporary))
1886# define __glibcxx_reference_from_temporary 202202L
1887# if defined(__glibcxx_want_all) || defined(__glibcxx_want_reference_from_temporary)
1888# define __cpp_lib_reference_from_temporary 202202L
1889# endif
1890# endif
1891#endif /* !defined(__cpp_lib_reference_from_temporary) */
1892#undef __glibcxx_want_reference_from_temporary
1893
1894#if !defined(__cpp_lib_containers_ranges)
1895# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
1896# define __glibcxx_containers_ranges 202202L
1897# if defined(__glibcxx_want_all) || defined(__glibcxx_want_containers_ranges)
1898# define __cpp_lib_containers_ranges 202202L
1899# endif
1900# endif
1901#endif /* !defined(__cpp_lib_containers_ranges) */
1902#undef __glibcxx_want_containers_ranges
1903
1904#if !defined(__cpp_lib_ranges_to_container)
1905# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
1906# define __glibcxx_ranges_to_container 202202L
1907# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_to_container)
1908# define __cpp_lib_ranges_to_container 202202L
1909# endif
1910# endif
1911#endif /* !defined(__cpp_lib_ranges_to_container) */
1912#undef __glibcxx_want_ranges_to_container
1913
1914#if !defined(__cpp_lib_ranges_zip)
1915# if (__cplusplus >= 202100L)
1916# define __glibcxx_ranges_zip 202110L
1917# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_zip)
1918# define __cpp_lib_ranges_zip 202110L
1919# endif
1920# endif
1921#endif /* !defined(__cpp_lib_ranges_zip) */
1922#undef __glibcxx_want_ranges_zip
1923
1924#if !defined(__cpp_lib_ranges_chunk)
1925# if (__cplusplus >= 202100L)
1926# define __glibcxx_ranges_chunk 202202L
1927# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_chunk)
1928# define __cpp_lib_ranges_chunk 202202L
1929# endif
1930# endif
1931#endif /* !defined(__cpp_lib_ranges_chunk) */
1932#undef __glibcxx_want_ranges_chunk
1933
1934#if !defined(__cpp_lib_ranges_slide)
1935# if (__cplusplus >= 202100L)
1936# define __glibcxx_ranges_slide 202202L
1937# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_slide)
1938# define __cpp_lib_ranges_slide 202202L
1939# endif
1940# endif
1941#endif /* !defined(__cpp_lib_ranges_slide) */
1942#undef __glibcxx_want_ranges_slide
1943
1944#if !defined(__cpp_lib_ranges_chunk_by)
1945# if (__cplusplus >= 202100L)
1946# define __glibcxx_ranges_chunk_by 202202L
1947# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_chunk_by)
1948# define __cpp_lib_ranges_chunk_by 202202L
1949# endif
1950# endif
1951#endif /* !defined(__cpp_lib_ranges_chunk_by) */
1952#undef __glibcxx_want_ranges_chunk_by
1953
1954#if !defined(__cpp_lib_ranges_join_with)
1955# if (__cplusplus >= 202100L)
1956# define __glibcxx_ranges_join_with 202202L
1957# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_join_with)
1958# define __cpp_lib_ranges_join_with 202202L
1959# endif
1960# endif
1961#endif /* !defined(__cpp_lib_ranges_join_with) */
1962#undef __glibcxx_want_ranges_join_with
1963
1964#if !defined(__cpp_lib_ranges_repeat)
1965# if (__cplusplus >= 202100L)
1966# define __glibcxx_ranges_repeat 202207L
1967# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_repeat)
1968# define __cpp_lib_ranges_repeat 202207L
1969# endif
1970# endif
1971#endif /* !defined(__cpp_lib_ranges_repeat) */
1972#undef __glibcxx_want_ranges_repeat
1973
1974#if !defined(__cpp_lib_ranges_stride)
1975# if (__cplusplus >= 202100L)
1976# define __glibcxx_ranges_stride 202207L
1977# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_stride)
1978# define __cpp_lib_ranges_stride 202207L
1979# endif
1980# endif
1981#endif /* !defined(__cpp_lib_ranges_stride) */
1982#undef __glibcxx_want_ranges_stride
1983
1984#if !defined(__cpp_lib_ranges_cartesian_product)
1985# if (__cplusplus >= 202100L)
1986# define __glibcxx_ranges_cartesian_product 202207L
1987# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_cartesian_product)
1988# define __cpp_lib_ranges_cartesian_product 202207L
1989# endif
1990# endif
1991#endif /* !defined(__cpp_lib_ranges_cartesian_product) */
1992#undef __glibcxx_want_ranges_cartesian_product
1993
1994#if !defined(__cpp_lib_ranges_as_rvalue)
1995# if (__cplusplus >= 202100L)
1996# define __glibcxx_ranges_as_rvalue 202207L
1997# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_as_rvalue)
1998# define __cpp_lib_ranges_as_rvalue 202207L
1999# endif
2000# endif
2001#endif /* !defined(__cpp_lib_ranges_as_rvalue) */
2002#undef __glibcxx_want_ranges_as_rvalue
2003
2004#if !defined(__cpp_lib_ranges_as_const)
2005# if (__cplusplus >= 202100L)
2006# define __glibcxx_ranges_as_const 202311L
2007# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_as_const)
2008# define __cpp_lib_ranges_as_const 202311L
2009# endif
2010# endif
2011#endif /* !defined(__cpp_lib_ranges_as_const) */
2012#undef __glibcxx_want_ranges_as_const
2013
2014#if !defined(__cpp_lib_ranges_enumerate)
2015# if (__cplusplus >= 202100L)
2016# define __glibcxx_ranges_enumerate 202302L
2017# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_enumerate)
2018# define __cpp_lib_ranges_enumerate 202302L
2019# endif
2020# endif
2021#endif /* !defined(__cpp_lib_ranges_enumerate) */
2022#undef __glibcxx_want_ranges_enumerate
2023
2024#if !defined(__cpp_lib_ranges_fold)
2025# if (__cplusplus >= 202100L)
2026# define __glibcxx_ranges_fold 202207L
2027# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_fold)
2028# define __cpp_lib_ranges_fold 202207L
2029# endif
2030# endif
2031#endif /* !defined(__cpp_lib_ranges_fold) */
2032#undef __glibcxx_want_ranges_fold
2033
2034#if !defined(__cpp_lib_ranges_contains)
2035# if (__cplusplus >= 202100L)
2036# define __glibcxx_ranges_contains 202207L
2037# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_contains)
2038# define __cpp_lib_ranges_contains 202207L
2039# endif
2040# endif
2041#endif /* !defined(__cpp_lib_ranges_contains) */
2042#undef __glibcxx_want_ranges_contains
2043
2044#if !defined(__cpp_lib_ranges_iota)
2045# if (__cplusplus >= 202100L)
2046# define __glibcxx_ranges_iota 202202L
2047# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_iota)
2048# define __cpp_lib_ranges_iota 202202L
2049# endif
2050# endif
2051#endif /* !defined(__cpp_lib_ranges_iota) */
2052#undef __glibcxx_want_ranges_iota
2053
2054#if !defined(__cpp_lib_ranges_find_last)
2055# if (__cplusplus >= 202100L)
2056# define __glibcxx_ranges_find_last 202207L
2057# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_find_last)
2058# define __cpp_lib_ranges_find_last 202207L
2059# endif
2060# endif
2061#endif /* !defined(__cpp_lib_ranges_find_last) */
2062#undef __glibcxx_want_ranges_find_last
2063
2064#if !defined(__cpp_lib_ranges_starts_ends_with)
2065# if (__cplusplus >= 202100L)
2066# define __glibcxx_ranges_starts_ends_with 202106L
2067# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_starts_ends_with)
2068# define __cpp_lib_ranges_starts_ends_with 202106L
2069# endif
2070# endif
2071#endif /* !defined(__cpp_lib_ranges_starts_ends_with) */
2072#undef __glibcxx_want_ranges_starts_ends_with
2073
2074#if !defined(__cpp_lib_ranges_indices)
2075# if (__cplusplus > 202302L)
2076# define __glibcxx_ranges_indices 202506L
2077# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_indices)
2078# define __cpp_lib_ranges_indices 202506L
2079# endif
2080# endif
2081#endif /* !defined(__cpp_lib_ranges_indices) */
2082#undef __glibcxx_want_ranges_indices
2083
2084#if !defined(__cpp_lib_constexpr_bitset)
2085# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED && (__cpp_constexpr_dynamic_alloc)
2086# define __glibcxx_constexpr_bitset 202202L
2087# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_bitset)
2088# define __cpp_lib_constexpr_bitset 202202L
2089# endif
2090# endif
2091#endif /* !defined(__cpp_lib_constexpr_bitset) */
2092#undef __glibcxx_want_constexpr_bitset
2093
2094#if !defined(__cpp_lib_stdatomic_h)
2095# if (__cplusplus >= 202100L)
2096# define __glibcxx_stdatomic_h 202011L
2097# if defined(__glibcxx_want_all) || defined(__glibcxx_want_stdatomic_h)
2098# define __cpp_lib_stdatomic_h 202011L
2099# endif
2100# endif
2101#endif /* !defined(__cpp_lib_stdatomic_h) */
2102#undef __glibcxx_want_stdatomic_h
2103
2104#if !defined(__cpp_lib_stdbit_h)
2105# if (__cplusplus > 202302L)
2106# define __glibcxx_stdbit_h 202603L
2107# if defined(__glibcxx_want_all) || defined(__glibcxx_want_stdbit_h)
2108# define __cpp_lib_stdbit_h 202603L
2109# endif
2110# endif
2111#endif /* !defined(__cpp_lib_stdbit_h) */
2112#undef __glibcxx_want_stdbit_h
2113
2114#if !defined(__cpp_lib_stdckdint_h)
2115# if (__cplusplus > 202302L)
2116# define __glibcxx_stdckdint_h 202603L
2117# if defined(__glibcxx_want_all) || defined(__glibcxx_want_stdckdint_h)
2118# define __cpp_lib_stdckdint_h 202603L
2119# endif
2120# endif
2121#endif /* !defined(__cpp_lib_stdckdint_h) */
2122#undef __glibcxx_want_stdckdint_h
2123
2124#if !defined(__cpp_lib_adaptor_iterator_pair_constructor)
2125# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
2126# define __glibcxx_adaptor_iterator_pair_constructor 202106L
2127# if defined(__glibcxx_want_all) || defined(__glibcxx_want_adaptor_iterator_pair_constructor)
2128# define __cpp_lib_adaptor_iterator_pair_constructor 202106L
2129# endif
2130# endif
2131#endif /* !defined(__cpp_lib_adaptor_iterator_pair_constructor) */
2132#undef __glibcxx_want_adaptor_iterator_pair_constructor
2133
2134#if !defined(__cpp_lib_flat_map)
2135# if (__cplusplus >= 202100L)
2136# define __glibcxx_flat_map 202511L
2137# if defined(__glibcxx_want_all) || defined(__glibcxx_want_flat_map)
2138# define __cpp_lib_flat_map 202511L
2139# endif
2140# endif
2141#endif /* !defined(__cpp_lib_flat_map) */
2142#undef __glibcxx_want_flat_map
2143
2144#if !defined(__cpp_lib_flat_set)
2145# if (__cplusplus >= 202100L)
2146# define __glibcxx_flat_set 202511L
2147# if defined(__glibcxx_want_all) || defined(__glibcxx_want_flat_set)
2148# define __cpp_lib_flat_set 202511L
2149# endif
2150# endif
2151#endif /* !defined(__cpp_lib_flat_set) */
2152#undef __glibcxx_want_flat_set
2153
2154#if !defined(__cpp_lib_common_reference)
2155# if (__cplusplus >= 202002L)
2156# define __glibcxx_common_reference 202302L
2157# if defined(__glibcxx_want_all) || defined(__glibcxx_want_common_reference)
2158# define __cpp_lib_common_reference 202302L
2159# endif
2160# endif
2161#endif /* !defined(__cpp_lib_common_reference) */
2162#undef __glibcxx_want_common_reference
2163
2164#if !defined(__cpp_lib_common_reference_wrapper)
2165# if (__cplusplus >= 202002L)
2166# define __glibcxx_common_reference_wrapper 202302L
2167# if defined(__glibcxx_want_all) || defined(__glibcxx_want_common_reference_wrapper)
2168# define __cpp_lib_common_reference_wrapper 202302L
2169# endif
2170# endif
2171#endif /* !defined(__cpp_lib_common_reference_wrapper) */
2172#undef __glibcxx_want_common_reference_wrapper
2173
2174#if !defined(__cpp_lib_formatters)
2175# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
2176# define __glibcxx_formatters 202302L
2177# if defined(__glibcxx_want_all) || defined(__glibcxx_want_formatters)
2178# define __cpp_lib_formatters 202302L
2179# endif
2180# endif
2181#endif /* !defined(__cpp_lib_formatters) */
2182#undef __glibcxx_want_formatters
2183
2184#if !defined(__cpp_lib_forward_like)
2185# if (__cplusplus >= 202100L)
2186# define __glibcxx_forward_like 202207L
2187# if defined(__glibcxx_want_all) || defined(__glibcxx_want_forward_like)
2188# define __cpp_lib_forward_like 202207L
2189# endif
2190# endif
2191#endif /* !defined(__cpp_lib_forward_like) */
2192#undef __glibcxx_want_forward_like
2193
2194#if !defined(__cpp_lib_generator)
2195# if (__cplusplus >= 202100L) && (__glibcxx_coroutine && __cpp_sized_deallocation)
2196# define __glibcxx_generator 202207L
2197# if defined(__glibcxx_want_all) || defined(__glibcxx_want_generator)
2198# define __cpp_lib_generator 202207L
2199# endif
2200# endif
2201#endif /* !defined(__cpp_lib_generator) */
2202#undef __glibcxx_want_generator
2203
2204#if !defined(__cpp_lib_ios_noreplace)
2205# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
2206# define __glibcxx_ios_noreplace 202207L
2207# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ios_noreplace)
2208# define __cpp_lib_ios_noreplace 202207L
2209# endif
2210# endif
2211#endif /* !defined(__cpp_lib_ios_noreplace) */
2212#undef __glibcxx_want_ios_noreplace
2213
2214#if !defined(__cpp_lib_move_only_function)
2215# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
2216# define __glibcxx_move_only_function 202110L
2217# if defined(__glibcxx_want_all) || defined(__glibcxx_want_move_only_function)
2218# define __cpp_lib_move_only_function 202110L
2219# endif
2220# endif
2221#endif /* !defined(__cpp_lib_move_only_function) */
2222#undef __glibcxx_want_move_only_function
2223
2224#if !defined(__cpp_lib_copyable_function)
2225# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2226# define __glibcxx_copyable_function 202306L
2227# if defined(__glibcxx_want_all) || defined(__glibcxx_want_copyable_function)
2228# define __cpp_lib_copyable_function 202306L
2229# endif
2230# endif
2231#endif /* !defined(__cpp_lib_copyable_function) */
2232#undef __glibcxx_want_copyable_function
2233
2234#if !defined(__cpp_lib_function_ref)
2235# if (__cplusplus > 202302L)
2236# define __glibcxx_function_ref 202604L
2237# if defined(__glibcxx_want_all) || defined(__glibcxx_want_function_ref)
2238# define __cpp_lib_function_ref 202604L
2239# endif
2240# endif
2241#endif /* !defined(__cpp_lib_function_ref) */
2242#undef __glibcxx_want_function_ref
2243
2244#if !defined(__cpp_lib_out_ptr)
2245# if (__cplusplus >= 202100L)
2246# define __glibcxx_out_ptr 202311L
2247# if defined(__glibcxx_want_all) || defined(__glibcxx_want_out_ptr)
2248# define __cpp_lib_out_ptr 202311L
2249# endif
2250# endif
2251#endif /* !defined(__cpp_lib_out_ptr) */
2252#undef __glibcxx_want_out_ptr
2253
2254#if !defined(__cpp_lib_print)
2255# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
2256# define __glibcxx_print 202406L
2257# if defined(__glibcxx_want_all) || defined(__glibcxx_want_print)
2258# define __cpp_lib_print 202406L
2259# endif
2260# endif
2261#endif /* !defined(__cpp_lib_print) */
2262#undef __glibcxx_want_print
2263
2264#if !defined(__cpp_lib_spanstream)
2265# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED && (__glibcxx_span)
2266# define __glibcxx_spanstream 202106L
2267# if defined(__glibcxx_want_all) || defined(__glibcxx_want_spanstream)
2268# define __cpp_lib_spanstream 202106L
2269# endif
2270# endif
2271#endif /* !defined(__cpp_lib_spanstream) */
2272#undef __glibcxx_want_spanstream
2273
2274#if !defined(__cpp_lib_stacktrace)
2275# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED && (_GLIBCXX_HAVE_STACKTRACE)
2276# define __glibcxx_stacktrace 202011L
2277# if defined(__glibcxx_want_all) || defined(__glibcxx_want_stacktrace)
2278# define __cpp_lib_stacktrace 202011L
2279# endif
2280# endif
2281#endif /* !defined(__cpp_lib_stacktrace) */
2282#undef __glibcxx_want_stacktrace
2283
2284#if !defined(__cpp_lib_start_lifetime_as)
2285# if (__cplusplus >= 202100L)
2286# define __glibcxx_start_lifetime_as 202207L
2287# if defined(__glibcxx_want_all) || defined(__glibcxx_want_start_lifetime_as)
2288# define __cpp_lib_start_lifetime_as 202207L
2289# endif
2290# endif
2291#endif /* !defined(__cpp_lib_start_lifetime_as) */
2292#undef __glibcxx_want_start_lifetime_as
2293
2294#if !defined(__cpp_lib_string_contains)
2295# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
2296# define __glibcxx_string_contains 202011L
2297# if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_contains)
2298# define __cpp_lib_string_contains 202011L
2299# endif
2300# endif
2301#endif /* !defined(__cpp_lib_string_contains) */
2302#undef __glibcxx_want_string_contains
2303
2304#if !defined(__cpp_lib_string_resize_and_overwrite)
2305# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
2306# define __glibcxx_string_resize_and_overwrite 202110L
2307# if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_resize_and_overwrite)
2308# define __cpp_lib_string_resize_and_overwrite 202110L
2309# endif
2310# endif
2311#endif /* !defined(__cpp_lib_string_resize_and_overwrite) */
2312#undef __glibcxx_want_string_resize_and_overwrite
2313
2314#if !defined(__cpp_lib_string_subview)
2315# if (__cplusplus > 202302L)
2316# define __glibcxx_string_subview 202506L
2317# if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_subview)
2318# define __cpp_lib_string_subview 202506L
2319# endif
2320# endif
2321#endif /* !defined(__cpp_lib_string_subview) */
2322#undef __glibcxx_want_string_subview
2323
2324#if !defined(__cpp_lib_to_underlying)
2325# if (__cplusplus >= 202100L)
2326# define __glibcxx_to_underlying 202102L
2327# if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_underlying)
2328# define __cpp_lib_to_underlying 202102L
2329# endif
2330# endif
2331#endif /* !defined(__cpp_lib_to_underlying) */
2332#undef __glibcxx_want_to_underlying
2333
2334#if !defined(__cpp_lib_tuple_like)
2335# if (__cplusplus > 202302L) && (__cpp_explicit_this_parameter >= 202110L)
2336# define __glibcxx_tuple_like 202311L
2337# if defined(__glibcxx_want_all) || defined(__glibcxx_want_tuple_like)
2338# define __cpp_lib_tuple_like 202311L
2339# endif
2340# elif (__cplusplus >= 202100L)
2341# define __glibcxx_tuple_like 202207L
2342# if defined(__glibcxx_want_all) || defined(__glibcxx_want_tuple_like)
2343# define __cpp_lib_tuple_like 202207L
2344# endif
2345# endif
2346#endif /* !defined(__cpp_lib_tuple_like) */
2347#undef __glibcxx_want_tuple_like
2348
2349#if !defined(__cpp_lib_unreachable)
2350# if (__cplusplus >= 202100L)
2351# define __glibcxx_unreachable 202202L
2352# if defined(__glibcxx_want_all) || defined(__glibcxx_want_unreachable)
2353# define __cpp_lib_unreachable 202202L
2354# endif
2355# endif
2356#endif /* !defined(__cpp_lib_unreachable) */
2357#undef __glibcxx_want_unreachable
2358
2359#if !defined(__cpp_lib_observable_checkpoint)
2360# if (__cplusplus > 202302L) && (__has_builtin(__builtin_observable_checkpoint))
2361# define __glibcxx_observable_checkpoint 202506L
2362# if defined(__glibcxx_want_all) || defined(__glibcxx_want_observable_checkpoint)
2363# define __cpp_lib_observable_checkpoint 202506L
2364# endif
2365# endif
2366#endif /* !defined(__cpp_lib_observable_checkpoint) */
2367#undef __glibcxx_want_observable_checkpoint
2368
2369#if !defined(__cpp_lib_algorithm_iterator_requirements)
2370# if (__cplusplus >= 202002L)
2371# define __glibcxx_algorithm_iterator_requirements 202207L
2372# if defined(__glibcxx_want_all) || defined(__glibcxx_want_algorithm_iterator_requirements)
2373# define __cpp_lib_algorithm_iterator_requirements 202207L
2374# endif
2375# endif
2376#endif /* !defined(__cpp_lib_algorithm_iterator_requirements) */
2377#undef __glibcxx_want_algorithm_iterator_requirements
2378
2379#if !defined(__cpp_lib_algorithm_default_value_type)
2380# if (__cplusplus > 202302L)
2381# define __glibcxx_algorithm_default_value_type 202603L
2382# if defined(__glibcxx_want_all) || defined(__glibcxx_want_algorithm_default_value_type)
2383# define __cpp_lib_algorithm_default_value_type 202603L
2384# endif
2385# endif
2386#endif /* !defined(__cpp_lib_algorithm_default_value_type) */
2387#undef __glibcxx_want_algorithm_default_value_type
2388
2389#if !defined(__cpp_lib_constexpr_new)
2390# if (__cplusplus > 202302L) && (__cpp_constexpr >= 202406L)
2391# define __glibcxx_constexpr_new 202406L
2392# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_new)
2393# define __cpp_lib_constexpr_new 202406L
2394# endif
2395# endif
2396#endif /* !defined(__cpp_lib_constexpr_new) */
2397#undef __glibcxx_want_constexpr_new
2398
2399#if !defined(__cpp_lib_debugging)
2400# if (__cplusplus > 202302L)
2401# define __glibcxx_debugging 202403L
2402# if defined(__glibcxx_want_all) || defined(__glibcxx_want_debugging)
2403# define __cpp_lib_debugging 202403L
2404# endif
2405# endif
2406#endif /* !defined(__cpp_lib_debugging) */
2407#undef __glibcxx_want_debugging
2408
2409#if !defined(__cpp_lib_fstream_native_handle)
2410# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2411# define __glibcxx_fstream_native_handle 202306L
2412# if defined(__glibcxx_want_all) || defined(__glibcxx_want_fstream_native_handle)
2413# define __cpp_lib_fstream_native_handle 202306L
2414# endif
2415# endif
2416#endif /* !defined(__cpp_lib_fstream_native_handle) */
2417#undef __glibcxx_want_fstream_native_handle
2418
2419#if !defined(__cpp_lib_is_virtual_base_of)
2420# if (__cplusplus > 202302L) && (__has_builtin(__builtin_is_virtual_base_of))
2421# define __glibcxx_is_virtual_base_of 202406L
2422# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_virtual_base_of)
2423# define __cpp_lib_is_virtual_base_of 202406L
2424# endif
2425# endif
2426#endif /* !defined(__cpp_lib_is_virtual_base_of) */
2427#undef __glibcxx_want_is_virtual_base_of
2428
2429#if !defined(__cpp_lib_ranges_cache_latest)
2430# if (__cplusplus > 202302L)
2431# define __glibcxx_ranges_cache_latest 202411L
2432# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_cache_latest)
2433# define __cpp_lib_ranges_cache_latest 202411L
2434# endif
2435# endif
2436#endif /* !defined(__cpp_lib_ranges_cache_latest) */
2437#undef __glibcxx_want_ranges_cache_latest
2438
2439#if !defined(__cpp_lib_ranges_concat)
2440# if (__cplusplus > 202302L) && (__cpp_pack_indexing)
2441# define __glibcxx_ranges_concat 202403L
2442# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_concat)
2443# define __cpp_lib_ranges_concat 202403L
2444# endif
2445# endif
2446#endif /* !defined(__cpp_lib_ranges_concat) */
2447#undef __glibcxx_want_ranges_concat
2448
2449#if !defined(__cpp_lib_ratio)
2450# if (__cplusplus > 202302L)
2451# define __glibcxx_ratio 202306L
2452# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ratio)
2453# define __cpp_lib_ratio 202306L
2454# endif
2455# endif
2456#endif /* !defined(__cpp_lib_ratio) */
2457#undef __glibcxx_want_ratio
2458
2459#if !defined(__cpp_lib_reference_wrapper)
2460# if (__cplusplus > 202302L)
2461# define __glibcxx_reference_wrapper 202403L
2462# if defined(__glibcxx_want_all) || defined(__glibcxx_want_reference_wrapper)
2463# define __cpp_lib_reference_wrapper 202403L
2464# endif
2465# endif
2466#endif /* !defined(__cpp_lib_reference_wrapper) */
2467#undef __glibcxx_want_reference_wrapper
2468
2469#if !defined(__cpp_lib_saturation_arithmetic)
2470# if (__cplusplus > 202302L)
2471# define __glibcxx_saturation_arithmetic 202603L
2472# if defined(__glibcxx_want_all) || defined(__glibcxx_want_saturation_arithmetic)
2473# define __cpp_lib_saturation_arithmetic 202603L
2474# endif
2475# endif
2476#endif /* !defined(__cpp_lib_saturation_arithmetic) */
2477#undef __glibcxx_want_saturation_arithmetic
2478
2479#if !defined(__cpp_lib_text_encoding)
2480# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED && (_GLIBCXX_USE_NL_LANGINFO_L)
2481# define __glibcxx_text_encoding 202306L
2482# if defined(__glibcxx_want_all) || defined(__glibcxx_want_text_encoding)
2483# define __cpp_lib_text_encoding 202306L
2484# endif
2485# endif
2486#endif /* !defined(__cpp_lib_text_encoding) */
2487#undef __glibcxx_want_text_encoding
2488
2489#if !defined(__cpp_lib_ranges_filter)
2490# if (__cplusplus >= 202002L)
2491# define __glibcxx_ranges_filter 202603L
2492# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_filter)
2493# define __cpp_lib_ranges_filter 202603L
2494# endif
2495# endif
2496#endif /* !defined(__cpp_lib_ranges_filter) */
2497#undef __glibcxx_want_ranges_filter
2498
2499#if !defined(__cpp_lib_ranges_as_input)
2500# if (__cplusplus > 202302L)
2501# define __glibcxx_ranges_as_input 202502L
2502# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_as_input)
2503# define __cpp_lib_ranges_as_input 202502L
2504# endif
2505# endif
2506#endif /* !defined(__cpp_lib_ranges_as_input) */
2507#undef __glibcxx_want_ranges_as_input
2508
2509#if !defined(__cpp_lib_to_string)
2510# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED && (__glibcxx_to_chars)
2511# define __glibcxx_to_string 202306L
2512# if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_string)
2513# define __cpp_lib_to_string 202306L
2514# endif
2515# endif
2516#endif /* !defined(__cpp_lib_to_string) */
2517#undef __glibcxx_want_to_string
2518
2519#if !defined(__cpp_lib_modules)
2520# if (__cplusplus >= 202002L) && (__cpp_modules)
2521# define __glibcxx_modules 202207L
2522# if defined(__glibcxx_want_all) || defined(__glibcxx_want_modules)
2523# define __cpp_lib_modules 202207L
2524# endif
2525# endif
2526#endif /* !defined(__cpp_lib_modules) */
2527#undef __glibcxx_want_modules
2528
2529#if !defined(__cpp_lib_inplace_vector)
2530# if (__cplusplus > 202302L)
2531# define __glibcxx_inplace_vector 202603L
2532# if defined(__glibcxx_want_all) || defined(__glibcxx_want_inplace_vector)
2533# define __cpp_lib_inplace_vector 202603L
2534# endif
2535# endif
2536#endif /* !defined(__cpp_lib_inplace_vector) */
2537#undef __glibcxx_want_inplace_vector
2538
2539#if !defined(__cpp_lib_indirect)
2540# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2541# define __glibcxx_indirect 202502L
2542# if defined(__glibcxx_want_all) || defined(__glibcxx_want_indirect)
2543# define __cpp_lib_indirect 202502L
2544# endif
2545# endif
2546#endif /* !defined(__cpp_lib_indirect) */
2547#undef __glibcxx_want_indirect
2548
2549#if !defined(__cpp_lib_polymorphic)
2550# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2551# define __glibcxx_polymorphic 202502L
2552# if defined(__glibcxx_want_all) || defined(__glibcxx_want_polymorphic)
2553# define __cpp_lib_polymorphic 202502L
2554# endif
2555# endif
2556#endif /* !defined(__cpp_lib_polymorphic) */
2557#undef __glibcxx_want_polymorphic
2558
2559#if !defined(__cpp_lib_smart_ptr_owner_equality)
2560# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2561# define __glibcxx_smart_ptr_owner_equality 202306L
2562# if defined(__glibcxx_want_all) || defined(__glibcxx_want_smart_ptr_owner_equality)
2563# define __cpp_lib_smart_ptr_owner_equality 202306L
2564# endif
2565# endif
2566#endif /* !defined(__cpp_lib_smart_ptr_owner_equality) */
2567#undef __glibcxx_want_smart_ptr_owner_equality
2568
2569#if !defined(__cpp_lib_sstream_from_string_view)
2570# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2571# define __glibcxx_sstream_from_string_view 202306L
2572# if defined(__glibcxx_want_all) || defined(__glibcxx_want_sstream_from_string_view)
2573# define __cpp_lib_sstream_from_string_view 202306L
2574# endif
2575# endif
2576#endif /* !defined(__cpp_lib_sstream_from_string_view) */
2577#undef __glibcxx_want_sstream_from_string_view
2578
2579#if !defined(__cpp_lib_type_order)
2580# if (__cplusplus > 202302L) && (__has_builtin(__builtin_type_order) && __cpp_lib_three_way_comparison >= 201907L)
2581# define __glibcxx_type_order 202506L
2582# if defined(__glibcxx_want_all) || defined(__glibcxx_want_type_order)
2583# define __cpp_lib_type_order 202506L
2584# endif
2585# endif
2586#endif /* !defined(__cpp_lib_type_order) */
2587#undef __glibcxx_want_type_order
2588
2589#if !defined(__cpp_lib_exception_ptr_cast)
2590# if (__cplusplus > 202302L)
2591# define __glibcxx_exception_ptr_cast 202506L
2592# if defined(__glibcxx_want_all) || defined(__glibcxx_want_exception_ptr_cast)
2593# define __cpp_lib_exception_ptr_cast 202506L
2594# endif
2595# endif
2596#endif /* !defined(__cpp_lib_exception_ptr_cast) */
2597#undef __glibcxx_want_exception_ptr_cast
2598
2599#if !defined(__cpp_lib_bitset)
2600# if (__cplusplus > 202302L)
2601# define __glibcxx_bitset 202306L
2602# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bitset)
2603# define __cpp_lib_bitset 202306L
2604# endif
2605# endif
2606#endif /* !defined(__cpp_lib_bitset) */
2607#undef __glibcxx_want_bitset
2608
2609#if !defined(__cpp_lib_philox_engine)
2610# if (__cplusplus > 202302L)
2611# define __glibcxx_philox_engine 202406L
2612# if defined(__glibcxx_want_all) || defined(__glibcxx_want_philox_engine)
2613# define __cpp_lib_philox_engine 202406L
2614# endif
2615# endif
2616#endif /* !defined(__cpp_lib_philox_engine) */
2617#undef __glibcxx_want_philox_engine
2618
2619#if !defined(__cpp_lib_reflection)
2620# if (__cplusplus > 202302L) && _GLIBCXX_USE_CXX11_ABI && (__cpp_impl_reflection >= 202603L)
2621# define __glibcxx_reflection 202603L
2622# if defined(__glibcxx_want_all) || defined(__glibcxx_want_reflection)
2623# define __cpp_lib_reflection 202603L
2624# endif
2625# endif
2626#endif /* !defined(__cpp_lib_reflection) */
2627#undef __glibcxx_want_reflection
2628
2629#if !defined(__cpp_lib_define_static)
2630# if (__cplusplus > 202302L) && _GLIBCXX_USE_CXX11_ABI && (__cpp_impl_reflection >= 202506L)
2631# define __glibcxx_define_static 202506L
2632# if defined(__glibcxx_want_all) || defined(__glibcxx_want_define_static)
2633# define __cpp_lib_define_static 202506L
2634# endif
2635# endif
2636#endif /* !defined(__cpp_lib_define_static) */
2637#undef __glibcxx_want_define_static
2638
2639#if !defined(__cpp_lib_is_implicit_lifetime)
2640# if (__cplusplus >= 202100L) && (__has_builtin(__builtin_is_implicit_lifetime))
2641# define __glibcxx_is_implicit_lifetime 202302L
2642# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_implicit_lifetime)
2643# define __cpp_lib_is_implicit_lifetime 202302L
2644# endif
2645# endif
2646#endif /* !defined(__cpp_lib_is_implicit_lifetime) */
2647#undef __glibcxx_want_is_implicit_lifetime
2648
2649#if !defined(__cpp_lib_contracts)
2650# if (__cplusplus > 202302L) && (__cpp_contracts >= 202502L)
2651# define __glibcxx_contracts 202502L
2652# if defined(__glibcxx_want_all) || defined(__glibcxx_want_contracts)
2653# define __cpp_lib_contracts 202502L
2654# endif
2655# endif
2656#endif /* !defined(__cpp_lib_contracts) */
2657#undef __glibcxx_want_contracts
2658
2659#if !defined(__cpp_lib_replaceable_contract_violation_handler)
2660# if (__cplusplus > 202302L) && (__cpp_contracts >= 202502L && __ELF__)
2661# define __glibcxx_replaceable_contract_violation_handler 202603L
2662# if defined(__glibcxx_want_all) || defined(__glibcxx_want_replaceable_contract_violation_handler)
2663# define __cpp_lib_replaceable_contract_violation_handler 202603L
2664# endif
2665# elif (__cplusplus > 202302L) && (__cpp_contracts >= 202502L)
2666# define __glibcxx_replaceable_contract_violation_handler 0L
2667# if defined(__glibcxx_want_all) || defined(__glibcxx_want_replaceable_contract_violation_handler)
2668# define __cpp_lib_replaceable_contract_violation_handler 0L
2669# endif
2670# endif
2671#endif /* !defined(__cpp_lib_replaceable_contract_violation_handler) */
2672#undef __glibcxx_want_replaceable_contract_violation_handler
2673
2674#if !defined(__cpp_lib_simd)
2675# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED && (__cpp_structured_bindings >= 202411L && __cpp_expansion_statements >= 202411L && __SSE2__)
2676# define __glibcxx_simd 202506L
2677# if defined(__glibcxx_want_all) || defined(__glibcxx_want_simd)
2678# endif
2679# endif
2680#endif /* !defined(__cpp_lib_simd) */
2681#undef __glibcxx_want_simd
2682
2683#if !defined(__cpp_lib_is_structural)
2684# if (__cplusplus > 202302L) && (__has_builtin(__builtin_is_structural))
2685# define __glibcxx_is_structural 202603L
2686# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_structural)
2687# define __cpp_lib_is_structural 202603L
2688# endif
2689# endif
2690#endif /* !defined(__cpp_lib_is_structural) */
2691#undef __glibcxx_want_is_structural
2692
2693#if !defined(__cpp_lib_initializer_list)
2694# if (__cplusplus > 202302L)
2695# define __glibcxx_initializer_list 202511L
2696# if defined(__glibcxx_want_all) || defined(__glibcxx_want_initializer_list)
2697# define __cpp_lib_initializer_list 202511L
2698# endif
2699# endif
2700#endif /* !defined(__cpp_lib_initializer_list) */
2701#undef __glibcxx_want_initializer_list
2702
2703#if !defined(__cpp_lib_valarray)
2704# if (__cplusplus > 202302L)
2705# define __glibcxx_valarray 202511L
2706# if defined(__glibcxx_want_all) || defined(__glibcxx_want_valarray)
2707# define __cpp_lib_valarray 202511L
2708# endif
2709# endif
2710#endif /* !defined(__cpp_lib_valarray) */
2711#undef __glibcxx_want_valarray
2712
2713#if !defined(__cpp_lib_hardened_array)
2714# if (__cplusplus >= 201103L) && (defined(_GLIBCXX_ASSERTIONS))
2715# define __glibcxx_hardened_array 202502L
2716# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardened_array)
2717# define __cpp_lib_hardened_array 202502L
2718# endif
2719# endif
2720#endif /* !defined(__cpp_lib_hardened_array) */
2721#undef __glibcxx_want_hardened_array
2722
2723#if !defined(__cpp_lib_hardened_basic_stacktrace)
2724# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED && (defined(__glibcxx_stacktrace) && defined(_GLIBCXX_ASSERTIONS))
2725# define __glibcxx_hardened_basic_stacktrace 202502L
2726# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardened_basic_stacktrace)
2727# define __cpp_lib_hardened_basic_stacktrace 202502L
2728# endif
2729# endif
2730#endif /* !defined(__cpp_lib_hardened_basic_stacktrace) */
2731#undef __glibcxx_want_hardened_basic_stacktrace
2732
2733#if !defined(__cpp_lib_hardened_basic_string)
2734# if (defined(_GLIBCXX_ASSERTIONS))
2735# define __glibcxx_hardened_basic_string 202502L
2736# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardened_basic_string)
2737# define __cpp_lib_hardened_basic_string 202502L
2738# endif
2739# endif
2740#endif /* !defined(__cpp_lib_hardened_basic_string) */
2741#undef __glibcxx_want_hardened_basic_string
2742
2743#if !defined(__cpp_lib_hardened_basic_string_view)
2744# if (defined(__glibcxx_string_view) && defined(_GLIBCXX_ASSERTIONS))
2745# define __glibcxx_hardened_basic_string_view 202502L
2746# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardened_basic_string_view)
2747# define __cpp_lib_hardened_basic_string_view 202502L
2748# endif
2749# endif
2750#endif /* !defined(__cpp_lib_hardened_basic_string_view) */
2751#undef __glibcxx_want_hardened_basic_string_view
2752
2753#if !defined(__cpp_lib_hardened_bitset)
2754# if (defined(_GLIBCXX_ASSERTIONS))
2755# define __glibcxx_hardened_bitset 202502L
2756# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardened_bitset)
2757# define __cpp_lib_hardened_bitset 202502L
2758# endif
2759# endif
2760#endif /* !defined(__cpp_lib_hardened_bitset) */
2761#undef __glibcxx_want_hardened_bitset
2762
2763#if !defined(__cpp_lib_hardened_common_iterator)
2764# if (defined(__glibcxx_ranges) && defined(_GLIBCXX_ASSERTIONS))
2765# define __glibcxx_hardened_common_iterator 202502L
2766# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardened_common_iterator)
2767# define __cpp_lib_hardened_common_iterator 202502L
2768# endif
2769# endif
2770#endif /* !defined(__cpp_lib_hardened_common_iterator) */
2771#undef __glibcxx_want_hardened_common_iterator
2772
2773#if !defined(__cpp_lib_hardened_counted_iterator)
2774# if (defined(__glibcxx_ranges) && defined(_GLIBCXX_ASSERTIONS))
2775# define __glibcxx_hardened_counted_iterator 202502L
2776# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardened_counted_iterator)
2777# define __cpp_lib_hardened_counted_iterator 202502L
2778# endif
2779# endif
2780#endif /* !defined(__cpp_lib_hardened_counted_iterator) */
2781#undef __glibcxx_want_hardened_counted_iterator
2782
2783#if !defined(__cpp_lib_hardened_deque)
2784# if (defined(_GLIBCXX_ASSERTIONS))
2785# define __glibcxx_hardened_deque 202502L
2786# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardened_deque)
2787# define __cpp_lib_hardened_deque 202502L
2788# endif
2789# endif
2790#endif /* !defined(__cpp_lib_hardened_deque) */
2791#undef __glibcxx_want_hardened_deque
2792
2793#if !defined(__cpp_lib_hardened_expected)
2794# if (defined(__glibcxx_expected) && defined(_GLIBCXX_ASSERTIONS))
2795# define __glibcxx_hardened_expected 202502L
2796# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardened_expected)
2797# define __cpp_lib_hardened_expected 202502L
2798# endif
2799# endif
2800#endif /* !defined(__cpp_lib_hardened_expected) */
2801#undef __glibcxx_want_hardened_expected
2802
2803#if !defined(__cpp_lib_hardened_forward_list)
2804# if (__cplusplus >= 201103L) && (defined(_GLIBCXX_ASSERTIONS))
2805# define __glibcxx_hardened_forward_list 202502L
2806# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardened_forward_list)
2807# define __cpp_lib_hardened_forward_list 202502L
2808# endif
2809# endif
2810#endif /* !defined(__cpp_lib_hardened_forward_list) */
2811#undef __glibcxx_want_hardened_forward_list
2812
2813#if !defined(__cpp_lib_hardened_inplace_vector)
2814# if (defined(__glibcxx_inplace_vector) && defined(_GLIBCXX_ASSERTIONS))
2815# define __glibcxx_hardened_inplace_vector 202502L
2816# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardened_inplace_vector)
2817# define __cpp_lib_hardened_inplace_vector 202502L
2818# endif
2819# endif
2820#endif /* !defined(__cpp_lib_hardened_inplace_vector) */
2821#undef __glibcxx_want_hardened_inplace_vector
2822
2823#if !defined(__cpp_lib_hardened_list)
2824# if (defined(_GLIBCXX_ASSERTIONS))
2825# define __glibcxx_hardened_list 202502L
2826# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardened_list)
2827# define __cpp_lib_hardened_list 202502L
2828# endif
2829# endif
2830#endif /* !defined(__cpp_lib_hardened_list) */
2831#undef __glibcxx_want_hardened_list
2832
2833#if !defined(__cpp_lib_hardened_mdspan)
2834# if (defined(__glibcxx_mdspan) && defined(_GLIBCXX_ASSERTIONS))
2835# define __glibcxx_hardened_mdspan 202502L
2836# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardened_mdspan)
2837# define __cpp_lib_hardened_mdspan 202502L
2838# endif
2839# endif
2840#endif /* !defined(__cpp_lib_hardened_mdspan) */
2841#undef __glibcxx_want_hardened_mdspan
2842
2843#if !defined(__cpp_lib_hardened_optional)
2844# if (defined(__glibcxx_optional) && defined(_GLIBCXX_ASSERTIONS))
2845# define __glibcxx_hardened_optional 202502L
2846# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardened_optional)
2847# define __cpp_lib_hardened_optional 202502L
2848# endif
2849# endif
2850#endif /* !defined(__cpp_lib_hardened_optional) */
2851#undef __glibcxx_want_hardened_optional
2852
2853#if !defined(__cpp_lib_hardened_shared_ptr_array)
2854# if (defined(__glibcxx_shared_ptr_arrays) && defined(_GLIBCXX_ASSERTIONS))
2855# define __glibcxx_hardened_shared_ptr_array 202502L
2856# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardened_shared_ptr_array)
2857# define __cpp_lib_hardened_shared_ptr_array 202502L
2858# endif
2859# endif
2860#endif /* !defined(__cpp_lib_hardened_shared_ptr_array) */
2861#undef __glibcxx_want_hardened_shared_ptr_array
2862
2863#if !defined(__cpp_lib_hardened_span)
2864# if (defined(__glibcxx_span) && defined(_GLIBCXX_ASSERTIONS))
2865# define __glibcxx_hardened_span 202502L
2866# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardened_span)
2867# define __cpp_lib_hardened_span 202502L
2868# endif
2869# endif
2870#endif /* !defined(__cpp_lib_hardened_span) */
2871#undef __glibcxx_want_hardened_span
2872
2873#if !defined(__cpp_lib_hardened_valarray)
2874# if (defined(_GLIBCXX_ASSERTIONS))
2875# define __glibcxx_hardened_valarray 202502L
2876# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardened_valarray)
2877# define __cpp_lib_hardened_valarray 202502L
2878# endif
2879# endif
2880#endif /* !defined(__cpp_lib_hardened_valarray) */
2881#undef __glibcxx_want_hardened_valarray
2882
2883#if !defined(__cpp_lib_hardened_vector)
2884# if (defined(_GLIBCXX_ASSERTIONS))
2885# define __glibcxx_hardened_vector 202502L
2886# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardened_vector)
2887# define __cpp_lib_hardened_vector 202502L
2888# endif
2889# endif
2890#endif /* !defined(__cpp_lib_hardened_vector) */
2891#undef __glibcxx_want_hardened_vector
2892
2893#if !defined(__cpp_lib_hardened_view_interface)
2894# if (defined(__glibcxx_ranges) && defined(_GLIBCXX_ASSERTIONS))
2895# define __glibcxx_hardened_view_interface 202502L
2896# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardened_view_interface)
2897# define __cpp_lib_hardened_view_interface 202502L
2898# endif
2899# endif
2900#endif /* !defined(__cpp_lib_hardened_view_interface) */
2901#undef __glibcxx_want_hardened_view_interface
2902
2903#undef __glibcxx_want_all
c++config.h