libstdc++
version.h
Go to the documentation of this file.
1// Copyright (C) 2023-2025 Free Software Foundation, Inc.
2
3// This file is part of the GNU ISO C++ Library. This library is free
4// software; you can redistribute it and/or modify it under the
5// terms of the GNU General Public License as published by the
6// Free Software Foundation; either version 3, or (at your option)
7// any later version.
8
9// This library is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// Under Section 7 of GPL version 3, you are granted additional
15// permissions described in the GCC Runtime Library Exception, version
16// 3.1, as published by the Free Software Foundation.
17
18// You should have received a copy of the GNU General Public License and
19// a copy of the GCC Runtime Library Exception along with this program;
20// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
21// <http://www.gnu.org/licenses/>.
22
23// DO NOT EDIT THIS FILE (version.h)
24//
25// It has been AutoGen-ed
26// From the definitions version.def
27// and the template file version.tpl
28
29/** @file bits/version.h
30 * This is an internal header file, included by other library headers.
31 * Do not attempt to use it directly. @headername{version}
32 */
33
34// Usage guide:
35//
36// In your usual header, do something like:
37//
38// #define __glibcxx_want_ranges
39// #define __glibcxx_want_concepts
40// #include <bits/version.h>
41//
42// This will generate the FTMs you named, and let you use them in your code as
43// if it was user code. All macros are also exposed under __glibcxx_NAME even
44// if unwanted, to permit bits and other FTMs to depend on them for condtional
45// computation without exposing extra FTMs to user code.
46
47#ifdef _GLIBCXX_SYSHDR
48#pragma GCC system_header
49#endif
50
51#include <bits/c++config.h>
52
53#if !defined(__cpp_lib_incomplete_container_elements)
54# if _GLIBCXX_HOSTED
55# define __glibcxx_incomplete_container_elements 201505L
56# if defined(__glibcxx_want_all) || defined(__glibcxx_want_incomplete_container_elements)
57# define __cpp_lib_incomplete_container_elements 201505L
58# endif
59# endif
60#endif /* !defined(__cpp_lib_incomplete_container_elements) && defined(__glibcxx_want_incomplete_container_elements) */
61#undef __glibcxx_want_incomplete_container_elements
62
63#if !defined(__cpp_lib_uncaught_exceptions)
64# if ((defined(__STRICT_ANSI__) && __cplusplus >= 201703L) || (!defined(__STRICT_ANSI__) && __cplusplus >= 199711L))
65# define __glibcxx_uncaught_exceptions 201411L
66# if defined(__glibcxx_want_all) || defined(__glibcxx_want_uncaught_exceptions)
67# define __cpp_lib_uncaught_exceptions 201411L
68# endif
69# endif
70#endif /* !defined(__cpp_lib_uncaught_exceptions) && defined(__glibcxx_want_uncaught_exceptions) */
71#undef __glibcxx_want_uncaught_exceptions
72
73#if !defined(__cpp_lib_allocator_traits_is_always_equal)
74# if (__cplusplus >= 201103L)
75# define __glibcxx_allocator_traits_is_always_equal 201411L
76# if defined(__glibcxx_want_all) || defined(__glibcxx_want_allocator_traits_is_always_equal)
77# define __cpp_lib_allocator_traits_is_always_equal 201411L
78# endif
79# endif
80#endif /* !defined(__cpp_lib_allocator_traits_is_always_equal) && defined(__glibcxx_want_allocator_traits_is_always_equal) */
81#undef __glibcxx_want_allocator_traits_is_always_equal
82
83#if !defined(__cpp_lib_is_null_pointer)
84# if (__cplusplus >= 201103L)
85# define __glibcxx_is_null_pointer 201309L
86# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_null_pointer)
87# define __cpp_lib_is_null_pointer 201309L
88# endif
89# endif
90#endif /* !defined(__cpp_lib_is_null_pointer) && defined(__glibcxx_want_is_null_pointer) */
91#undef __glibcxx_want_is_null_pointer
92
93#if !defined(__cpp_lib_result_of_sfinae)
94# if (__cplusplus >= 201103L)
95# define __glibcxx_result_of_sfinae 201210L
96# if defined(__glibcxx_want_all) || defined(__glibcxx_want_result_of_sfinae)
97# define __cpp_lib_result_of_sfinae 201210L
98# endif
99# endif
100#endif /* !defined(__cpp_lib_result_of_sfinae) && defined(__glibcxx_want_result_of_sfinae) */
101#undef __glibcxx_want_result_of_sfinae
102
103#if !defined(__cpp_lib_shared_ptr_arrays)
104# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
105# define __glibcxx_shared_ptr_arrays 201707L
106# if defined(__glibcxx_want_all) || defined(__glibcxx_want_shared_ptr_arrays)
107# define __cpp_lib_shared_ptr_arrays 201707L
108# endif
109# elif (__cplusplus >= 201103L) && _GLIBCXX_HOSTED
110# define __glibcxx_shared_ptr_arrays 201611L
111# if defined(__glibcxx_want_all) || defined(__glibcxx_want_shared_ptr_arrays)
112# define __cpp_lib_shared_ptr_arrays 201611L
113# endif
114# endif
115#endif /* !defined(__cpp_lib_shared_ptr_arrays) && defined(__glibcxx_want_shared_ptr_arrays) */
116#undef __glibcxx_want_shared_ptr_arrays
117
118#if !defined(__cpp_lib_is_swappable)
119# if ((defined(__STRICT_ANSI__) && __cplusplus >= 201703L) || (!defined(__STRICT_ANSI__) && __cplusplus >= 201103L))
120# define __glibcxx_is_swappable 201603L
121# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_swappable)
122# define __cpp_lib_is_swappable 201603L
123# endif
124# endif
125#endif /* !defined(__cpp_lib_is_swappable) && defined(__glibcxx_want_is_swappable) */
126#undef __glibcxx_want_is_swappable
127
128#if !defined(__cpp_lib_void_t)
129# if ((defined(__STRICT_ANSI__) && __cplusplus >= 201703L) || (!defined(__STRICT_ANSI__) && __cplusplus >= 201103L))
130# define __glibcxx_void_t 201411L
131# if defined(__glibcxx_want_all) || defined(__glibcxx_want_void_t)
132# define __cpp_lib_void_t 201411L
133# endif
134# endif
135#endif /* !defined(__cpp_lib_void_t) && defined(__glibcxx_want_void_t) */
136#undef __glibcxx_want_void_t
137
138#if !defined(__cpp_lib_enable_shared_from_this)
139# if ((defined(__STRICT_ANSI__) && __cplusplus >= 201703L) || (!defined(__STRICT_ANSI__) && __cplusplus >= 201103L)) && _GLIBCXX_HOSTED
140# define __glibcxx_enable_shared_from_this 201603L
141# if defined(__glibcxx_want_all) || defined(__glibcxx_want_enable_shared_from_this)
142# define __cpp_lib_enable_shared_from_this 201603L
143# endif
144# endif
145#endif /* !defined(__cpp_lib_enable_shared_from_this) && defined(__glibcxx_want_enable_shared_from_this) */
146#undef __glibcxx_want_enable_shared_from_this
147
148#if !defined(__cpp_lib_math_spec_funcs)
149# if (__cplusplus >= 201103L)
150# define __glibcxx_math_spec_funcs 201003L
151# if defined(__glibcxx_want_all) || defined(__glibcxx_want_math_spec_funcs)
152# define __STDCPP_MATH_SPEC_FUNCS__ 201003L
153# endif
154# endif
155#endif /* !defined(__cpp_lib_math_spec_funcs) && defined(__glibcxx_want_math_spec_funcs) */
156#undef __glibcxx_want_math_spec_funcs
157
158#if !defined(__cpp_lib_coroutine)
159# if (__cplusplus >= 201402L) && (__cpp_impl_coroutine)
160# define __glibcxx_coroutine 201902L
161# if defined(__glibcxx_want_all) || defined(__glibcxx_want_coroutine)
162# define __cpp_lib_coroutine 201902L
163# endif
164# endif
165#endif /* !defined(__cpp_lib_coroutine) && defined(__glibcxx_want_coroutine) */
166#undef __glibcxx_want_coroutine
167
168#if !defined(__cpp_lib_exchange_function)
169# if (__cplusplus >= 201402L)
170# define __glibcxx_exchange_function 201304L
171# if defined(__glibcxx_want_all) || defined(__glibcxx_want_exchange_function)
172# define __cpp_lib_exchange_function 201304L
173# endif
174# endif
175#endif /* !defined(__cpp_lib_exchange_function) && defined(__glibcxx_want_exchange_function) */
176#undef __glibcxx_want_exchange_function
177
178#if !defined(__cpp_lib_integer_sequence)
179# if (__cplusplus >= 201402L)
180# define __glibcxx_integer_sequence 201304L
181# if defined(__glibcxx_want_all) || defined(__glibcxx_want_integer_sequence)
182# define __cpp_lib_integer_sequence 201304L
183# endif
184# endif
185#endif /* !defined(__cpp_lib_integer_sequence) && defined(__glibcxx_want_integer_sequence) */
186#undef __glibcxx_want_integer_sequence
187
188#if !defined(__cpp_lib_integral_constant_callable)
189# if (__cplusplus >= 201402L)
190# define __glibcxx_integral_constant_callable 201304L
191# if defined(__glibcxx_want_all) || defined(__glibcxx_want_integral_constant_callable)
192# define __cpp_lib_integral_constant_callable 201304L
193# endif
194# endif
195#endif /* !defined(__cpp_lib_integral_constant_callable) && defined(__glibcxx_want_integral_constant_callable) */
196#undef __glibcxx_want_integral_constant_callable
197
198#if !defined(__cpp_lib_is_final)
199# if (__cplusplus >= 201402L)
200# define __glibcxx_is_final 201402L
201# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_final)
202# define __cpp_lib_is_final 201402L
203# endif
204# endif
205#endif /* !defined(__cpp_lib_is_final) && defined(__glibcxx_want_is_final) */
206#undef __glibcxx_want_is_final
207
208#if !defined(__cpp_lib_make_reverse_iterator)
209# if (__cplusplus >= 201402L)
210# define __glibcxx_make_reverse_iterator 201402L
211# if defined(__glibcxx_want_all) || defined(__glibcxx_want_make_reverse_iterator)
212# define __cpp_lib_make_reverse_iterator 201402L
213# endif
214# endif
215#endif /* !defined(__cpp_lib_make_reverse_iterator) && defined(__glibcxx_want_make_reverse_iterator) */
216#undef __glibcxx_want_make_reverse_iterator
217
218#if !defined(__cpp_lib_null_iterators)
219# if (__cplusplus >= 201402L)
220# define __glibcxx_null_iterators 201304L
221# if defined(__glibcxx_want_all) || defined(__glibcxx_want_null_iterators)
222# define __cpp_lib_null_iterators 201304L
223# endif
224# endif
225#endif /* !defined(__cpp_lib_null_iterators) && defined(__glibcxx_want_null_iterators) */
226#undef __glibcxx_want_null_iterators
227
228#if !defined(__cpp_lib_transformation_trait_aliases)
229# if (__cplusplus >= 201402L)
230# define __glibcxx_transformation_trait_aliases 201304L
231# if defined(__glibcxx_want_all) || defined(__glibcxx_want_transformation_trait_aliases)
232# define __cpp_lib_transformation_trait_aliases 201304L
233# endif
234# endif
235#endif /* !defined(__cpp_lib_transformation_trait_aliases) && defined(__glibcxx_want_transformation_trait_aliases) */
236#undef __glibcxx_want_transformation_trait_aliases
237
238#if !defined(__cpp_lib_transparent_operators)
239# if (__cplusplus >= 201402L)
240# define __glibcxx_transparent_operators 201510L
241# if defined(__glibcxx_want_all) || defined(__glibcxx_want_transparent_operators)
242# define __cpp_lib_transparent_operators 201510L
243# endif
244# endif
245#endif /* !defined(__cpp_lib_transparent_operators) && defined(__glibcxx_want_transparent_operators) */
246#undef __glibcxx_want_transparent_operators
247
248#if !defined(__cpp_lib_tuple_element_t)
249# if (__cplusplus >= 201402L)
250# define __glibcxx_tuple_element_t 201402L
251# if defined(__glibcxx_want_all) || defined(__glibcxx_want_tuple_element_t)
252# define __cpp_lib_tuple_element_t 201402L
253# endif
254# endif
255#endif /* !defined(__cpp_lib_tuple_element_t) && defined(__glibcxx_want_tuple_element_t) */
256#undef __glibcxx_want_tuple_element_t
257
258#if !defined(__cpp_lib_tuples_by_type)
259# if (__cplusplus >= 201402L)
260# define __glibcxx_tuples_by_type 201304L
261# if defined(__glibcxx_want_all) || defined(__glibcxx_want_tuples_by_type)
262# define __cpp_lib_tuples_by_type 201304L
263# endif
264# endif
265#endif /* !defined(__cpp_lib_tuples_by_type) && defined(__glibcxx_want_tuples_by_type) */
266#undef __glibcxx_want_tuples_by_type
267
268#if !defined(__cpp_lib_robust_nonmodifying_seq_ops)
269# if (__cplusplus >= 201402L)
270# define __glibcxx_robust_nonmodifying_seq_ops 201304L
271# if defined(__glibcxx_want_all) || defined(__glibcxx_want_robust_nonmodifying_seq_ops)
272# define __cpp_lib_robust_nonmodifying_seq_ops 201304L
273# endif
274# endif
275#endif /* !defined(__cpp_lib_robust_nonmodifying_seq_ops) && defined(__glibcxx_want_robust_nonmodifying_seq_ops) */
276#undef __glibcxx_want_robust_nonmodifying_seq_ops
277
278#if !defined(__cpp_lib_to_chars)
279# if (__cplusplus > 202302L) && (_GLIBCXX_FLOAT_IS_IEEE_BINARY32 && _GLIBCXX_DOUBLE_IS_IEEE_BINARY64 && __SIZE_WIDTH__ >= 32)
280# define __glibcxx_to_chars 202306L
281# if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_chars)
282# define __cpp_lib_to_chars 202306L
283# endif
284# elif (__cplusplus >= 201402L) && (_GLIBCXX_FLOAT_IS_IEEE_BINARY32 && _GLIBCXX_DOUBLE_IS_IEEE_BINARY64 && __SIZE_WIDTH__ >= 32)
285# define __glibcxx_to_chars 201611L
286# if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_chars)
287# define __cpp_lib_to_chars 201611L
288# endif
289# endif
290#endif /* !defined(__cpp_lib_to_chars) && defined(__glibcxx_want_to_chars) */
291#undef __glibcxx_want_to_chars
292
293#if !defined(__cpp_lib_chrono_udls)
294# if (__cplusplus >= 201402L)
295# define __glibcxx_chrono_udls 201304L
296# if defined(__glibcxx_want_all) || defined(__glibcxx_want_chrono_udls)
297# define __cpp_lib_chrono_udls 201304L
298# endif
299# endif
300#endif /* !defined(__cpp_lib_chrono_udls) && defined(__glibcxx_want_chrono_udls) */
301#undef __glibcxx_want_chrono_udls
302
303#if !defined(__cpp_lib_complex_udls)
304# if (__cplusplus >= 201402L) && _GLIBCXX_HOSTED
305# define __glibcxx_complex_udls 201309L
306# if defined(__glibcxx_want_all) || defined(__glibcxx_want_complex_udls)
307# define __cpp_lib_complex_udls 201309L
308# endif
309# endif
310#endif /* !defined(__cpp_lib_complex_udls) && defined(__glibcxx_want_complex_udls) */
311#undef __glibcxx_want_complex_udls
312
313#if !defined(__cpp_lib_generic_associative_lookup)
314# if (__cplusplus >= 201402L) && _GLIBCXX_HOSTED
315# define __glibcxx_generic_associative_lookup 201304L
316# if defined(__glibcxx_want_all) || defined(__glibcxx_want_generic_associative_lookup)
317# define __cpp_lib_generic_associative_lookup 201304L
318# endif
319# endif
320#endif /* !defined(__cpp_lib_generic_associative_lookup) && defined(__glibcxx_want_generic_associative_lookup) */
321#undef __glibcxx_want_generic_associative_lookup
322
323#if !defined(__cpp_lib_make_unique)
324# if (__cplusplus >= 201402L) && _GLIBCXX_HOSTED
325# define __glibcxx_make_unique 201304L
326# if defined(__glibcxx_want_all) || defined(__glibcxx_want_make_unique)
327# define __cpp_lib_make_unique 201304L
328# endif
329# endif
330#endif /* !defined(__cpp_lib_make_unique) && defined(__glibcxx_want_make_unique) */
331#undef __glibcxx_want_make_unique
332
333#if !defined(__cpp_lib_quoted_string_io)
334# if (__cplusplus >= 201402L) && _GLIBCXX_HOSTED
335# define __glibcxx_quoted_string_io 201304L
336# if defined(__glibcxx_want_all) || defined(__glibcxx_want_quoted_string_io)
337# define __cpp_lib_quoted_string_io 201304L
338# endif
339# endif
340#endif /* !defined(__cpp_lib_quoted_string_io) && defined(__glibcxx_want_quoted_string_io) */
341#undef __glibcxx_want_quoted_string_io
342
343#if !defined(__cpp_lib_shared_timed_mutex)
344# if (__cplusplus >= 201402L) && defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED
345# define __glibcxx_shared_timed_mutex 201402L
346# if defined(__glibcxx_want_all) || defined(__glibcxx_want_shared_timed_mutex)
347# define __cpp_lib_shared_timed_mutex 201402L
348# endif
349# endif
350#endif /* !defined(__cpp_lib_shared_timed_mutex) && defined(__glibcxx_want_shared_timed_mutex) */
351#undef __glibcxx_want_shared_timed_mutex
352
353#if !defined(__cpp_lib_string_udls)
354# if (__cplusplus >= 201402L) && _GLIBCXX_HOSTED
355# define __glibcxx_string_udls 201304L
356# if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_udls)
357# define __cpp_lib_string_udls 201304L
358# endif
359# endif
360#endif /* !defined(__cpp_lib_string_udls) && defined(__glibcxx_want_string_udls) */
361#undef __glibcxx_want_string_udls
362
363#if !defined(__cpp_lib_addressof_constexpr)
364# if (__cplusplus >= 201703L)
365# define __glibcxx_addressof_constexpr 201603L
366# if defined(__glibcxx_want_all) || defined(__glibcxx_want_addressof_constexpr)
367# define __cpp_lib_addressof_constexpr 201603L
368# endif
369# endif
370#endif /* !defined(__cpp_lib_addressof_constexpr) && defined(__glibcxx_want_addressof_constexpr) */
371#undef __glibcxx_want_addressof_constexpr
372
373#if !defined(__cpp_lib_any)
374# if (__cplusplus >= 201703L)
375# define __glibcxx_any 201606L
376# if defined(__glibcxx_want_all) || defined(__glibcxx_want_any)
377# define __cpp_lib_any 201606L
378# endif
379# endif
380#endif /* !defined(__cpp_lib_any) && defined(__glibcxx_want_any) */
381#undef __glibcxx_want_any
382
383#if !defined(__cpp_lib_apply)
384# if (__cplusplus >= 201703L)
385# define __glibcxx_apply 201603L
386# if defined(__glibcxx_want_all) || defined(__glibcxx_want_apply)
387# define __cpp_lib_apply 201603L
388# endif
389# endif
390#endif /* !defined(__cpp_lib_apply) && defined(__glibcxx_want_apply) */
391#undef __glibcxx_want_apply
392
393#if !defined(__cpp_lib_as_const)
394# if (__cplusplus >= 201703L)
395# define __glibcxx_as_const 201510L
396# if defined(__glibcxx_want_all) || defined(__glibcxx_want_as_const)
397# define __cpp_lib_as_const 201510L
398# endif
399# endif
400#endif /* !defined(__cpp_lib_as_const) && defined(__glibcxx_want_as_const) */
401#undef __glibcxx_want_as_const
402
403#if !defined(__cpp_lib_atomic_is_always_lock_free)
404# if (__cplusplus >= 201703L)
405# define __glibcxx_atomic_is_always_lock_free 201603L
406# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_is_always_lock_free)
407# define __cpp_lib_atomic_is_always_lock_free 201603L
408# endif
409# endif
410#endif /* !defined(__cpp_lib_atomic_is_always_lock_free) && defined(__glibcxx_want_atomic_is_always_lock_free) */
411#undef __glibcxx_want_atomic_is_always_lock_free
412
413#if !defined(__cpp_lib_bool_constant)
414# if (__cplusplus >= 201703L)
415# define __glibcxx_bool_constant 201505L
416# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bool_constant)
417# define __cpp_lib_bool_constant 201505L
418# endif
419# endif
420#endif /* !defined(__cpp_lib_bool_constant) && defined(__glibcxx_want_bool_constant) */
421#undef __glibcxx_want_bool_constant
422
423#if !defined(__cpp_lib_byte)
424# if (__cplusplus >= 201703L)
425# define __glibcxx_byte 201603L
426# if defined(__glibcxx_want_all) || defined(__glibcxx_want_byte)
427# define __cpp_lib_byte 201603L
428# endif
429# endif
430#endif /* !defined(__cpp_lib_byte) && defined(__glibcxx_want_byte) */
431#undef __glibcxx_want_byte
432
433#if !defined(__cpp_lib_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 > 202302L)
1255# define __glibcxx_constexpr_algorithms 202306L
1256# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_algorithms)
1257# define __cpp_lib_constexpr_algorithms 202306L
1258# endif
1259# elif (__cplusplus >= 202002L)
1260# define __glibcxx_constexpr_algorithms 201806L
1261# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_algorithms)
1262# define __cpp_lib_constexpr_algorithms 201806L
1263# endif
1264# endif
1265#endif /* !defined(__cpp_lib_constexpr_algorithms) && defined(__glibcxx_want_constexpr_algorithms) */
1266#undef __glibcxx_want_constexpr_algorithms
1267
1268#if !defined(__cpp_lib_constexpr_tuple)
1269# if (__cplusplus >= 202002L)
1270# define __glibcxx_constexpr_tuple 201811L
1271# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_tuple)
1272# define __cpp_lib_constexpr_tuple 201811L
1273# endif
1274# endif
1275#endif /* !defined(__cpp_lib_constexpr_tuple) && defined(__glibcxx_want_constexpr_tuple) */
1276#undef __glibcxx_want_constexpr_tuple
1277
1278#if !defined(__cpp_lib_constexpr_memory)
1279# if (__cplusplus >= 202100L) && (__cpp_constexpr_dynamic_alloc)
1280# define __glibcxx_constexpr_memory 202202L
1281# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_memory)
1282# define __cpp_lib_constexpr_memory 202202L
1283# endif
1284# elif (__cplusplus >= 202002L)
1285# define __glibcxx_constexpr_memory 201811L
1286# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_memory)
1287# define __cpp_lib_constexpr_memory 201811L
1288# endif
1289# endif
1290#endif /* !defined(__cpp_lib_constexpr_memory) && defined(__glibcxx_want_constexpr_memory) */
1291#undef __glibcxx_want_constexpr_memory
1292
1293#if !defined(__cpp_lib_atomic_shared_ptr)
1294# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1295# define __glibcxx_atomic_shared_ptr 201711L
1296# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_shared_ptr)
1297# define __cpp_lib_atomic_shared_ptr 201711L
1298# endif
1299# endif
1300#endif /* !defined(__cpp_lib_atomic_shared_ptr) && defined(__glibcxx_want_atomic_shared_ptr) */
1301#undef __glibcxx_want_atomic_shared_ptr
1302
1303#if !defined(__cpp_lib_atomic_wait)
1304# if (__cplusplus >= 202002L) && defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED
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# elif (__cplusplus >= 202002L) && !defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED && (defined(_GLIBCXX_HAVE_LINUX_FUTEX))
1310# define __glibcxx_atomic_wait 201907L
1311# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_wait)
1312# define __cpp_lib_atomic_wait 201907L
1313# endif
1314# endif
1315#endif /* !defined(__cpp_lib_atomic_wait) && defined(__glibcxx_want_atomic_wait) */
1316#undef __glibcxx_want_atomic_wait
1317
1318#if !defined(__cpp_lib_barrier)
1319# if (__cplusplus >= 202002L) && (__cpp_aligned_new && __glibcxx_atomic_wait)
1320# define __glibcxx_barrier 201907L
1321# if defined(__glibcxx_want_all) || defined(__glibcxx_want_barrier)
1322# define __cpp_lib_barrier 201907L
1323# endif
1324# endif
1325#endif /* !defined(__cpp_lib_barrier) && defined(__glibcxx_want_barrier) */
1326#undef __glibcxx_want_barrier
1327
1328#if !defined(__cpp_lib_format)
1329# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
1330# define __glibcxx_format 202311L
1331# if defined(__glibcxx_want_all) || defined(__glibcxx_want_format)
1332# define __cpp_lib_format 202311L
1333# endif
1334# elif (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1335# define __glibcxx_format 202304L
1336# if defined(__glibcxx_want_all) || defined(__glibcxx_want_format)
1337# define __cpp_lib_format 202304L
1338# endif
1339# endif
1340#endif /* !defined(__cpp_lib_format) && defined(__glibcxx_want_format) */
1341#undef __glibcxx_want_format
1342
1343#if !defined(__cpp_lib_format_uchar)
1344# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1345# define __glibcxx_format_uchar 202311L
1346# if defined(__glibcxx_want_all) || defined(__glibcxx_want_format_uchar)
1347# define __cpp_lib_format_uchar 202311L
1348# endif
1349# endif
1350#endif /* !defined(__cpp_lib_format_uchar) && defined(__glibcxx_want_format_uchar) */
1351#undef __glibcxx_want_format_uchar
1352
1353#if !defined(__cpp_lib_constexpr_complex)
1354# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1355# define __glibcxx_constexpr_complex 201711L
1356# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_complex)
1357# define __cpp_lib_constexpr_complex 201711L
1358# endif
1359# endif
1360#endif /* !defined(__cpp_lib_constexpr_complex) && defined(__glibcxx_want_constexpr_complex) */
1361#undef __glibcxx_want_constexpr_complex
1362
1363#if !defined(__cpp_lib_constexpr_dynamic_alloc)
1364# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1365# define __glibcxx_constexpr_dynamic_alloc 201907L
1366# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_dynamic_alloc)
1367# define __cpp_lib_constexpr_dynamic_alloc 201907L
1368# endif
1369# endif
1370#endif /* !defined(__cpp_lib_constexpr_dynamic_alloc) && defined(__glibcxx_want_constexpr_dynamic_alloc) */
1371#undef __glibcxx_want_constexpr_dynamic_alloc
1372
1373#if !defined(__cpp_lib_constexpr_string)
1374# if (__cplusplus >= 202002L) && _GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED && (defined(__glibcxx_is_constant_evaluated))
1375# define __glibcxx_constexpr_string 201907L
1376# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_string)
1377# define __cpp_lib_constexpr_string 201907L
1378# endif
1379# elif (__cplusplus >= 202002L) && !_GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED && (defined(__glibcxx_is_constant_evaluated))
1380# define __glibcxx_constexpr_string 201811L
1381# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_string)
1382# define __cpp_lib_constexpr_string 201811L
1383# endif
1384# elif (__cplusplus >= 201703L) && _GLIBCXX_HOSTED && (_GLIBCXX_HAVE_IS_CONSTANT_EVALUATED)
1385# define __glibcxx_constexpr_string 201611L
1386# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_string)
1387# define __cpp_lib_constexpr_string 201611L
1388# endif
1389# endif
1390#endif /* !defined(__cpp_lib_constexpr_string) && defined(__glibcxx_want_constexpr_string) */
1391#undef __glibcxx_want_constexpr_string
1392
1393#if !defined(__cpp_lib_constexpr_vector)
1394# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1395# define __glibcxx_constexpr_vector 201907L
1396# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_vector)
1397# define __cpp_lib_constexpr_vector 201907L
1398# endif
1399# endif
1400#endif /* !defined(__cpp_lib_constexpr_vector) && defined(__glibcxx_want_constexpr_vector) */
1401#undef __glibcxx_want_constexpr_vector
1402
1403#if !defined(__cpp_lib_constrained_equality)
1404# if (__cplusplus >= 202002L) && (__glibcxx_three_way_comparison)
1405# define __glibcxx_constrained_equality 202411L
1406# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constrained_equality)
1407# define __cpp_lib_constrained_equality 202411L
1408# endif
1409# endif
1410#endif /* !defined(__cpp_lib_constrained_equality) && defined(__glibcxx_want_constrained_equality) */
1411#undef __glibcxx_want_constrained_equality
1412
1413#if !defined(__cpp_lib_erase_if)
1414# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1415# define __glibcxx_erase_if 202002L
1416# if defined(__glibcxx_want_all) || defined(__glibcxx_want_erase_if)
1417# define __cpp_lib_erase_if 202002L
1418# endif
1419# endif
1420#endif /* !defined(__cpp_lib_erase_if) && defined(__glibcxx_want_erase_if) */
1421#undef __glibcxx_want_erase_if
1422
1423#if !defined(__cpp_lib_generic_unordered_lookup)
1424# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1425# define __glibcxx_generic_unordered_lookup 201811L
1426# if defined(__glibcxx_want_all) || defined(__glibcxx_want_generic_unordered_lookup)
1427# define __cpp_lib_generic_unordered_lookup 201811L
1428# endif
1429# endif
1430#endif /* !defined(__cpp_lib_generic_unordered_lookup) && defined(__glibcxx_want_generic_unordered_lookup) */
1431#undef __glibcxx_want_generic_unordered_lookup
1432
1433#if !defined(__cpp_lib_jthread)
1434# if (__cplusplus >= 202002L) && defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED
1435# define __glibcxx_jthread 201911L
1436# if defined(__glibcxx_want_all) || defined(__glibcxx_want_jthread)
1437# define __cpp_lib_jthread 201911L
1438# endif
1439# endif
1440#endif /* !defined(__cpp_lib_jthread) && defined(__glibcxx_want_jthread) */
1441#undef __glibcxx_want_jthread
1442
1443#if !defined(__cpp_lib_latch)
1444# if (__cplusplus >= 202002L) && (__glibcxx_atomic_wait)
1445# define __glibcxx_latch 201907L
1446# if defined(__glibcxx_want_all) || defined(__glibcxx_want_latch)
1447# define __cpp_lib_latch 201907L
1448# endif
1449# endif
1450#endif /* !defined(__cpp_lib_latch) && defined(__glibcxx_want_latch) */
1451#undef __glibcxx_want_latch
1452
1453#if !defined(__cpp_lib_list_remove_return_type)
1454# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1455# define __glibcxx_list_remove_return_type 201806L
1456# if defined(__glibcxx_want_all) || defined(__glibcxx_want_list_remove_return_type)
1457# define __cpp_lib_list_remove_return_type 201806L
1458# endif
1459# endif
1460#endif /* !defined(__cpp_lib_list_remove_return_type) && defined(__glibcxx_want_list_remove_return_type) */
1461#undef __glibcxx_want_list_remove_return_type
1462
1463#if !defined(__cpp_lib_polymorphic_allocator)
1464# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1465# define __glibcxx_polymorphic_allocator 201902L
1466# if defined(__glibcxx_want_all) || defined(__glibcxx_want_polymorphic_allocator)
1467# define __cpp_lib_polymorphic_allocator 201902L
1468# endif
1469# endif
1470#endif /* !defined(__cpp_lib_polymorphic_allocator) && defined(__glibcxx_want_polymorphic_allocator) */
1471#undef __glibcxx_want_polymorphic_allocator
1472
1473#if !defined(__cpp_lib_move_iterator_concept)
1474# if (__cplusplus >= 202002L) && (__glibcxx_concepts)
1475# define __glibcxx_move_iterator_concept 202207L
1476# if defined(__glibcxx_want_all) || defined(__glibcxx_want_move_iterator_concept)
1477# define __cpp_lib_move_iterator_concept 202207L
1478# endif
1479# endif
1480#endif /* !defined(__cpp_lib_move_iterator_concept) && defined(__glibcxx_want_move_iterator_concept) */
1481#undef __glibcxx_want_move_iterator_concept
1482
1483#if !defined(__cpp_lib_semaphore)
1484# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED && (__glibcxx_atomic_wait || _GLIBCXX_HAVE_POSIX_SEMAPHORE)
1485# define __glibcxx_semaphore 201907L
1486# if defined(__glibcxx_want_all) || defined(__glibcxx_want_semaphore)
1487# define __cpp_lib_semaphore 201907L
1488# endif
1489# endif
1490#endif /* !defined(__cpp_lib_semaphore) && defined(__glibcxx_want_semaphore) */
1491#undef __glibcxx_want_semaphore
1492
1493#if !defined(__cpp_lib_smart_ptr_for_overwrite)
1494# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1495# define __glibcxx_smart_ptr_for_overwrite 202002L
1496# if defined(__glibcxx_want_all) || defined(__glibcxx_want_smart_ptr_for_overwrite)
1497# define __cpp_lib_smart_ptr_for_overwrite 202002L
1498# endif
1499# endif
1500#endif /* !defined(__cpp_lib_smart_ptr_for_overwrite) && defined(__glibcxx_want_smart_ptr_for_overwrite) */
1501#undef __glibcxx_want_smart_ptr_for_overwrite
1502
1503#if !defined(__cpp_lib_syncbuf)
1504# if (__cplusplus >= 202002L) && _GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED
1505# define __glibcxx_syncbuf 201803L
1506# if defined(__glibcxx_want_all) || defined(__glibcxx_want_syncbuf)
1507# define __cpp_lib_syncbuf 201803L
1508# endif
1509# endif
1510#endif /* !defined(__cpp_lib_syncbuf) && defined(__glibcxx_want_syncbuf) */
1511#undef __glibcxx_want_syncbuf
1512
1513#if !defined(__cpp_lib_byteswap)
1514# if (__cplusplus >= 202100L)
1515# define __glibcxx_byteswap 202110L
1516# if defined(__glibcxx_want_all) || defined(__glibcxx_want_byteswap)
1517# define __cpp_lib_byteswap 202110L
1518# endif
1519# endif
1520#endif /* !defined(__cpp_lib_byteswap) && defined(__glibcxx_want_byteswap) */
1521#undef __glibcxx_want_byteswap
1522
1523#if !defined(__cpp_lib_constexpr_charconv)
1524# if (__cplusplus >= 202100L)
1525# define __glibcxx_constexpr_charconv 202207L
1526# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_charconv)
1527# define __cpp_lib_constexpr_charconv 202207L
1528# endif
1529# endif
1530#endif /* !defined(__cpp_lib_constexpr_charconv) && defined(__glibcxx_want_constexpr_charconv) */
1531#undef __glibcxx_want_constexpr_charconv
1532
1533#if !defined(__cpp_lib_constexpr_typeinfo)
1534# if (__cplusplus >= 202100L)
1535# define __glibcxx_constexpr_typeinfo 202106L
1536# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_typeinfo)
1537# define __cpp_lib_constexpr_typeinfo 202106L
1538# endif
1539# endif
1540#endif /* !defined(__cpp_lib_constexpr_typeinfo) && defined(__glibcxx_want_constexpr_typeinfo) */
1541#undef __glibcxx_want_constexpr_typeinfo
1542
1543#if !defined(__cpp_lib_expected)
1544# if (__cplusplus >= 202100L) && (__cpp_concepts >= 202002L)
1545# define __glibcxx_expected 202211L
1546# if defined(__glibcxx_want_all) || defined(__glibcxx_want_expected)
1547# define __cpp_lib_expected 202211L
1548# endif
1549# endif
1550#endif /* !defined(__cpp_lib_expected) && defined(__glibcxx_want_expected) */
1551#undef __glibcxx_want_expected
1552
1553#if !defined(__cpp_lib_freestanding_algorithm)
1554# if (__cplusplus >= 202100L)
1555# define __glibcxx_freestanding_algorithm 202311L
1556# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_algorithm)
1557# define __cpp_lib_freestanding_algorithm 202311L
1558# endif
1559# endif
1560#endif /* !defined(__cpp_lib_freestanding_algorithm) && defined(__glibcxx_want_freestanding_algorithm) */
1561#undef __glibcxx_want_freestanding_algorithm
1562
1563#if !defined(__cpp_lib_freestanding_array)
1564# if (__cplusplus >= 202100L)
1565# define __glibcxx_freestanding_array 202311L
1566# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_array)
1567# define __cpp_lib_freestanding_array 202311L
1568# endif
1569# endif
1570#endif /* !defined(__cpp_lib_freestanding_array) && defined(__glibcxx_want_freestanding_array) */
1571#undef __glibcxx_want_freestanding_array
1572
1573#if !defined(__cpp_lib_freestanding_cstring)
1574# if (__cplusplus >= 202100L)
1575# define __glibcxx_freestanding_cstring 202311L
1576# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_cstring)
1577# define __cpp_lib_freestanding_cstring 202311L
1578# endif
1579# endif
1580#endif /* !defined(__cpp_lib_freestanding_cstring) && defined(__glibcxx_want_freestanding_cstring) */
1581#undef __glibcxx_want_freestanding_cstring
1582
1583#if !defined(__cpp_lib_freestanding_expected)
1584# if (__cplusplus >= 202100L) && (__cpp_lib_expected)
1585# define __glibcxx_freestanding_expected 202311L
1586# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_expected)
1587# define __cpp_lib_freestanding_expected 202311L
1588# endif
1589# endif
1590#endif /* !defined(__cpp_lib_freestanding_expected) && defined(__glibcxx_want_freestanding_expected) */
1591#undef __glibcxx_want_freestanding_expected
1592
1593#if !defined(__cpp_lib_freestanding_optional)
1594# if (__cplusplus >= 202100L)
1595# define __glibcxx_freestanding_optional 202311L
1596# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_optional)
1597# define __cpp_lib_freestanding_optional 202311L
1598# endif
1599# endif
1600#endif /* !defined(__cpp_lib_freestanding_optional) && defined(__glibcxx_want_freestanding_optional) */
1601#undef __glibcxx_want_freestanding_optional
1602
1603#if !defined(__cpp_lib_freestanding_string_view)
1604# if (__cplusplus >= 202100L)
1605# define __glibcxx_freestanding_string_view 202311L
1606# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_string_view)
1607# define __cpp_lib_freestanding_string_view 202311L
1608# endif
1609# endif
1610#endif /* !defined(__cpp_lib_freestanding_string_view) && defined(__glibcxx_want_freestanding_string_view) */
1611#undef __glibcxx_want_freestanding_string_view
1612
1613#if !defined(__cpp_lib_freestanding_variant)
1614# if (__cplusplus >= 202100L)
1615# define __glibcxx_freestanding_variant 202311L
1616# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_variant)
1617# define __cpp_lib_freestanding_variant 202311L
1618# endif
1619# endif
1620#endif /* !defined(__cpp_lib_freestanding_variant) && defined(__glibcxx_want_freestanding_variant) */
1621#undef __glibcxx_want_freestanding_variant
1622
1623#if !defined(__cpp_lib_invoke_r)
1624# if (__cplusplus >= 202100L)
1625# define __glibcxx_invoke_r 202106L
1626# if defined(__glibcxx_want_all) || defined(__glibcxx_want_invoke_r)
1627# define __cpp_lib_invoke_r 202106L
1628# endif
1629# endif
1630#endif /* !defined(__cpp_lib_invoke_r) && defined(__glibcxx_want_invoke_r) */
1631#undef __glibcxx_want_invoke_r
1632
1633#if !defined(__cpp_lib_is_scoped_enum)
1634# if (__cplusplus >= 202100L)
1635# define __glibcxx_is_scoped_enum 202011L
1636# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_scoped_enum)
1637# define __cpp_lib_is_scoped_enum 202011L
1638# endif
1639# endif
1640#endif /* !defined(__cpp_lib_is_scoped_enum) && defined(__glibcxx_want_is_scoped_enum) */
1641#undef __glibcxx_want_is_scoped_enum
1642
1643#if !defined(__cpp_lib_reference_from_temporary)
1644# if (__cplusplus >= 202100L) && (__has_builtin(__reference_constructs_from_temporary) && __has_builtin(__reference_converts_from_temporary))
1645# define __glibcxx_reference_from_temporary 202202L
1646# if defined(__glibcxx_want_all) || defined(__glibcxx_want_reference_from_temporary)
1647# define __cpp_lib_reference_from_temporary 202202L
1648# endif
1649# endif
1650#endif /* !defined(__cpp_lib_reference_from_temporary) && defined(__glibcxx_want_reference_from_temporary) */
1651#undef __glibcxx_want_reference_from_temporary
1652
1653#if !defined(__cpp_lib_ranges_to_container)
1654# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
1655# define __glibcxx_ranges_to_container 202202L
1656# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_to_container)
1657# define __cpp_lib_ranges_to_container 202202L
1658# endif
1659# endif
1660#endif /* !defined(__cpp_lib_ranges_to_container) && defined(__glibcxx_want_ranges_to_container) */
1661#undef __glibcxx_want_ranges_to_container
1662
1663#if !defined(__cpp_lib_ranges_zip)
1664# if (__cplusplus >= 202100L)
1665# define __glibcxx_ranges_zip 202110L
1666# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_zip)
1667# define __cpp_lib_ranges_zip 202110L
1668# endif
1669# endif
1670#endif /* !defined(__cpp_lib_ranges_zip) && defined(__glibcxx_want_ranges_zip) */
1671#undef __glibcxx_want_ranges_zip
1672
1673#if !defined(__cpp_lib_ranges_chunk)
1674# if (__cplusplus >= 202100L)
1675# define __glibcxx_ranges_chunk 202202L
1676# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_chunk)
1677# define __cpp_lib_ranges_chunk 202202L
1678# endif
1679# endif
1680#endif /* !defined(__cpp_lib_ranges_chunk) && defined(__glibcxx_want_ranges_chunk) */
1681#undef __glibcxx_want_ranges_chunk
1682
1683#if !defined(__cpp_lib_ranges_slide)
1684# if (__cplusplus >= 202100L)
1685# define __glibcxx_ranges_slide 202202L
1686# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_slide)
1687# define __cpp_lib_ranges_slide 202202L
1688# endif
1689# endif
1690#endif /* !defined(__cpp_lib_ranges_slide) && defined(__glibcxx_want_ranges_slide) */
1691#undef __glibcxx_want_ranges_slide
1692
1693#if !defined(__cpp_lib_ranges_chunk_by)
1694# if (__cplusplus >= 202100L)
1695# define __glibcxx_ranges_chunk_by 202202L
1696# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_chunk_by)
1697# define __cpp_lib_ranges_chunk_by 202202L
1698# endif
1699# endif
1700#endif /* !defined(__cpp_lib_ranges_chunk_by) && defined(__glibcxx_want_ranges_chunk_by) */
1701#undef __glibcxx_want_ranges_chunk_by
1702
1703#if !defined(__cpp_lib_ranges_join_with)
1704# if (__cplusplus >= 202100L)
1705# define __glibcxx_ranges_join_with 202202L
1706# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_join_with)
1707# define __cpp_lib_ranges_join_with 202202L
1708# endif
1709# endif
1710#endif /* !defined(__cpp_lib_ranges_join_with) && defined(__glibcxx_want_ranges_join_with) */
1711#undef __glibcxx_want_ranges_join_with
1712
1713#if !defined(__cpp_lib_ranges_repeat)
1714# if (__cplusplus >= 202100L)
1715# define __glibcxx_ranges_repeat 202207L
1716# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_repeat)
1717# define __cpp_lib_ranges_repeat 202207L
1718# endif
1719# endif
1720#endif /* !defined(__cpp_lib_ranges_repeat) && defined(__glibcxx_want_ranges_repeat) */
1721#undef __glibcxx_want_ranges_repeat
1722
1723#if !defined(__cpp_lib_ranges_stride)
1724# if (__cplusplus >= 202100L)
1725# define __glibcxx_ranges_stride 202207L
1726# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_stride)
1727# define __cpp_lib_ranges_stride 202207L
1728# endif
1729# endif
1730#endif /* !defined(__cpp_lib_ranges_stride) && defined(__glibcxx_want_ranges_stride) */
1731#undef __glibcxx_want_ranges_stride
1732
1733#if !defined(__cpp_lib_ranges_cartesian_product)
1734# if (__cplusplus >= 202100L)
1735# define __glibcxx_ranges_cartesian_product 202207L
1736# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_cartesian_product)
1737# define __cpp_lib_ranges_cartesian_product 202207L
1738# endif
1739# endif
1740#endif /* !defined(__cpp_lib_ranges_cartesian_product) && defined(__glibcxx_want_ranges_cartesian_product) */
1741#undef __glibcxx_want_ranges_cartesian_product
1742
1743#if !defined(__cpp_lib_ranges_as_rvalue)
1744# if (__cplusplus >= 202100L)
1745# define __glibcxx_ranges_as_rvalue 202207L
1746# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_as_rvalue)
1747# define __cpp_lib_ranges_as_rvalue 202207L
1748# endif
1749# endif
1750#endif /* !defined(__cpp_lib_ranges_as_rvalue) && defined(__glibcxx_want_ranges_as_rvalue) */
1751#undef __glibcxx_want_ranges_as_rvalue
1752
1753#if !defined(__cpp_lib_ranges_as_const)
1754# if (__cplusplus >= 202100L)
1755# define __glibcxx_ranges_as_const 202311L
1756# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_as_const)
1757# define __cpp_lib_ranges_as_const 202311L
1758# endif
1759# endif
1760#endif /* !defined(__cpp_lib_ranges_as_const) && defined(__glibcxx_want_ranges_as_const) */
1761#undef __glibcxx_want_ranges_as_const
1762
1763#if !defined(__cpp_lib_ranges_enumerate)
1764# if (__cplusplus >= 202100L)
1765# define __glibcxx_ranges_enumerate 202302L
1766# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_enumerate)
1767# define __cpp_lib_ranges_enumerate 202302L
1768# endif
1769# endif
1770#endif /* !defined(__cpp_lib_ranges_enumerate) && defined(__glibcxx_want_ranges_enumerate) */
1771#undef __glibcxx_want_ranges_enumerate
1772
1773#if !defined(__cpp_lib_ranges_fold)
1774# if (__cplusplus >= 202100L)
1775# define __glibcxx_ranges_fold 202207L
1776# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_fold)
1777# define __cpp_lib_ranges_fold 202207L
1778# endif
1779# endif
1780#endif /* !defined(__cpp_lib_ranges_fold) && defined(__glibcxx_want_ranges_fold) */
1781#undef __glibcxx_want_ranges_fold
1782
1783#if !defined(__cpp_lib_ranges_contains)
1784# if (__cplusplus >= 202100L)
1785# define __glibcxx_ranges_contains 202207L
1786# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_contains)
1787# define __cpp_lib_ranges_contains 202207L
1788# endif
1789# endif
1790#endif /* !defined(__cpp_lib_ranges_contains) && defined(__glibcxx_want_ranges_contains) */
1791#undef __glibcxx_want_ranges_contains
1792
1793#if !defined(__cpp_lib_ranges_iota)
1794# if (__cplusplus >= 202100L)
1795# define __glibcxx_ranges_iota 202202L
1796# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_iota)
1797# define __cpp_lib_ranges_iota 202202L
1798# endif
1799# endif
1800#endif /* !defined(__cpp_lib_ranges_iota) && defined(__glibcxx_want_ranges_iota) */
1801#undef __glibcxx_want_ranges_iota
1802
1803#if !defined(__cpp_lib_ranges_find_last)
1804# if (__cplusplus >= 202100L)
1805# define __glibcxx_ranges_find_last 202207L
1806# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_find_last)
1807# define __cpp_lib_ranges_find_last 202207L
1808# endif
1809# endif
1810#endif /* !defined(__cpp_lib_ranges_find_last) && defined(__glibcxx_want_ranges_find_last) */
1811#undef __glibcxx_want_ranges_find_last
1812
1813#if !defined(__cpp_lib_constexpr_bitset)
1814# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED && (__cpp_constexpr_dynamic_alloc)
1815# define __glibcxx_constexpr_bitset 202202L
1816# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_bitset)
1817# define __cpp_lib_constexpr_bitset 202202L
1818# endif
1819# endif
1820#endif /* !defined(__cpp_lib_constexpr_bitset) && defined(__glibcxx_want_constexpr_bitset) */
1821#undef __glibcxx_want_constexpr_bitset
1822
1823#if !defined(__cpp_lib_stdatomic_h)
1824# if (__cplusplus >= 202100L)
1825# define __glibcxx_stdatomic_h 202011L
1826# if defined(__glibcxx_want_all) || defined(__glibcxx_want_stdatomic_h)
1827# define __cpp_lib_stdatomic_h 202011L
1828# endif
1829# endif
1830#endif /* !defined(__cpp_lib_stdatomic_h) && defined(__glibcxx_want_stdatomic_h) */
1831#undef __glibcxx_want_stdatomic_h
1832
1833#if !defined(__cpp_lib_adaptor_iterator_pair_constructor)
1834# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
1835# define __glibcxx_adaptor_iterator_pair_constructor 202106L
1836# if defined(__glibcxx_want_all) || defined(__glibcxx_want_adaptor_iterator_pair_constructor)
1837# define __cpp_lib_adaptor_iterator_pair_constructor 202106L
1838# endif
1839# endif
1840#endif /* !defined(__cpp_lib_adaptor_iterator_pair_constructor) && defined(__glibcxx_want_adaptor_iterator_pair_constructor) */
1841#undef __glibcxx_want_adaptor_iterator_pair_constructor
1842
1843#if !defined(__cpp_lib_flat_map)
1844# if (__cplusplus >= 202100L)
1845# define __glibcxx_flat_map 202207L
1846# if defined(__glibcxx_want_all) || defined(__glibcxx_want_flat_map)
1847# define __cpp_lib_flat_map 202207L
1848# endif
1849# endif
1850#endif /* !defined(__cpp_lib_flat_map) && defined(__glibcxx_want_flat_map) */
1851#undef __glibcxx_want_flat_map
1852
1853#if !defined(__cpp_lib_flat_set)
1854# if (__cplusplus >= 202100L)
1855# define __glibcxx_flat_set 202207L
1856# if defined(__glibcxx_want_all) || defined(__glibcxx_want_flat_set)
1857# define __cpp_lib_flat_set 202207L
1858# endif
1859# endif
1860#endif /* !defined(__cpp_lib_flat_set) && defined(__glibcxx_want_flat_set) */
1861#undef __glibcxx_want_flat_set
1862
1863#if !defined(__cpp_lib_formatters)
1864# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
1865# define __glibcxx_formatters 202302L
1866# if defined(__glibcxx_want_all) || defined(__glibcxx_want_formatters)
1867# define __cpp_lib_formatters 202302L
1868# endif
1869# endif
1870#endif /* !defined(__cpp_lib_formatters) && defined(__glibcxx_want_formatters) */
1871#undef __glibcxx_want_formatters
1872
1873#if !defined(__cpp_lib_forward_like)
1874# if (__cplusplus >= 202100L)
1875# define __glibcxx_forward_like 202207L
1876# if defined(__glibcxx_want_all) || defined(__glibcxx_want_forward_like)
1877# define __cpp_lib_forward_like 202207L
1878# endif
1879# endif
1880#endif /* !defined(__cpp_lib_forward_like) && defined(__glibcxx_want_forward_like) */
1881#undef __glibcxx_want_forward_like
1882
1883#if !defined(__cpp_lib_generator)
1884# if (__cplusplus >= 202100L) && (__glibcxx_coroutine && __cpp_sized_deallocation)
1885# define __glibcxx_generator 202207L
1886# if defined(__glibcxx_want_all) || defined(__glibcxx_want_generator)
1887# define __cpp_lib_generator 202207L
1888# endif
1889# endif
1890#endif /* !defined(__cpp_lib_generator) && defined(__glibcxx_want_generator) */
1891#undef __glibcxx_want_generator
1892
1893#if !defined(__cpp_lib_ios_noreplace)
1894# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
1895# define __glibcxx_ios_noreplace 202207L
1896# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ios_noreplace)
1897# define __cpp_lib_ios_noreplace 202207L
1898# endif
1899# endif
1900#endif /* !defined(__cpp_lib_ios_noreplace) && defined(__glibcxx_want_ios_noreplace) */
1901#undef __glibcxx_want_ios_noreplace
1902
1903#if !defined(__cpp_lib_move_only_function)
1904# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
1905# define __glibcxx_move_only_function 202110L
1906# if defined(__glibcxx_want_all) || defined(__glibcxx_want_move_only_function)
1907# define __cpp_lib_move_only_function 202110L
1908# endif
1909# endif
1910#endif /* !defined(__cpp_lib_move_only_function) && defined(__glibcxx_want_move_only_function) */
1911#undef __glibcxx_want_move_only_function
1912
1913#if !defined(__cpp_lib_out_ptr)
1914# if (__cplusplus >= 202100L)
1915# define __glibcxx_out_ptr 202311L
1916# if defined(__glibcxx_want_all) || defined(__glibcxx_want_out_ptr)
1917# define __cpp_lib_out_ptr 202311L
1918# endif
1919# endif
1920#endif /* !defined(__cpp_lib_out_ptr) && defined(__glibcxx_want_out_ptr) */
1921#undef __glibcxx_want_out_ptr
1922
1923#if !defined(__cpp_lib_print)
1924# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
1925# define __glibcxx_print 202211L
1926# if defined(__glibcxx_want_all) || defined(__glibcxx_want_print)
1927# define __cpp_lib_print 202211L
1928# endif
1929# endif
1930#endif /* !defined(__cpp_lib_print) && defined(__glibcxx_want_print) */
1931#undef __glibcxx_want_print
1932
1933#if !defined(__cpp_lib_spanstream)
1934# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED && (__glibcxx_span)
1935# define __glibcxx_spanstream 202106L
1936# if defined(__glibcxx_want_all) || defined(__glibcxx_want_spanstream)
1937# define __cpp_lib_spanstream 202106L
1938# endif
1939# endif
1940#endif /* !defined(__cpp_lib_spanstream) && defined(__glibcxx_want_spanstream) */
1941#undef __glibcxx_want_spanstream
1942
1943#if !defined(__cpp_lib_stacktrace)
1944# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED && (_GLIBCXX_HAVE_STACKTRACE)
1945# define __glibcxx_stacktrace 202011L
1946# if defined(__glibcxx_want_all) || defined(__glibcxx_want_stacktrace)
1947# define __cpp_lib_stacktrace 202011L
1948# endif
1949# endif
1950#endif /* !defined(__cpp_lib_stacktrace) && defined(__glibcxx_want_stacktrace) */
1951#undef __glibcxx_want_stacktrace
1952
1953#if !defined(__cpp_lib_string_contains)
1954# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
1955# define __glibcxx_string_contains 202011L
1956# if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_contains)
1957# define __cpp_lib_string_contains 202011L
1958# endif
1959# endif
1960#endif /* !defined(__cpp_lib_string_contains) && defined(__glibcxx_want_string_contains) */
1961#undef __glibcxx_want_string_contains
1962
1963#if !defined(__cpp_lib_string_resize_and_overwrite)
1964# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
1965# define __glibcxx_string_resize_and_overwrite 202110L
1966# if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_resize_and_overwrite)
1967# define __cpp_lib_string_resize_and_overwrite 202110L
1968# endif
1969# endif
1970#endif /* !defined(__cpp_lib_string_resize_and_overwrite) && defined(__glibcxx_want_string_resize_and_overwrite) */
1971#undef __glibcxx_want_string_resize_and_overwrite
1972
1973#if !defined(__cpp_lib_to_underlying)
1974# if (__cplusplus >= 202100L)
1975# define __glibcxx_to_underlying 202102L
1976# if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_underlying)
1977# define __cpp_lib_to_underlying 202102L
1978# endif
1979# endif
1980#endif /* !defined(__cpp_lib_to_underlying) && defined(__glibcxx_want_to_underlying) */
1981#undef __glibcxx_want_to_underlying
1982
1983#if !defined(__cpp_lib_tuple_like)
1984# if (__cplusplus >= 202100L)
1985# define __glibcxx_tuple_like 202207L
1986# if defined(__glibcxx_want_all) || defined(__glibcxx_want_tuple_like)
1987# define __cpp_lib_tuple_like 202207L
1988# endif
1989# endif
1990#endif /* !defined(__cpp_lib_tuple_like) && defined(__glibcxx_want_tuple_like) */
1991#undef __glibcxx_want_tuple_like
1992
1993#if !defined(__cpp_lib_unreachable)
1994# if (__cplusplus >= 202100L)
1995# define __glibcxx_unreachable 202202L
1996# if defined(__glibcxx_want_all) || defined(__glibcxx_want_unreachable)
1997# define __cpp_lib_unreachable 202202L
1998# endif
1999# endif
2000#endif /* !defined(__cpp_lib_unreachable) && defined(__glibcxx_want_unreachable) */
2001#undef __glibcxx_want_unreachable
2002
2003#if !defined(__cpp_lib_algorithm_default_value_type)
2004# if (__cplusplus > 202302L)
2005# define __glibcxx_algorithm_default_value_type 202403L
2006# if defined(__glibcxx_want_all) || defined(__glibcxx_want_algorithm_default_value_type)
2007# define __cpp_lib_algorithm_default_value_type 202403L
2008# endif
2009# endif
2010#endif /* !defined(__cpp_lib_algorithm_default_value_type) && defined(__glibcxx_want_algorithm_default_value_type) */
2011#undef __glibcxx_want_algorithm_default_value_type
2012
2013#if !defined(__cpp_lib_constexpr_new)
2014# if (__cplusplus > 202302L) && (__cpp_constexpr >= 202406L)
2015# define __glibcxx_constexpr_new 202406L
2016# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_new)
2017# define __cpp_lib_constexpr_new 202406L
2018# endif
2019# endif
2020#endif /* !defined(__cpp_lib_constexpr_new) && defined(__glibcxx_want_constexpr_new) */
2021#undef __glibcxx_want_constexpr_new
2022
2023#if !defined(__cpp_lib_fstream_native_handle)
2024# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2025# define __glibcxx_fstream_native_handle 202306L
2026# if defined(__glibcxx_want_all) || defined(__glibcxx_want_fstream_native_handle)
2027# define __cpp_lib_fstream_native_handle 202306L
2028# endif
2029# endif
2030#endif /* !defined(__cpp_lib_fstream_native_handle) && defined(__glibcxx_want_fstream_native_handle) */
2031#undef __glibcxx_want_fstream_native_handle
2032
2033#if !defined(__cpp_lib_is_virtual_base_of)
2034# if (__cplusplus > 202302L) && (__has_builtin(__builtin_is_virtual_base_of))
2035# define __glibcxx_is_virtual_base_of 202406L
2036# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_virtual_base_of)
2037# define __cpp_lib_is_virtual_base_of 202406L
2038# endif
2039# endif
2040#endif /* !defined(__cpp_lib_is_virtual_base_of) && defined(__glibcxx_want_is_virtual_base_of) */
2041#undef __glibcxx_want_is_virtual_base_of
2042
2043#if !defined(__cpp_lib_ranges_concat)
2044# if (__cplusplus > 202302L) && (__cpp_pack_indexing)
2045# define __glibcxx_ranges_concat 202403L
2046# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_concat)
2047# define __cpp_lib_ranges_concat 202403L
2048# endif
2049# endif
2050#endif /* !defined(__cpp_lib_ranges_concat) && defined(__glibcxx_want_ranges_concat) */
2051#undef __glibcxx_want_ranges_concat
2052
2053#if !defined(__cpp_lib_ratio)
2054# if (__cplusplus > 202302L)
2055# define __glibcxx_ratio 202306L
2056# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ratio)
2057# define __cpp_lib_ratio 202306L
2058# endif
2059# endif
2060#endif /* !defined(__cpp_lib_ratio) && defined(__glibcxx_want_ratio) */
2061#undef __glibcxx_want_ratio
2062
2063#if !defined(__cpp_lib_reference_wrapper)
2064# if (__cplusplus > 202302L)
2065# define __glibcxx_reference_wrapper 202403L
2066# if defined(__glibcxx_want_all) || defined(__glibcxx_want_reference_wrapper)
2067# define __cpp_lib_reference_wrapper 202403L
2068# endif
2069# endif
2070#endif /* !defined(__cpp_lib_reference_wrapper) && defined(__glibcxx_want_reference_wrapper) */
2071#undef __glibcxx_want_reference_wrapper
2072
2073#if !defined(__cpp_lib_saturation_arithmetic)
2074# if (__cplusplus > 202302L)
2075# define __glibcxx_saturation_arithmetic 202311L
2076# if defined(__glibcxx_want_all) || defined(__glibcxx_want_saturation_arithmetic)
2077# define __cpp_lib_saturation_arithmetic 202311L
2078# endif
2079# endif
2080#endif /* !defined(__cpp_lib_saturation_arithmetic) && defined(__glibcxx_want_saturation_arithmetic) */
2081#undef __glibcxx_want_saturation_arithmetic
2082
2083#if !defined(__cpp_lib_span_initializer_list)
2084# if (__cplusplus > 202302L)
2085# define __glibcxx_span_initializer_list 202311L
2086# if defined(__glibcxx_want_all) || defined(__glibcxx_want_span_initializer_list)
2087# define __cpp_lib_span_initializer_list 202311L
2088# endif
2089# endif
2090#endif /* !defined(__cpp_lib_span_initializer_list) && defined(__glibcxx_want_span_initializer_list) */
2091#undef __glibcxx_want_span_initializer_list
2092
2093#if !defined(__cpp_lib_text_encoding)
2094# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED && (_GLIBCXX_USE_NL_LANGINFO_L)
2095# define __glibcxx_text_encoding 202306L
2096# if defined(__glibcxx_want_all) || defined(__glibcxx_want_text_encoding)
2097# define __cpp_lib_text_encoding 202306L
2098# endif
2099# endif
2100#endif /* !defined(__cpp_lib_text_encoding) && defined(__glibcxx_want_text_encoding) */
2101#undef __glibcxx_want_text_encoding
2102
2103#if !defined(__cpp_lib_to_string)
2104# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED && (__glibcxx_to_chars)
2105# define __glibcxx_to_string 202306L
2106# if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_string)
2107# define __cpp_lib_to_string 202306L
2108# endif
2109# endif
2110#endif /* !defined(__cpp_lib_to_string) && defined(__glibcxx_want_to_string) */
2111#undef __glibcxx_want_to_string
2112
2113#if !defined(__cpp_lib_modules)
2114# if (__cplusplus >= 202002L) && (__cpp_modules)
2115# define __glibcxx_modules 202207L
2116# if defined(__glibcxx_want_all) || defined(__glibcxx_want_modules)
2117# define __cpp_lib_modules 202207L
2118# endif
2119# endif
2120#endif /* !defined(__cpp_lib_modules) && defined(__glibcxx_want_modules) */
2121#undef __glibcxx_want_modules
2122
2123#undef __glibcxx_want_all