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