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