Go to the documentation of this file.
48#pragma GCC system_header
53#if !defined(__cpp_lib_incomplete_container_elements)
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
61#undef __glibcxx_want_incomplete_container_elements
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
71#undef __glibcxx_want_uncaught_exceptions
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
81#undef __glibcxx_want_allocator_traits_is_always_equal
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
91#undef __glibcxx_want_is_null_pointer
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
101#undef __glibcxx_want_result_of_sfinae
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
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
116#undef __glibcxx_want_shared_ptr_arrays
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
126#undef __glibcxx_want_is_swappable
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
136#undef __glibcxx_want_void_t
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
146#undef __glibcxx_want_enable_shared_from_this
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
156#undef __glibcxx_want_math_spec_funcs
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
166#undef __glibcxx_want_coroutine
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
176#undef __glibcxx_want_exchange_function
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
186#undef __glibcxx_want_integer_sequence
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
196#undef __glibcxx_want_integral_constant_callable
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
206#undef __glibcxx_want_is_final
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
216#undef __glibcxx_want_make_reverse_iterator
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
226#undef __glibcxx_want_null_iterators
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
236#undef __glibcxx_want_transformation_trait_aliases
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
246#undef __glibcxx_want_transparent_operators
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
256#undef __glibcxx_want_tuple_element_t
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
266#undef __glibcxx_want_tuples_by_type
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
276#undef __glibcxx_want_robust_nonmodifying_seq_ops
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
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
291#undef __glibcxx_want_to_chars
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
301#undef __glibcxx_want_chrono_udls
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
311#undef __glibcxx_want_complex_udls
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
321#undef __glibcxx_want_generic_associative_lookup
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
331#undef __glibcxx_want_make_unique
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
341#undef __glibcxx_want_quoted_string_io
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
351#undef __glibcxx_want_shared_timed_mutex
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
361#undef __glibcxx_want_string_udls
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
371#undef __glibcxx_want_addressof_constexpr
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
381#undef __glibcxx_want_any
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
391#undef __glibcxx_want_apply
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
401#undef __glibcxx_want_as_const
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
411#undef __glibcxx_want_atomic_is_always_lock_free
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
421#undef __glibcxx_want_bool_constant
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
431#undef __glibcxx_want_byte
433#if !defined(__cpp_lib_constant_wrapper)
434# if (__cplusplus > 202302L)
435# define __glibcxx_constant_wrapper 202506L
436# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constant_wrapper)
437# define __cpp_lib_constant_wrapper 202506L
441#undef __glibcxx_want_constant_wrapper
443#if !defined(__cpp_lib_has_unique_object_representations)
444# if (__cplusplus >= 201703L) && (defined(_GLIBCXX_HAVE_BUILTIN_HAS_UNIQ_OBJ_REP))
445# define __glibcxx_has_unique_object_representations 201606L
446# if defined(__glibcxx_want_all) || defined(__glibcxx_want_has_unique_object_representations)
447# define __cpp_lib_has_unique_object_representations 201606L
451#undef __glibcxx_want_has_unique_object_representations
453#if !defined(__cpp_lib_hardware_interference_size)
454# if (__cplusplus >= 201703L) && (defined(__GCC_DESTRUCTIVE_SIZE))
455# define __glibcxx_hardware_interference_size 201703L
456# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardware_interference_size)
457# define __cpp_lib_hardware_interference_size 201703L
461#undef __glibcxx_want_hardware_interference_size
463#if !defined(__cpp_lib_invoke)
464# if (__cplusplus >= 201703L)
465# define __glibcxx_invoke 201411L
466# if defined(__glibcxx_want_all) || defined(__glibcxx_want_invoke)
467# define __cpp_lib_invoke 201411L
471#undef __glibcxx_want_invoke
473#if !defined(__cpp_lib_is_aggregate)
474# if (__cplusplus >= 201703L) && (defined(_GLIBCXX_HAVE_BUILTIN_IS_AGGREGATE))
475# define __glibcxx_is_aggregate 201703L
476# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_aggregate)
477# define __cpp_lib_is_aggregate 201703L
481#undef __glibcxx_want_is_aggregate
483#if !defined(__cpp_lib_is_invocable)
484# if (__cplusplus >= 201703L)
485# define __glibcxx_is_invocable 201703L
486# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_invocable)
487# define __cpp_lib_is_invocable 201703L
491#undef __glibcxx_want_is_invocable
493#if !defined(__cpp_lib_launder)
494# if (__cplusplus >= 201703L) && (defined(_GLIBCXX_HAVE_BUILTIN_LAUNDER))
495# define __glibcxx_launder 201606L
496# if defined(__glibcxx_want_all) || defined(__glibcxx_want_launder)
497# define __cpp_lib_launder 201606L
501#undef __glibcxx_want_launder
503#if !defined(__cpp_lib_logical_traits)
504# if (__cplusplus >= 201703L)
505# define __glibcxx_logical_traits 201510L
506# if defined(__glibcxx_want_all) || defined(__glibcxx_want_logical_traits)
507# define __cpp_lib_logical_traits 201510L
511#undef __glibcxx_want_logical_traits
513#if !defined(__cpp_lib_make_from_tuple)
514# if (__cplusplus >= 201703L)
515# define __glibcxx_make_from_tuple 201606L
516# if defined(__glibcxx_want_all) || defined(__glibcxx_want_make_from_tuple)
517# define __cpp_lib_make_from_tuple 201606L
521#undef __glibcxx_want_make_from_tuple
523#if !defined(__cpp_lib_not_fn)
524# if (__cplusplus > 202302L)
525# define __glibcxx_not_fn 202306L
526# if defined(__glibcxx_want_all) || defined(__glibcxx_want_not_fn)
527# define __cpp_lib_not_fn 202306L
529# elif (__cplusplus >= 201703L)
530# define __glibcxx_not_fn 201603L
531# if defined(__glibcxx_want_all) || defined(__glibcxx_want_not_fn)
532# define __cpp_lib_not_fn 201603L
536#undef __glibcxx_want_not_fn
538#if !defined(__cpp_lib_type_trait_variable_templates)
539# if (__cplusplus >= 201703L)
540# define __glibcxx_type_trait_variable_templates 201510L
541# if defined(__glibcxx_want_all) || defined(__glibcxx_want_type_trait_variable_templates)
542# define __cpp_lib_type_trait_variable_templates 201510L
546#undef __glibcxx_want_type_trait_variable_templates
548#if !defined(__cpp_lib_variant)
549# if (__cplusplus > 202302L) && (__cpp_concepts >= 202002L && __cpp_constexpr >= 201811L && __cpp_explicit_this_parameter)
550# define __glibcxx_variant 202306L
551# if defined(__glibcxx_want_all) || defined(__glibcxx_want_variant)
552# define __cpp_lib_variant 202306L
554# elif (__cplusplus >= 202002L) && (__cpp_concepts >= 202002L && __cpp_constexpr >= 201811L)
555# define __glibcxx_variant 202106L
556# if defined(__glibcxx_want_all) || defined(__glibcxx_want_variant)
557# define __cpp_lib_variant 202106L
559# elif (__cplusplus >= 201703L)
560# define __glibcxx_variant 202102L
561# if defined(__glibcxx_want_all) || defined(__glibcxx_want_variant)
562# define __cpp_lib_variant 202102L
566#undef __glibcxx_want_variant
568#if !defined(__cpp_lib_lcm)
569# if (__cplusplus >= 201703L)
570# define __glibcxx_lcm 201606L
571# if defined(__glibcxx_want_all) || defined(__glibcxx_want_lcm)
572# define __cpp_lib_lcm 201606L
576#undef __glibcxx_want_lcm
578#if !defined(__cpp_lib_gcd)
579# if (__cplusplus >= 201703L)
580# define __glibcxx_gcd 201606L
581# if defined(__glibcxx_want_all) || defined(__glibcxx_want_gcd)
582# define __cpp_lib_gcd 201606L
586#undef __glibcxx_want_gcd
588#if !defined(__cpp_lib_gcd_lcm)
589# if (__cplusplus >= 201703L)
590# define __glibcxx_gcd_lcm 201606L
591# if defined(__glibcxx_want_all) || defined(__glibcxx_want_gcd_lcm)
592# define __cpp_lib_gcd_lcm 201606L
596#undef __glibcxx_want_gcd_lcm
598#if !defined(__cpp_lib_raw_memory_algorithms)
599# if (__cplusplus > 202302L) && (__cpp_constexpr >= 202406L)
600# define __glibcxx_raw_memory_algorithms 202411L
601# if defined(__glibcxx_want_all) || defined(__glibcxx_want_raw_memory_algorithms)
602# define __cpp_lib_raw_memory_algorithms 202411L
604# elif (__cplusplus >= 201703L)
605# define __glibcxx_raw_memory_algorithms 201606L
606# if defined(__glibcxx_want_all) || defined(__glibcxx_want_raw_memory_algorithms)
607# define __cpp_lib_raw_memory_algorithms 201606L
611#undef __glibcxx_want_raw_memory_algorithms
613#if !defined(__cpp_lib_array_constexpr)
614# if (__cplusplus >= 202002L)
615# define __glibcxx_array_constexpr 201811L
616# if defined(__glibcxx_want_all) || defined(__glibcxx_want_array_constexpr)
617# define __cpp_lib_array_constexpr 201811L
619# elif (__cplusplus >= 201703L)
620# define __glibcxx_array_constexpr 201803L
621# if defined(__glibcxx_want_all) || defined(__glibcxx_want_array_constexpr)
622# define __cpp_lib_array_constexpr 201803L
626#undef __glibcxx_want_array_constexpr
628#if !defined(__cpp_lib_nonmember_container_access)
629# if (__cplusplus >= 201703L)
630# define __glibcxx_nonmember_container_access 201411L
631# if defined(__glibcxx_want_all) || defined(__glibcxx_want_nonmember_container_access)
632# define __cpp_lib_nonmember_container_access 201411L
636#undef __glibcxx_want_nonmember_container_access
638#if !defined(__cpp_lib_clamp)
639# if (__cplusplus >= 201703L)
640# define __glibcxx_clamp 201603L
641# if defined(__glibcxx_want_all) || defined(__glibcxx_want_clamp)
642# define __cpp_lib_clamp 201603L
646#undef __glibcxx_want_clamp
648#if !defined(__cpp_lib_sample)
649# if (__cplusplus >= 201703L)
650# define __glibcxx_sample 201603L
651# if defined(__glibcxx_want_all) || defined(__glibcxx_want_sample)
652# define __cpp_lib_sample 201603L
656#undef __glibcxx_want_sample
658#if !defined(__cpp_lib_boyer_moore_searcher)
659# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
660# define __glibcxx_boyer_moore_searcher 201603L
661# if defined(__glibcxx_want_all) || defined(__glibcxx_want_boyer_moore_searcher)
662# define __cpp_lib_boyer_moore_searcher 201603L
666#undef __glibcxx_want_boyer_moore_searcher
668#if !defined(__cpp_lib_chrono)
669# if (__cplusplus >= 202002L) && _GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED
670# define __glibcxx_chrono 201907L
671# if defined(__glibcxx_want_all) || defined(__glibcxx_want_chrono)
672# define __cpp_lib_chrono 201907L
674# elif (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
675# define __glibcxx_chrono 201611L
676# if defined(__glibcxx_want_all) || defined(__glibcxx_want_chrono)
677# define __cpp_lib_chrono 201611L
681#undef __glibcxx_want_chrono
683#if !defined(__cpp_lib_chrono_cxx20)
684# if (__cplusplus >= 202002L)
685# define __glibcxx_chrono_cxx20 201800L
686# if defined(__glibcxx_want_all) || defined(__glibcxx_want_chrono_cxx20)
690#undef __glibcxx_want_chrono_cxx20
692#if !defined(__cpp_lib_execution)
693# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
694# define __glibcxx_execution 201902L
695# if defined(__glibcxx_want_all) || defined(__glibcxx_want_execution)
696# define __cpp_lib_execution 201902L
700#undef __glibcxx_want_execution
702#if !defined(__cpp_lib_filesystem)
703# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
704# define __glibcxx_filesystem 201703L
705# if defined(__glibcxx_want_all) || defined(__glibcxx_want_filesystem)
706# define __cpp_lib_filesystem 201703L
710#undef __glibcxx_want_filesystem
712#if !defined(__cpp_lib_hypot)
713# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
714# define __glibcxx_hypot 201603L
715# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hypot)
716# define __cpp_lib_hypot 201603L
720#undef __glibcxx_want_hypot
722#if !defined(__cpp_lib_map_try_emplace)
723# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
724# define __glibcxx_map_try_emplace 201411L
725# if defined(__glibcxx_want_all) || defined(__glibcxx_want_map_try_emplace)
726# define __cpp_lib_map_try_emplace 201411L
730#undef __glibcxx_want_map_try_emplace
732#if !defined(__cpp_lib_math_special_functions)
733# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
734# define __glibcxx_math_special_functions 201603L
735# if defined(__glibcxx_want_all) || defined(__glibcxx_want_math_special_functions)
736# define __cpp_lib_math_special_functions 201603L
740#undef __glibcxx_want_math_special_functions
742#if !defined(__cpp_lib_memory_resource)
743# if (__cplusplus >= 201703L) && defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED
744# define __glibcxx_memory_resource 201603L
745# if defined(__glibcxx_want_all) || defined(__glibcxx_want_memory_resource)
746# define __cpp_lib_memory_resource 201603L
748# elif (__cplusplus >= 201703L) && !defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED
749# define __glibcxx_memory_resource 1L
750# if defined(__glibcxx_want_all) || defined(__glibcxx_want_memory_resource)
751# define __cpp_lib_memory_resource 1L
755#undef __glibcxx_want_memory_resource
757#if !defined(__cpp_lib_node_extract)
758# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
759# define __glibcxx_node_extract 201606L
760# if defined(__glibcxx_want_all) || defined(__glibcxx_want_node_extract)
761# define __cpp_lib_node_extract 201606L
765#undef __glibcxx_want_node_extract
767#if !defined(__cpp_lib_parallel_algorithm)
768# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
769# define __glibcxx_parallel_algorithm 201603L
770# if defined(__glibcxx_want_all) || defined(__glibcxx_want_parallel_algorithm)
771# define __cpp_lib_parallel_algorithm 201603L
775#undef __glibcxx_want_parallel_algorithm
777#if !defined(__cpp_lib_scoped_lock)
778# if (__cplusplus >= 201703L)
779# define __glibcxx_scoped_lock 201703L
780# if defined(__glibcxx_want_all) || defined(__glibcxx_want_scoped_lock)
781# define __cpp_lib_scoped_lock 201703L
785#undef __glibcxx_want_scoped_lock
787#if !defined(__cpp_lib_shared_mutex)
788# if (__cplusplus >= 201703L) && defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED
789# define __glibcxx_shared_mutex 201505L
790# if defined(__glibcxx_want_all) || defined(__glibcxx_want_shared_mutex)
791# define __cpp_lib_shared_mutex 201505L
795#undef __glibcxx_want_shared_mutex
797#if !defined(__cpp_lib_shared_ptr_weak_type)
798# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
799# define __glibcxx_shared_ptr_weak_type 201606L
800# if defined(__glibcxx_want_all) || defined(__glibcxx_want_shared_ptr_weak_type)
801# define __cpp_lib_shared_ptr_weak_type 201606L
805#undef __glibcxx_want_shared_ptr_weak_type
807#if !defined(__cpp_lib_string_view)
808# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
809# define __glibcxx_string_view 202403L
810# if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_view)
811# define __cpp_lib_string_view 202403L
813# elif (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
814# define __glibcxx_string_view 201803L
815# if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_view)
816# define __cpp_lib_string_view 201803L
820#undef __glibcxx_want_string_view
822#if !defined(__cpp_lib_unordered_map_try_emplace)
823# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
824# define __glibcxx_unordered_map_try_emplace 201411L
825# if defined(__glibcxx_want_all) || defined(__glibcxx_want_unordered_map_try_emplace)
826# define __cpp_lib_unordered_map_try_emplace 201411L
830#undef __glibcxx_want_unordered_map_try_emplace
832#if !defined(__cpp_lib_assume_aligned)
833# if (__cplusplus >= 202002L)
834# define __glibcxx_assume_aligned 201811L
835# if defined(__glibcxx_want_all) || defined(__glibcxx_want_assume_aligned)
836# define __cpp_lib_assume_aligned 201811L
840#undef __glibcxx_want_assume_aligned
842#if !defined(__cpp_lib_is_sufficiently_aligned)
843# if (__cplusplus > 202302L)
844# define __glibcxx_is_sufficiently_aligned 202411L
845# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_sufficiently_aligned)
846# define __cpp_lib_is_sufficiently_aligned 202411L
850#undef __glibcxx_want_is_sufficiently_aligned
852#if !defined(__cpp_lib_atomic_flag_test)
853# if (__cplusplus >= 202002L)
854# define __glibcxx_atomic_flag_test 201907L
855# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_flag_test)
856# define __cpp_lib_atomic_flag_test 201907L
860#undef __glibcxx_want_atomic_flag_test
862#if !defined(__cpp_lib_atomic_float)
863# if (__cplusplus >= 202002L)
864# define __glibcxx_atomic_float 201711L
865# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_float)
866# define __cpp_lib_atomic_float 201711L
870#undef __glibcxx_want_atomic_float
872#if !defined(__cpp_lib_atomic_lock_free_type_aliases)
873# if (__cplusplus >= 202002L) && ((__GCC_ATOMIC_INT_LOCK_FREE | __GCC_ATOMIC_LONG_LOCK_FREE | __GCC_ATOMIC_CHAR_LOCK_FREE) & 2)
874# define __glibcxx_atomic_lock_free_type_aliases 201907L
875# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_lock_free_type_aliases)
876# define __cpp_lib_atomic_lock_free_type_aliases 201907L
880#undef __glibcxx_want_atomic_lock_free_type_aliases
882#if !defined(__cpp_lib_atomic_ref)
883# if (__cplusplus > 202302L)
884# define __glibcxx_atomic_ref 202411L
885# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_ref)
886# define __cpp_lib_atomic_ref 202411L
888# elif (__cplusplus >= 202002L)
889# define __glibcxx_atomic_ref 201806L
890# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_ref)
891# define __cpp_lib_atomic_ref 201806L
895#undef __glibcxx_want_atomic_ref
897#if !defined(__cpp_lib_atomic_value_initialization)
898# if (__cplusplus >= 202002L) && (__cpp_concepts >= 201907L)
899# define __glibcxx_atomic_value_initialization 201911L
900# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_value_initialization)
901# define __cpp_lib_atomic_value_initialization 201911L
905#undef __glibcxx_want_atomic_value_initialization
907#if !defined(__cpp_lib_bind_front)
908# if (__cplusplus > 202302L)
909# define __glibcxx_bind_front 202306L
910# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bind_front)
911# define __cpp_lib_bind_front 202306L
913# elif (__cplusplus >= 202002L)
914# define __glibcxx_bind_front 201907L
915# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bind_front)
916# define __cpp_lib_bind_front 201907L
920#undef __glibcxx_want_bind_front
922#if !defined(__cpp_lib_bind_back)
923# if (__cplusplus > 202302L)
924# define __glibcxx_bind_back 202306L
925# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bind_back)
926# define __cpp_lib_bind_back 202306L
928# elif (__cplusplus >= 202100L) && (__cpp_explicit_this_parameter)
929# define __glibcxx_bind_back 202202L
930# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bind_back)
931# define __cpp_lib_bind_back 202202L
935#undef __glibcxx_want_bind_back
937#if !defined(__cpp_lib_starts_ends_with)
938# if (__cplusplus >= 202002L)
939# define __glibcxx_starts_ends_with 201711L
940# if defined(__glibcxx_want_all) || defined(__glibcxx_want_starts_ends_with)
941# define __cpp_lib_starts_ends_with 201711L
945#undef __glibcxx_want_starts_ends_with
947#if !defined(__cpp_lib_bit_cast)
948# if (__cplusplus >= 202002L) && (__has_builtin(__builtin_bit_cast))
949# define __glibcxx_bit_cast 201806L
950# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bit_cast)
951# define __cpp_lib_bit_cast 201806L
955#undef __glibcxx_want_bit_cast
957#if !defined(__cpp_lib_bitops)
958# if (__cplusplus >= 202002L)
959# define __glibcxx_bitops 201907L
960# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bitops)
961# define __cpp_lib_bitops 201907L
965#undef __glibcxx_want_bitops
967#if !defined(__cpp_lib_bounded_array_traits)
968# if (__cplusplus >= 202002L)
969# define __glibcxx_bounded_array_traits 201902L
970# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bounded_array_traits)
971# define __cpp_lib_bounded_array_traits 201902L
975#undef __glibcxx_want_bounded_array_traits
977#if !defined(__cpp_lib_concepts)
978# if (__cplusplus >= 202002L) && (__cpp_concepts >= 201907L)
979# define __glibcxx_concepts 202002L
980# if defined(__glibcxx_want_all) || defined(__glibcxx_want_concepts)
981# define __cpp_lib_concepts 202002L
985#undef __glibcxx_want_concepts
987#if !defined(__cpp_lib_optional)
988# if (__cplusplus >= 202100L) && (__glibcxx_concepts)
989# define __glibcxx_optional 202110L
990# if defined(__glibcxx_want_all) || defined(__glibcxx_want_optional)
991# define __cpp_lib_optional 202110L
993# elif (__cplusplus >= 202002L)
994# define __glibcxx_optional 202106L
995# if defined(__glibcxx_want_all) || defined(__glibcxx_want_optional)
996# define __cpp_lib_optional 202106L
998# elif (__cplusplus >= 201703L)
999# define __glibcxx_optional 201606L
1000# if defined(__glibcxx_want_all) || defined(__glibcxx_want_optional)
1001# define __cpp_lib_optional 201606L
1005#undef __glibcxx_want_optional
1007#if !defined(__cpp_lib_optional_range_support)
1008# if (__cplusplus > 202302L)
1009# define __glibcxx_optional_range_support 202406L
1010# if defined(__glibcxx_want_all) || defined(__glibcxx_want_optional_range_support)
1011# define __cpp_lib_optional_range_support 202406L
1015#undef __glibcxx_want_optional_range_support
1017#if !defined(__cpp_lib_destroying_delete)
1018# if (__cplusplus >= 202002L) && (__cpp_impl_destroying_delete)
1019# define __glibcxx_destroying_delete 201806L
1020# if defined(__glibcxx_want_all) || defined(__glibcxx_want_destroying_delete)
1021# define __cpp_lib_destroying_delete 201806L
1025#undef __glibcxx_want_destroying_delete
1027#if !defined(__cpp_lib_constexpr_string_view)
1028# if (__cplusplus >= 202002L)
1029# define __glibcxx_constexpr_string_view 201811L
1030# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_string_view)
1031# define __cpp_lib_constexpr_string_view 201811L
1035#undef __glibcxx_want_constexpr_string_view
1037#if !defined(__cpp_lib_endian)
1038# if (__cplusplus >= 202002L)
1039# define __glibcxx_endian 201907L
1040# if defined(__glibcxx_want_all) || defined(__glibcxx_want_endian)
1041# define __cpp_lib_endian 201907L
1045#undef __glibcxx_want_endian
1047#if !defined(__cpp_lib_int_pow2)
1048# if (__cplusplus >= 202002L)
1049# define __glibcxx_int_pow2 202002L
1050# if defined(__glibcxx_want_all) || defined(__glibcxx_want_int_pow2)
1051# define __cpp_lib_int_pow2 202002L
1055#undef __glibcxx_want_int_pow2
1057#if !defined(__cpp_lib_integer_comparison_functions)
1058# if (__cplusplus >= 202002L)
1059# define __glibcxx_integer_comparison_functions 202002L
1060# if defined(__glibcxx_want_all) || defined(__glibcxx_want_integer_comparison_functions)
1061# define __cpp_lib_integer_comparison_functions 202002L
1065#undef __glibcxx_want_integer_comparison_functions
1067#if !defined(__cpp_lib_is_constant_evaluated)
1068# if (__cplusplus >= 202002L) && (defined(_GLIBCXX_HAVE_IS_CONSTANT_EVALUATED))
1069# define __glibcxx_is_constant_evaluated 201811L
1070# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_constant_evaluated)
1071# define __cpp_lib_is_constant_evaluated 201811L
1075#undef __glibcxx_want_is_constant_evaluated
1077#if !defined(__cpp_lib_constexpr_char_traits)
1078# if (__cplusplus >= 202002L) && (defined(__glibcxx_is_constant_evaluated))
1079# define __glibcxx_constexpr_char_traits 201811L
1080# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_char_traits)
1081# define __cpp_lib_constexpr_char_traits 201811L
1083# elif (__cplusplus >= 201703L) && (_GLIBCXX_HAVE_IS_CONSTANT_EVALUATED)
1084# define __glibcxx_constexpr_char_traits 201611L
1085# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_char_traits)
1086# define __cpp_lib_constexpr_char_traits 201611L
1090#undef __glibcxx_want_constexpr_char_traits
1092#if !defined(__cpp_lib_is_layout_compatible)
1093# if (__cplusplus >= 202002L) && (__has_builtin(__is_layout_compatible) && __has_builtin(__builtin_is_corresponding_member))
1094# define __glibcxx_is_layout_compatible 201907L
1095# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_layout_compatible)
1096# define __cpp_lib_is_layout_compatible 201907L
1100#undef __glibcxx_want_is_layout_compatible
1102#if !defined(__cpp_lib_is_nothrow_convertible)
1103# if (__cplusplus >= 202002L)
1104# define __glibcxx_is_nothrow_convertible 201806L
1105# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_nothrow_convertible)
1106# define __cpp_lib_is_nothrow_convertible 201806L
1110#undef __glibcxx_want_is_nothrow_convertible
1112#if !defined(__cpp_lib_is_pointer_interconvertible)
1113# if (__cplusplus >= 202002L) && (__has_builtin(__is_pointer_interconvertible_base_of) && __has_builtin(__builtin_is_pointer_interconvertible_with_class))
1114# define __glibcxx_is_pointer_interconvertible 201907L
1115# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_pointer_interconvertible)
1116# define __cpp_lib_is_pointer_interconvertible 201907L
1120#undef __glibcxx_want_is_pointer_interconvertible
1122#if !defined(__cpp_lib_math_constants)
1123# if (__cplusplus >= 202002L)
1124# define __glibcxx_math_constants 201907L
1125# if defined(__glibcxx_want_all) || defined(__glibcxx_want_math_constants)
1126# define __cpp_lib_math_constants 201907L
1130#undef __glibcxx_want_math_constants
1132#if !defined(__cpp_lib_make_obj_using_allocator)
1133# if (__cplusplus >= 202002L) && (__cpp_concepts)
1134# define __glibcxx_make_obj_using_allocator 201811L
1135# if defined(__glibcxx_want_all) || defined(__glibcxx_want_make_obj_using_allocator)
1139#undef __glibcxx_want_make_obj_using_allocator
1141#if !defined(__cpp_lib_remove_cvref)
1142# if (__cplusplus >= 202002L)
1143# define __glibcxx_remove_cvref 201711L
1144# if defined(__glibcxx_want_all) || defined(__glibcxx_want_remove_cvref)
1145# define __cpp_lib_remove_cvref 201711L
1149#undef __glibcxx_want_remove_cvref
1151#if !defined(__cpp_lib_source_location)
1152# if (__cplusplus >= 202002L) && (__has_builtin(__builtin_source_location))
1153# define __glibcxx_source_location 201907L
1154# if defined(__glibcxx_want_all) || defined(__glibcxx_want_source_location)
1155# define __cpp_lib_source_location 201907L
1159#undef __glibcxx_want_source_location
1161#if !defined(__cpp_lib_span)
1162# if (__cplusplus > 202302L) && (__glibcxx_concepts)
1163# define __glibcxx_span 202311L
1164# if defined(__glibcxx_want_all) || defined(__glibcxx_want_span)
1165# define __cpp_lib_span 202311L
1167# elif (__cplusplus >= 202002L) && (__glibcxx_concepts)
1168# define __glibcxx_span 202002L
1169# if defined(__glibcxx_want_all) || defined(__glibcxx_want_span)
1170# define __cpp_lib_span 202002L
1174#undef __glibcxx_want_span
1176#if !defined(__cpp_lib_mdspan)
1177# if (__cplusplus > 202302L)
1178# define __glibcxx_mdspan 202406L
1179# if defined(__glibcxx_want_all) || defined(__glibcxx_want_mdspan)
1180# define __cpp_lib_mdspan 202406L
1182# elif (__cplusplus >= 202100L)
1183# define __glibcxx_mdspan 202207L
1184# if defined(__glibcxx_want_all) || defined(__glibcxx_want_mdspan)
1185# define __cpp_lib_mdspan 202207L
1189#undef __glibcxx_want_mdspan
1191#if !defined(__cpp_lib_aligned_accessor)
1192# if (__cplusplus > 202302L) && (__glibcxx_assume_aligned && __glibcxx_is_sufficiently_aligned)
1193# define __glibcxx_aligned_accessor 202411L
1194# if defined(__glibcxx_want_all) || defined(__glibcxx_want_aligned_accessor)
1195# define __cpp_lib_aligned_accessor 202411L
1199#undef __glibcxx_want_aligned_accessor
1201#if !defined(__cpp_lib_padded_layouts)
1202# if (__cplusplus > 202302L)
1203# define __glibcxx_padded_layouts 1L
1204# if defined(__glibcxx_want_all) || defined(__glibcxx_want_padded_layouts)
1208#undef __glibcxx_want_padded_layouts
1210#if !defined(__cpp_lib_submdspan)
1211# if (__cplusplus > 202302L)
1212# define __glibcxx_submdspan 1L
1213# if defined(__glibcxx_want_all) || defined(__glibcxx_want_submdspan)
1217#undef __glibcxx_want_submdspan
1219#if !defined(__cpp_lib_ssize)
1220# if (__cplusplus >= 202002L)
1221# define __glibcxx_ssize 201902L
1222# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ssize)
1223# define __cpp_lib_ssize 201902L
1227#undef __glibcxx_want_ssize
1229#if !defined(__cpp_lib_three_way_comparison)
1230# if (__cplusplus >= 202002L) && (__cpp_impl_three_way_comparison >= 201907L && __glibcxx_concepts)
1231# define __glibcxx_three_way_comparison 201907L
1232# if defined(__glibcxx_want_all) || defined(__glibcxx_want_three_way_comparison)
1233# define __cpp_lib_three_way_comparison 201907L
1237#undef __glibcxx_want_three_way_comparison
1239#if !defined(__cpp_lib_to_address)
1240# if (__cplusplus >= 202002L)
1241# define __glibcxx_to_address 201711L
1242# if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_address)
1243# define __cpp_lib_to_address 201711L
1247#undef __glibcxx_want_to_address
1249#if !defined(__cpp_lib_to_array)
1250# if (__cplusplus >= 202002L) && (__cpp_generic_lambdas >= 201707L)
1251# define __glibcxx_to_array 201907L
1252# if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_array)
1253# define __cpp_lib_to_array 201907L
1257#undef __glibcxx_want_to_array
1259#if !defined(__cpp_lib_type_identity)
1260# if (__cplusplus >= 202002L)
1261# define __glibcxx_type_identity 201806L
1262# if defined(__glibcxx_want_all) || defined(__glibcxx_want_type_identity)
1263# define __cpp_lib_type_identity 201806L
1267#undef __glibcxx_want_type_identity
1269#if !defined(__cpp_lib_unwrap_ref)
1270# if (__cplusplus >= 202002L)
1271# define __glibcxx_unwrap_ref 201811L
1272# if defined(__glibcxx_want_all) || defined(__glibcxx_want_unwrap_ref)
1273# define __cpp_lib_unwrap_ref 201811L
1277#undef __glibcxx_want_unwrap_ref
1279#if !defined(__cpp_lib_constexpr_iterator)
1280# if (__cplusplus >= 202002L)
1281# define __glibcxx_constexpr_iterator 201811L
1282# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_iterator)
1283# define __cpp_lib_constexpr_iterator 201811L
1287#undef __glibcxx_want_constexpr_iterator
1289#if !defined(__cpp_lib_interpolate)
1290# if (__cplusplus >= 202002L)
1291# define __glibcxx_interpolate 201902L
1292# if defined(__glibcxx_want_all) || defined(__glibcxx_want_interpolate)
1293# define __cpp_lib_interpolate 201902L
1297#undef __glibcxx_want_interpolate
1299#if !defined(__cpp_lib_constexpr_utility)
1300# if (__cplusplus >= 202002L)
1301# define __glibcxx_constexpr_utility 201811L
1302# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_utility)
1303# define __cpp_lib_constexpr_utility 201811L
1307#undef __glibcxx_want_constexpr_utility
1309#if !defined(__cpp_lib_shift)
1310# if (__cplusplus >= 202100L)
1311# define __glibcxx_shift 202202L
1312# if defined(__glibcxx_want_all) || defined(__glibcxx_want_shift)
1313# define __cpp_lib_shift 202202L
1315# elif (__cplusplus >= 202002L)
1316# define __glibcxx_shift 201806L
1317# if defined(__glibcxx_want_all) || defined(__glibcxx_want_shift)
1318# define __cpp_lib_shift 201806L
1322#undef __glibcxx_want_shift
1324#if !defined(__cpp_lib_ranges)
1325# if (__cplusplus > 202302L) && (__glibcxx_concepts)
1326# define __glibcxx_ranges 202406L
1327# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges)
1328# define __cpp_lib_ranges 202406L
1330# elif (__cplusplus >= 202100L) && (__glibcxx_concepts)
1331# define __glibcxx_ranges 202302L
1332# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges)
1333# define __cpp_lib_ranges 202302L
1335# elif (__cplusplus >= 202002L) && (__glibcxx_concepts)
1336# define __glibcxx_ranges 202110L
1337# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges)
1338# define __cpp_lib_ranges 202110L
1342#undef __glibcxx_want_ranges
1344#if !defined(__cpp_lib_constexpr_numeric)
1345# if (__cplusplus >= 202002L)
1346# define __glibcxx_constexpr_numeric 201911L
1347# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_numeric)
1348# define __cpp_lib_constexpr_numeric 201911L
1352#undef __glibcxx_want_constexpr_numeric
1354#if !defined(__cpp_lib_constexpr_functional)
1355# if (__cplusplus >= 202002L)
1356# define __glibcxx_constexpr_functional 201907L
1357# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_functional)
1358# define __cpp_lib_constexpr_functional 201907L
1362#undef __glibcxx_want_constexpr_functional
1364#if !defined(__cpp_lib_constexpr_algorithms)
1365# if (__cplusplus > 202302L)
1366# define __glibcxx_constexpr_algorithms 202306L
1367# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_algorithms)
1368# define __cpp_lib_constexpr_algorithms 202306L
1370# elif (__cplusplus >= 202002L)
1371# define __glibcxx_constexpr_algorithms 201806L
1372# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_algorithms)
1373# define __cpp_lib_constexpr_algorithms 201806L
1377#undef __glibcxx_want_constexpr_algorithms
1379#if !defined(__cpp_lib_constexpr_tuple)
1380# if (__cplusplus >= 202002L)
1381# define __glibcxx_constexpr_tuple 201811L
1382# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_tuple)
1383# define __cpp_lib_constexpr_tuple 201811L
1387#undef __glibcxx_want_constexpr_tuple
1389#if !defined(__cpp_lib_constexpr_memory)
1390# if (__cplusplus >= 202100L) && (__cpp_constexpr_dynamic_alloc)
1391# define __glibcxx_constexpr_memory 202202L
1392# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_memory)
1393# define __cpp_lib_constexpr_memory 202202L
1395# elif (__cplusplus >= 202002L)
1396# define __glibcxx_constexpr_memory 201811L
1397# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_memory)
1398# define __cpp_lib_constexpr_memory 201811L
1402#undef __glibcxx_want_constexpr_memory
1404#if !defined(__cpp_lib_atomic_shared_ptr)
1405# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1406# define __glibcxx_atomic_shared_ptr 201711L
1407# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_shared_ptr)
1408# define __cpp_lib_atomic_shared_ptr 201711L
1412#undef __glibcxx_want_atomic_shared_ptr
1414#if !defined(__cpp_lib_atomic_wait)
1415# if (__cplusplus >= 202002L) && defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED
1416# define __glibcxx_atomic_wait 201907L
1417# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_wait)
1418# define __cpp_lib_atomic_wait 201907L
1420# elif (__cplusplus >= 202002L) && !defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED && (defined(_GLIBCXX_HAVE_LINUX_FUTEX))
1421# define __glibcxx_atomic_wait 201907L
1422# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_wait)
1423# define __cpp_lib_atomic_wait 201907L
1427#undef __glibcxx_want_atomic_wait
1429#if !defined(__cpp_lib_barrier)
1430# if (__cplusplus >= 202002L) && (__cpp_aligned_new && __glibcxx_atomic_wait)
1431# define __glibcxx_barrier 201907L
1432# if defined(__glibcxx_want_all) || defined(__glibcxx_want_barrier)
1433# define __cpp_lib_barrier 201907L
1437#undef __glibcxx_want_barrier
1439#if !defined(__cpp_lib_format)
1440# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
1441# define __glibcxx_format 202311L
1442# if defined(__glibcxx_want_all) || defined(__glibcxx_want_format)
1443# define __cpp_lib_format 202311L
1445# elif (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1446# define __glibcxx_format 202304L
1447# if defined(__glibcxx_want_all) || defined(__glibcxx_want_format)
1448# define __cpp_lib_format 202304L
1452#undef __glibcxx_want_format
1454#if !defined(__cpp_lib_format_uchar)
1455# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1456# define __glibcxx_format_uchar 202311L
1457# if defined(__glibcxx_want_all) || defined(__glibcxx_want_format_uchar)
1458# define __cpp_lib_format_uchar 202311L
1462#undef __glibcxx_want_format_uchar
1464#if !defined(__cpp_lib_constexpr_complex)
1465# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1466# define __glibcxx_constexpr_complex 201711L
1467# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_complex)
1468# define __cpp_lib_constexpr_complex 201711L
1472#undef __glibcxx_want_constexpr_complex
1474#if !defined(__cpp_lib_constexpr_dynamic_alloc)
1475# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1476# define __glibcxx_constexpr_dynamic_alloc 201907L
1477# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_dynamic_alloc)
1478# define __cpp_lib_constexpr_dynamic_alloc 201907L
1482#undef __glibcxx_want_constexpr_dynamic_alloc
1484#if !defined(__cpp_lib_constexpr_string)
1485# if (__cplusplus >= 202002L) && _GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED && (defined(__glibcxx_is_constant_evaluated))
1486# define __glibcxx_constexpr_string 201907L
1487# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_string)
1488# define __cpp_lib_constexpr_string 201907L
1490# elif (__cplusplus >= 202002L) && !_GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED && (defined(__glibcxx_is_constant_evaluated))
1491# define __glibcxx_constexpr_string 201811L
1492# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_string)
1493# define __cpp_lib_constexpr_string 201811L
1495# elif (__cplusplus >= 201703L) && _GLIBCXX_HOSTED && (_GLIBCXX_HAVE_IS_CONSTANT_EVALUATED)
1496# define __glibcxx_constexpr_string 201611L
1497# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_string)
1498# define __cpp_lib_constexpr_string 201611L
1502#undef __glibcxx_want_constexpr_string
1504#if !defined(__cpp_lib_constexpr_vector)
1505# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1506# define __glibcxx_constexpr_vector 201907L
1507# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_vector)
1508# define __cpp_lib_constexpr_vector 201907L
1512#undef __glibcxx_want_constexpr_vector
1514#if !defined(__cpp_lib_constrained_equality)
1515# if (__cplusplus >= 202100L) && (__glibcxx_three_way_comparison)
1516# define __glibcxx_constrained_equality 202411L
1517# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constrained_equality)
1518# define __cpp_lib_constrained_equality 202411L
1520# elif (__cplusplus >= 202002L) && (__glibcxx_three_way_comparison)
1521# define __glibcxx_constrained_equality 202403L
1522# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constrained_equality)
1523# define __cpp_lib_constrained_equality 202403L
1527#undef __glibcxx_want_constrained_equality
1529#if !defined(__cpp_lib_erase_if)
1530# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1531# define __glibcxx_erase_if 202002L
1532# if defined(__glibcxx_want_all) || defined(__glibcxx_want_erase_if)
1533# define __cpp_lib_erase_if 202002L
1537#undef __glibcxx_want_erase_if
1539#if !defined(__cpp_lib_generic_unordered_lookup)
1540# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1541# define __glibcxx_generic_unordered_lookup 201811L
1542# if defined(__glibcxx_want_all) || defined(__glibcxx_want_generic_unordered_lookup)
1543# define __cpp_lib_generic_unordered_lookup 201811L
1547#undef __glibcxx_want_generic_unordered_lookup
1549#if !defined(__cpp_lib_jthread)
1550# if (__cplusplus >= 202002L) && defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED
1551# define __glibcxx_jthread 201911L
1552# if defined(__glibcxx_want_all) || defined(__glibcxx_want_jthread)
1553# define __cpp_lib_jthread 201911L
1557#undef __glibcxx_want_jthread
1559#if !defined(__cpp_lib_latch)
1560# if (__cplusplus >= 202002L) && (__glibcxx_atomic_wait)
1561# define __glibcxx_latch 201907L
1562# if defined(__glibcxx_want_all) || defined(__glibcxx_want_latch)
1563# define __cpp_lib_latch 201907L
1567#undef __glibcxx_want_latch
1569#if !defined(__cpp_lib_list_remove_return_type)
1570# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1571# define __glibcxx_list_remove_return_type 201806L
1572# if defined(__glibcxx_want_all) || defined(__glibcxx_want_list_remove_return_type)
1573# define __cpp_lib_list_remove_return_type 201806L
1577#undef __glibcxx_want_list_remove_return_type
1579#if !defined(__cpp_lib_polymorphic_allocator)
1580# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1581# define __glibcxx_polymorphic_allocator 201902L
1582# if defined(__glibcxx_want_all) || defined(__glibcxx_want_polymorphic_allocator)
1583# define __cpp_lib_polymorphic_allocator 201902L
1587#undef __glibcxx_want_polymorphic_allocator
1589#if !defined(__cpp_lib_move_iterator_concept)
1590# if (__cplusplus >= 202002L) && (__glibcxx_concepts)
1591# define __glibcxx_move_iterator_concept 202207L
1592# if defined(__glibcxx_want_all) || defined(__glibcxx_want_move_iterator_concept)
1593# define __cpp_lib_move_iterator_concept 202207L
1597#undef __glibcxx_want_move_iterator_concept
1599#if !defined(__cpp_lib_semaphore)
1600# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED && (__glibcxx_atomic_wait)
1601# define __glibcxx_semaphore 201907L
1602# if defined(__glibcxx_want_all) || defined(__glibcxx_want_semaphore)
1603# define __cpp_lib_semaphore 201907L
1607#undef __glibcxx_want_semaphore
1609#if !defined(__cpp_lib_smart_ptr_for_overwrite)
1610# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1611# define __glibcxx_smart_ptr_for_overwrite 202002L
1612# if defined(__glibcxx_want_all) || defined(__glibcxx_want_smart_ptr_for_overwrite)
1613# define __cpp_lib_smart_ptr_for_overwrite 202002L
1617#undef __glibcxx_want_smart_ptr_for_overwrite
1619#if !defined(__cpp_lib_syncbuf)
1620# if (__cplusplus >= 202002L) && _GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED
1621# define __glibcxx_syncbuf 201803L
1622# if defined(__glibcxx_want_all) || defined(__glibcxx_want_syncbuf)
1623# define __cpp_lib_syncbuf 201803L
1627#undef __glibcxx_want_syncbuf
1629#if !defined(__cpp_lib_byteswap)
1630# if (__cplusplus >= 202100L)
1631# define __glibcxx_byteswap 202110L
1632# if defined(__glibcxx_want_all) || defined(__glibcxx_want_byteswap)
1633# define __cpp_lib_byteswap 202110L
1637#undef __glibcxx_want_byteswap
1639#if !defined(__cpp_lib_constexpr_charconv)
1640# if (__cplusplus >= 202100L)
1641# define __glibcxx_constexpr_charconv 202207L
1642# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_charconv)
1643# define __cpp_lib_constexpr_charconv 202207L
1647#undef __glibcxx_want_constexpr_charconv
1649#if !defined(__cpp_lib_constexpr_typeinfo)
1650# if (__cplusplus >= 202100L)
1651# define __glibcxx_constexpr_typeinfo 202106L
1652# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_typeinfo)
1653# define __cpp_lib_constexpr_typeinfo 202106L
1657#undef __glibcxx_want_constexpr_typeinfo
1659#if !defined(__cpp_lib_expected)
1660# if (__cplusplus >= 202100L) && (__cpp_concepts >= 202002L)
1661# define __glibcxx_expected 202211L
1662# if defined(__glibcxx_want_all) || defined(__glibcxx_want_expected)
1663# define __cpp_lib_expected 202211L
1667#undef __glibcxx_want_expected
1669#if !defined(__cpp_lib_format_ranges)
1670# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
1671# define __glibcxx_format_ranges 202207L
1672# if defined(__glibcxx_want_all) || defined(__glibcxx_want_format_ranges)
1673# define __cpp_lib_format_ranges 202207L
1677#undef __glibcxx_want_format_ranges
1679#if !defined(__cpp_lib_freestanding_algorithm)
1680# if (__cplusplus >= 202100L)
1681# define __glibcxx_freestanding_algorithm 202311L
1682# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_algorithm)
1683# define __cpp_lib_freestanding_algorithm 202311L
1687#undef __glibcxx_want_freestanding_algorithm
1689#if !defined(__cpp_lib_freestanding_array)
1690# if (__cplusplus >= 202100L)
1691# define __glibcxx_freestanding_array 202311L
1692# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_array)
1693# define __cpp_lib_freestanding_array 202311L
1697#undef __glibcxx_want_freestanding_array
1699#if !defined(__cpp_lib_freestanding_cstring)
1700# if (__cplusplus >= 202100L)
1701# define __glibcxx_freestanding_cstring 202311L
1702# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_cstring)
1703# define __cpp_lib_freestanding_cstring 202311L
1707#undef __glibcxx_want_freestanding_cstring
1709#if !defined(__cpp_lib_freestanding_expected)
1710# if (__cplusplus >= 202100L) && (__cpp_lib_expected)
1711# define __glibcxx_freestanding_expected 202311L
1712# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_expected)
1713# define __cpp_lib_freestanding_expected 202311L
1717#undef __glibcxx_want_freestanding_expected
1719#if !defined(__cpp_lib_freestanding_optional)
1720# if (__cplusplus >= 202100L)
1721# define __glibcxx_freestanding_optional 202311L
1722# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_optional)
1723# define __cpp_lib_freestanding_optional 202311L
1727#undef __glibcxx_want_freestanding_optional
1729#if !defined(__cpp_lib_freestanding_string_view)
1730# if (__cplusplus >= 202100L)
1731# define __glibcxx_freestanding_string_view 202311L
1732# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_string_view)
1733# define __cpp_lib_freestanding_string_view 202311L
1737#undef __glibcxx_want_freestanding_string_view
1739#if !defined(__cpp_lib_freestanding_variant)
1740# if (__cplusplus >= 202100L)
1741# define __glibcxx_freestanding_variant 202311L
1742# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_variant)
1743# define __cpp_lib_freestanding_variant 202311L
1747#undef __glibcxx_want_freestanding_variant
1749#if !defined(__cpp_lib_invoke_r)
1750# if (__cplusplus >= 202100L)
1751# define __glibcxx_invoke_r 202106L
1752# if defined(__glibcxx_want_all) || defined(__glibcxx_want_invoke_r)
1753# define __cpp_lib_invoke_r 202106L
1757#undef __glibcxx_want_invoke_r
1759#if !defined(__cpp_lib_is_scoped_enum)
1760# if (__cplusplus >= 202100L)
1761# define __glibcxx_is_scoped_enum 202011L
1762# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_scoped_enum)
1763# define __cpp_lib_is_scoped_enum 202011L
1767#undef __glibcxx_want_is_scoped_enum
1769#if !defined(__cpp_lib_reference_from_temporary)
1770# if (__cplusplus >= 202100L) && (__has_builtin(__reference_constructs_from_temporary) && __has_builtin(__reference_converts_from_temporary))
1771# define __glibcxx_reference_from_temporary 202202L
1772# if defined(__glibcxx_want_all) || defined(__glibcxx_want_reference_from_temporary)
1773# define __cpp_lib_reference_from_temporary 202202L
1777#undef __glibcxx_want_reference_from_temporary
1779#if !defined(__cpp_lib_containers_ranges)
1780# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
1781# define __glibcxx_containers_ranges 202202L
1782# if defined(__glibcxx_want_all) || defined(__glibcxx_want_containers_ranges)
1783# define __cpp_lib_containers_ranges 202202L
1787#undef __glibcxx_want_containers_ranges
1789#if !defined(__cpp_lib_ranges_to_container)
1790# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
1791# define __glibcxx_ranges_to_container 202202L
1792# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_to_container)
1793# define __cpp_lib_ranges_to_container 202202L
1797#undef __glibcxx_want_ranges_to_container
1799#if !defined(__cpp_lib_ranges_zip)
1800# if (__cplusplus >= 202100L)
1801# define __glibcxx_ranges_zip 202110L
1802# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_zip)
1803# define __cpp_lib_ranges_zip 202110L
1807#undef __glibcxx_want_ranges_zip
1809#if !defined(__cpp_lib_ranges_chunk)
1810# if (__cplusplus >= 202100L)
1811# define __glibcxx_ranges_chunk 202202L
1812# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_chunk)
1813# define __cpp_lib_ranges_chunk 202202L
1817#undef __glibcxx_want_ranges_chunk
1819#if !defined(__cpp_lib_ranges_slide)
1820# if (__cplusplus >= 202100L)
1821# define __glibcxx_ranges_slide 202202L
1822# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_slide)
1823# define __cpp_lib_ranges_slide 202202L
1827#undef __glibcxx_want_ranges_slide
1829#if !defined(__cpp_lib_ranges_chunk_by)
1830# if (__cplusplus >= 202100L)
1831# define __glibcxx_ranges_chunk_by 202202L
1832# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_chunk_by)
1833# define __cpp_lib_ranges_chunk_by 202202L
1837#undef __glibcxx_want_ranges_chunk_by
1839#if !defined(__cpp_lib_ranges_join_with)
1840# if (__cplusplus >= 202100L)
1841# define __glibcxx_ranges_join_with 202202L
1842# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_join_with)
1843# define __cpp_lib_ranges_join_with 202202L
1847#undef __glibcxx_want_ranges_join_with
1849#if !defined(__cpp_lib_ranges_repeat)
1850# if (__cplusplus >= 202100L)
1851# define __glibcxx_ranges_repeat 202207L
1852# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_repeat)
1853# define __cpp_lib_ranges_repeat 202207L
1857#undef __glibcxx_want_ranges_repeat
1859#if !defined(__cpp_lib_ranges_stride)
1860# if (__cplusplus >= 202100L)
1861# define __glibcxx_ranges_stride 202207L
1862# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_stride)
1863# define __cpp_lib_ranges_stride 202207L
1867#undef __glibcxx_want_ranges_stride
1869#if !defined(__cpp_lib_ranges_cartesian_product)
1870# if (__cplusplus >= 202100L)
1871# define __glibcxx_ranges_cartesian_product 202207L
1872# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_cartesian_product)
1873# define __cpp_lib_ranges_cartesian_product 202207L
1877#undef __glibcxx_want_ranges_cartesian_product
1879#if !defined(__cpp_lib_ranges_as_rvalue)
1880# if (__cplusplus >= 202100L)
1881# define __glibcxx_ranges_as_rvalue 202207L
1882# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_as_rvalue)
1883# define __cpp_lib_ranges_as_rvalue 202207L
1887#undef __glibcxx_want_ranges_as_rvalue
1889#if !defined(__cpp_lib_ranges_as_const)
1890# if (__cplusplus >= 202100L)
1891# define __glibcxx_ranges_as_const 202311L
1892# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_as_const)
1893# define __cpp_lib_ranges_as_const 202311L
1897#undef __glibcxx_want_ranges_as_const
1899#if !defined(__cpp_lib_ranges_enumerate)
1900# if (__cplusplus >= 202100L)
1901# define __glibcxx_ranges_enumerate 202302L
1902# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_enumerate)
1903# define __cpp_lib_ranges_enumerate 202302L
1907#undef __glibcxx_want_ranges_enumerate
1909#if !defined(__cpp_lib_ranges_fold)
1910# if (__cplusplus >= 202100L)
1911# define __glibcxx_ranges_fold 202207L
1912# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_fold)
1913# define __cpp_lib_ranges_fold 202207L
1917#undef __glibcxx_want_ranges_fold
1919#if !defined(__cpp_lib_ranges_contains)
1920# if (__cplusplus >= 202100L)
1921# define __glibcxx_ranges_contains 202207L
1922# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_contains)
1923# define __cpp_lib_ranges_contains 202207L
1927#undef __glibcxx_want_ranges_contains
1929#if !defined(__cpp_lib_ranges_iota)
1930# if (__cplusplus >= 202100L)
1931# define __glibcxx_ranges_iota 202202L
1932# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_iota)
1933# define __cpp_lib_ranges_iota 202202L
1937#undef __glibcxx_want_ranges_iota
1939#if !defined(__cpp_lib_ranges_find_last)
1940# if (__cplusplus >= 202100L)
1941# define __glibcxx_ranges_find_last 202207L
1942# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_find_last)
1943# define __cpp_lib_ranges_find_last 202207L
1947#undef __glibcxx_want_ranges_find_last
1949#if !defined(__cpp_lib_ranges_starts_ends_with)
1950# if (__cplusplus >= 202100L)
1951# define __glibcxx_ranges_starts_ends_with 202106L
1952# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_starts_ends_with)
1953# define __cpp_lib_ranges_starts_ends_with 202106L
1957#undef __glibcxx_want_ranges_starts_ends_with
1959#if !defined(__cpp_lib_ranges_indices)
1960# if (__cplusplus > 202302L)
1961# define __glibcxx_ranges_indices 202506L
1962# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_indices)
1963# define __cpp_lib_ranges_indices 202506L
1967#undef __glibcxx_want_ranges_indices
1969#if !defined(__cpp_lib_constexpr_bitset)
1970# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED && (__cpp_constexpr_dynamic_alloc)
1971# define __glibcxx_constexpr_bitset 202202L
1972# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_bitset)
1973# define __cpp_lib_constexpr_bitset 202202L
1977#undef __glibcxx_want_constexpr_bitset
1979#if !defined(__cpp_lib_stdatomic_h)
1980# if (__cplusplus >= 202100L)
1981# define __glibcxx_stdatomic_h 202011L
1982# if defined(__glibcxx_want_all) || defined(__glibcxx_want_stdatomic_h)
1983# define __cpp_lib_stdatomic_h 202011L
1987#undef __glibcxx_want_stdatomic_h
1989#if !defined(__cpp_lib_adaptor_iterator_pair_constructor)
1990# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
1991# define __glibcxx_adaptor_iterator_pair_constructor 202106L
1992# if defined(__glibcxx_want_all) || defined(__glibcxx_want_adaptor_iterator_pair_constructor)
1993# define __cpp_lib_adaptor_iterator_pair_constructor 202106L
1997#undef __glibcxx_want_adaptor_iterator_pair_constructor
1999#if !defined(__cpp_lib_flat_map)
2000# if (__cplusplus >= 202100L)
2001# define __glibcxx_flat_map 202207L
2002# if defined(__glibcxx_want_all) || defined(__glibcxx_want_flat_map)
2003# define __cpp_lib_flat_map 202207L
2007#undef __glibcxx_want_flat_map
2009#if !defined(__cpp_lib_flat_set)
2010# if (__cplusplus >= 202100L)
2011# define __glibcxx_flat_set 202207L
2012# if defined(__glibcxx_want_all) || defined(__glibcxx_want_flat_set)
2013# define __cpp_lib_flat_set 202207L
2017#undef __glibcxx_want_flat_set
2019#if !defined(__cpp_lib_formatters)
2020# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
2021# define __glibcxx_formatters 202302L
2022# if defined(__glibcxx_want_all) || defined(__glibcxx_want_formatters)
2023# define __cpp_lib_formatters 202302L
2027#undef __glibcxx_want_formatters
2029#if !defined(__cpp_lib_forward_like)
2030# if (__cplusplus >= 202100L)
2031# define __glibcxx_forward_like 202207L
2032# if defined(__glibcxx_want_all) || defined(__glibcxx_want_forward_like)
2033# define __cpp_lib_forward_like 202207L
2037#undef __glibcxx_want_forward_like
2039#if !defined(__cpp_lib_generator)
2040# if (__cplusplus >= 202100L) && (__glibcxx_coroutine && __cpp_sized_deallocation)
2041# define __glibcxx_generator 202207L
2042# if defined(__glibcxx_want_all) || defined(__glibcxx_want_generator)
2043# define __cpp_lib_generator 202207L
2047#undef __glibcxx_want_generator
2049#if !defined(__cpp_lib_ios_noreplace)
2050# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
2051# define __glibcxx_ios_noreplace 202207L
2052# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ios_noreplace)
2053# define __cpp_lib_ios_noreplace 202207L
2057#undef __glibcxx_want_ios_noreplace
2059#if !defined(__cpp_lib_move_only_function)
2060# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
2061# define __glibcxx_move_only_function 202110L
2062# if defined(__glibcxx_want_all) || defined(__glibcxx_want_move_only_function)
2063# define __cpp_lib_move_only_function 202110L
2067#undef __glibcxx_want_move_only_function
2069#if !defined(__cpp_lib_copyable_function)
2070# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2071# define __glibcxx_copyable_function 202306L
2072# if defined(__glibcxx_want_all) || defined(__glibcxx_want_copyable_function)
2073# define __cpp_lib_copyable_function 202306L
2077#undef __glibcxx_want_copyable_function
2079#if !defined(__cpp_lib_function_ref)
2080# if (__cplusplus > 202302L)
2081# define __glibcxx_function_ref 202306L
2082# if defined(__glibcxx_want_all) || defined(__glibcxx_want_function_ref)
2083# define __cpp_lib_function_ref 202306L
2087#undef __glibcxx_want_function_ref
2089#if !defined(__cpp_lib_out_ptr)
2090# if (__cplusplus >= 202100L)
2091# define __glibcxx_out_ptr 202311L
2092# if defined(__glibcxx_want_all) || defined(__glibcxx_want_out_ptr)
2093# define __cpp_lib_out_ptr 202311L
2097#undef __glibcxx_want_out_ptr
2099#if !defined(__cpp_lib_print)
2100# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
2101# define __glibcxx_print 202406L
2102# if defined(__glibcxx_want_all) || defined(__glibcxx_want_print)
2103# define __cpp_lib_print 202406L
2107#undef __glibcxx_want_print
2109#if !defined(__cpp_lib_spanstream)
2110# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED && (__glibcxx_span)
2111# define __glibcxx_spanstream 202106L
2112# if defined(__glibcxx_want_all) || defined(__glibcxx_want_spanstream)
2113# define __cpp_lib_spanstream 202106L
2117#undef __glibcxx_want_spanstream
2119#if !defined(__cpp_lib_stacktrace)
2120# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED && (_GLIBCXX_HAVE_STACKTRACE)
2121# define __glibcxx_stacktrace 202011L
2122# if defined(__glibcxx_want_all) || defined(__glibcxx_want_stacktrace)
2123# define __cpp_lib_stacktrace 202011L
2127#undef __glibcxx_want_stacktrace
2129#if !defined(__cpp_lib_start_lifetime_as)
2130# if (__cplusplus >= 202100L)
2131# define __glibcxx_start_lifetime_as 202207L
2132# if defined(__glibcxx_want_all) || defined(__glibcxx_want_start_lifetime_as)
2133# define __cpp_lib_start_lifetime_as 202207L
2137#undef __glibcxx_want_start_lifetime_as
2139#if !defined(__cpp_lib_string_contains)
2140# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
2141# define __glibcxx_string_contains 202011L
2142# if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_contains)
2143# define __cpp_lib_string_contains 202011L
2147#undef __glibcxx_want_string_contains
2149#if !defined(__cpp_lib_string_resize_and_overwrite)
2150# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
2151# define __glibcxx_string_resize_and_overwrite 202110L
2152# if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_resize_and_overwrite)
2153# define __cpp_lib_string_resize_and_overwrite 202110L
2157#undef __glibcxx_want_string_resize_and_overwrite
2159#if !defined(__cpp_lib_to_underlying)
2160# if (__cplusplus >= 202100L)
2161# define __glibcxx_to_underlying 202102L
2162# if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_underlying)
2163# define __cpp_lib_to_underlying 202102L
2167#undef __glibcxx_want_to_underlying
2169#if !defined(__cpp_lib_tuple_like)
2170# if (__cplusplus > 202302L) && (__cpp_explicit_this_parameter >= 202110L)
2171# define __glibcxx_tuple_like 202311L
2172# if defined(__glibcxx_want_all) || defined(__glibcxx_want_tuple_like)
2173# define __cpp_lib_tuple_like 202311L
2175# elif (__cplusplus >= 202100L)
2176# define __glibcxx_tuple_like 202207L
2177# if defined(__glibcxx_want_all) || defined(__glibcxx_want_tuple_like)
2178# define __cpp_lib_tuple_like 202207L
2182#undef __glibcxx_want_tuple_like
2184#if !defined(__cpp_lib_unreachable)
2185# if (__cplusplus >= 202100L)
2186# define __glibcxx_unreachable 202202L
2187# if defined(__glibcxx_want_all) || defined(__glibcxx_want_unreachable)
2188# define __cpp_lib_unreachable 202202L
2192#undef __glibcxx_want_unreachable
2194#if !defined(__cpp_lib_observable_checkpoint)
2195# if (__cplusplus > 202302L) && (__has_builtin(__builtin_observable_checkpoint))
2196# define __glibcxx_observable_checkpoint 202506L
2197# if defined(__glibcxx_want_all) || defined(__glibcxx_want_observable_checkpoint)
2198# define __cpp_lib_observable_checkpoint 202506L
2202#undef __glibcxx_want_observable_checkpoint
2204#if !defined(__cpp_lib_algorithm_default_value_type)
2205# if (__cplusplus > 202302L)
2206# define __glibcxx_algorithm_default_value_type 202403L
2207# if defined(__glibcxx_want_all) || defined(__glibcxx_want_algorithm_default_value_type)
2208# define __cpp_lib_algorithm_default_value_type 202403L
2212#undef __glibcxx_want_algorithm_default_value_type
2214#if !defined(__cpp_lib_constexpr_new)
2215# if (__cplusplus > 202302L) && (__cpp_constexpr >= 202406L)
2216# define __glibcxx_constexpr_new 202406L
2217# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_new)
2218# define __cpp_lib_constexpr_new 202406L
2222#undef __glibcxx_want_constexpr_new
2224#if !defined(__cpp_lib_debugging)
2225# if (__cplusplus > 202302L)
2226# define __glibcxx_debugging 202403L
2227# if defined(__glibcxx_want_all) || defined(__glibcxx_want_debugging)
2228# define __cpp_lib_debugging 202403L
2232#undef __glibcxx_want_debugging
2234#if !defined(__cpp_lib_fstream_native_handle)
2235# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2236# define __glibcxx_fstream_native_handle 202306L
2237# if defined(__glibcxx_want_all) || defined(__glibcxx_want_fstream_native_handle)
2238# define __cpp_lib_fstream_native_handle 202306L
2242#undef __glibcxx_want_fstream_native_handle
2244#if !defined(__cpp_lib_is_virtual_base_of)
2245# if (__cplusplus > 202302L) && (__has_builtin(__builtin_is_virtual_base_of))
2246# define __glibcxx_is_virtual_base_of 202406L
2247# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_virtual_base_of)
2248# define __cpp_lib_is_virtual_base_of 202406L
2252#undef __glibcxx_want_is_virtual_base_of
2254#if !defined(__cpp_lib_ranges_cache_latest)
2255# if (__cplusplus > 202302L)
2256# define __glibcxx_ranges_cache_latest 202411L
2257# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_cache_latest)
2258# define __cpp_lib_ranges_cache_latest 202411L
2262#undef __glibcxx_want_ranges_cache_latest
2264#if !defined(__cpp_lib_ranges_concat)
2265# if (__cplusplus > 202302L) && (__cpp_pack_indexing)
2266# define __glibcxx_ranges_concat 202403L
2267# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_concat)
2268# define __cpp_lib_ranges_concat 202403L
2272#undef __glibcxx_want_ranges_concat
2274#if !defined(__cpp_lib_ratio)
2275# if (__cplusplus > 202302L)
2276# define __glibcxx_ratio 202306L
2277# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ratio)
2278# define __cpp_lib_ratio 202306L
2282#undef __glibcxx_want_ratio
2284#if !defined(__cpp_lib_reference_wrapper)
2285# if (__cplusplus > 202302L)
2286# define __glibcxx_reference_wrapper 202403L
2287# if defined(__glibcxx_want_all) || defined(__glibcxx_want_reference_wrapper)
2288# define __cpp_lib_reference_wrapper 202403L
2292#undef __glibcxx_want_reference_wrapper
2294#if !defined(__cpp_lib_saturation_arithmetic)
2295# if (__cplusplus > 202302L)
2296# define __glibcxx_saturation_arithmetic 202311L
2297# if defined(__glibcxx_want_all) || defined(__glibcxx_want_saturation_arithmetic)
2298# define __cpp_lib_saturation_arithmetic 202311L
2302#undef __glibcxx_want_saturation_arithmetic
2304#if !defined(__cpp_lib_span_initializer_list)
2305# if (__cplusplus > 202302L)
2306# define __glibcxx_span_initializer_list 202311L
2307# if defined(__glibcxx_want_all) || defined(__glibcxx_want_span_initializer_list)
2308# define __cpp_lib_span_initializer_list 202311L
2312#undef __glibcxx_want_span_initializer_list
2314#if !defined(__cpp_lib_text_encoding)
2315# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED && (_GLIBCXX_USE_NL_LANGINFO_L)
2316# define __glibcxx_text_encoding 202306L
2317# if defined(__glibcxx_want_all) || defined(__glibcxx_want_text_encoding)
2318# define __cpp_lib_text_encoding 202306L
2322#undef __glibcxx_want_text_encoding
2324#if !defined(__cpp_lib_ranges_to_input)
2325# if (__cplusplus > 202302L)
2326# define __glibcxx_ranges_to_input 202502L
2327# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_to_input)
2328# define __cpp_lib_ranges_to_input 202502L
2332#undef __glibcxx_want_ranges_to_input
2334#if !defined(__cpp_lib_to_string)
2335# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED && (__glibcxx_to_chars)
2336# define __glibcxx_to_string 202306L
2337# if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_string)
2338# define __cpp_lib_to_string 202306L
2342#undef __glibcxx_want_to_string
2344#if !defined(__cpp_lib_modules)
2345# if (__cplusplus >= 202002L) && (__cpp_modules)
2346# define __glibcxx_modules 202207L
2347# if defined(__glibcxx_want_all) || defined(__glibcxx_want_modules)
2348# define __cpp_lib_modules 202207L
2352#undef __glibcxx_want_modules
2354#if !defined(__cpp_lib_inplace_vector)
2355# if (__cplusplus > 202302L)
2356# define __glibcxx_inplace_vector 202406L
2357# if defined(__glibcxx_want_all) || defined(__glibcxx_want_inplace_vector)
2358# define __cpp_lib_inplace_vector 202406L
2362#undef __glibcxx_want_inplace_vector
2364#if !defined(__cpp_lib_indirect)
2365# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2366# define __glibcxx_indirect 202502L
2367# if defined(__glibcxx_want_all) || defined(__glibcxx_want_indirect)
2368# define __cpp_lib_indirect 202502L
2372#undef __glibcxx_want_indirect
2374#if !defined(__cpp_lib_polymorphic)
2375# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2376# define __glibcxx_polymorphic 202502L
2377# if defined(__glibcxx_want_all) || defined(__glibcxx_want_polymorphic)
2378# define __cpp_lib_polymorphic 202502L
2382#undef __glibcxx_want_polymorphic
2384#if !defined(__cpp_lib_smart_ptr_owner_equality)
2385# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2386# define __glibcxx_smart_ptr_owner_equality 202306L
2387# if defined(__glibcxx_want_all) || defined(__glibcxx_want_smart_ptr_owner_equality)
2388# define __cpp_lib_smart_ptr_owner_equality 202306L
2392#undef __glibcxx_want_smart_ptr_owner_equality
2394#if !defined(__cpp_lib_sstream_from_string_view)
2395# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2396# define __glibcxx_sstream_from_string_view 202306L
2397# if defined(__glibcxx_want_all) || defined(__glibcxx_want_sstream_from_string_view)
2398# define __cpp_lib_sstream_from_string_view 202306L
2402#undef __glibcxx_want_sstream_from_string_view
2404#if !defined(__cpp_lib_type_order)
2405# if (__cplusplus > 202302L) && (__has_builtin(__builtin_type_order) && __cpp_lib_three_way_comparison >= 201907L)
2406# define __glibcxx_type_order 202506L
2407# if defined(__glibcxx_want_all) || defined(__glibcxx_want_type_order)
2408# define __cpp_lib_type_order 202506L
2412#undef __glibcxx_want_type_order
2414#if !defined(__cpp_lib_exception_ptr_cast)
2415# if (__cplusplus > 202302L)
2416# define __glibcxx_exception_ptr_cast 202506L
2417# if defined(__glibcxx_want_all) || defined(__glibcxx_want_exception_ptr_cast)
2418# define __cpp_lib_exception_ptr_cast 202506L
2422#undef __glibcxx_want_exception_ptr_cast
2424#if !defined(__cpp_lib_bitset)
2425# if (__cplusplus > 202302L)
2426# define __glibcxx_bitset 202306L
2427# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bitset)
2428# define __cpp_lib_bitset 202306L
2432#undef __glibcxx_want_bitset
2434#if !defined(__cpp_lib_constexpr_exceptions)
2435# if (__cplusplus > 202302L) && (__cpp_constexpr_exceptions >= 202411L)
2436# define __glibcxx_constexpr_exceptions 1L
2437# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_exceptions)
2441#undef __glibcxx_want_constexpr_exceptions
2443#if !defined(__cpp_lib_philox_engine)
2444# if (__cplusplus > 202302L) && (__SIZEOF_INT128__)
2445# define __glibcxx_philox_engine 202406L
2446# if defined(__glibcxx_want_all) || defined(__glibcxx_want_philox_engine)
2447# define __cpp_lib_philox_engine 202406L
2451#undef __glibcxx_want_philox_engine
2453#undef __glibcxx_want_all