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