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