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 >= 202002L)
884# define __glibcxx_atomic_ref 201806L
885# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_ref)
886# define __cpp_lib_atomic_ref 201806L
890#undef __glibcxx_want_atomic_ref
892#if !defined(__cpp_lib_atomic_value_initialization)
893# if (__cplusplus >= 202002L) && (__cpp_concepts >= 201907L)
894# define __glibcxx_atomic_value_initialization 201911L
895# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_value_initialization)
896# define __cpp_lib_atomic_value_initialization 201911L
900#undef __glibcxx_want_atomic_value_initialization
902#if !defined(__cpp_lib_bind_front)
903# if (__cplusplus > 202302L)
904# define __glibcxx_bind_front 202306L
905# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bind_front)
906# define __cpp_lib_bind_front 202306L
908# elif (__cplusplus >= 202002L)
909# define __glibcxx_bind_front 201907L
910# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bind_front)
911# define __cpp_lib_bind_front 201907L
915#undef __glibcxx_want_bind_front
917#if !defined(__cpp_lib_bind_back)
918# if (__cplusplus > 202302L)
919# define __glibcxx_bind_back 202306L
920# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bind_back)
921# define __cpp_lib_bind_back 202306L
923# elif (__cplusplus >= 202100L) && (__cpp_explicit_this_parameter)
924# define __glibcxx_bind_back 202202L
925# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bind_back)
926# define __cpp_lib_bind_back 202202L
930#undef __glibcxx_want_bind_back
932#if !defined(__cpp_lib_starts_ends_with)
933# if (__cplusplus >= 202002L)
934# define __glibcxx_starts_ends_with 201711L
935# if defined(__glibcxx_want_all) || defined(__glibcxx_want_starts_ends_with)
936# define __cpp_lib_starts_ends_with 201711L
940#undef __glibcxx_want_starts_ends_with
942#if !defined(__cpp_lib_bit_cast)
943# if (__cplusplus >= 202002L) && (__has_builtin(__builtin_bit_cast))
944# define __glibcxx_bit_cast 201806L
945# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bit_cast)
946# define __cpp_lib_bit_cast 201806L
950#undef __glibcxx_want_bit_cast
952#if !defined(__cpp_lib_bitops)
953# if (__cplusplus >= 202002L)
954# define __glibcxx_bitops 201907L
955# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bitops)
956# define __cpp_lib_bitops 201907L
960#undef __glibcxx_want_bitops
962#if !defined(__cpp_lib_bounded_array_traits)
963# if (__cplusplus >= 202002L)
964# define __glibcxx_bounded_array_traits 201902L
965# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bounded_array_traits)
966# define __cpp_lib_bounded_array_traits 201902L
970#undef __glibcxx_want_bounded_array_traits
972#if !defined(__cpp_lib_concepts)
973# if (__cplusplus >= 202002L) && (__cpp_concepts >= 201907L)
974# define __glibcxx_concepts 202002L
975# if defined(__glibcxx_want_all) || defined(__glibcxx_want_concepts)
976# define __cpp_lib_concepts 202002L
980#undef __glibcxx_want_concepts
982#if !defined(__cpp_lib_optional)
983# if (__cplusplus >= 202100L) && (__glibcxx_concepts)
984# define __glibcxx_optional 202110L
985# if defined(__glibcxx_want_all) || defined(__glibcxx_want_optional)
986# define __cpp_lib_optional 202110L
988# elif (__cplusplus >= 202002L)
989# define __glibcxx_optional 202106L
990# if defined(__glibcxx_want_all) || defined(__glibcxx_want_optional)
991# define __cpp_lib_optional 202106L
993# elif (__cplusplus >= 201703L)
994# define __glibcxx_optional 201606L
995# if defined(__glibcxx_want_all) || defined(__glibcxx_want_optional)
996# define __cpp_lib_optional 201606L
1000#undef __glibcxx_want_optional
1002#if !defined(__cpp_lib_optional_range_support)
1003# if (__cplusplus > 202302L)
1004# define __glibcxx_optional_range_support 202406L
1005# if defined(__glibcxx_want_all) || defined(__glibcxx_want_optional_range_support)
1006# define __cpp_lib_optional_range_support 202406L
1010#undef __glibcxx_want_optional_range_support
1012#if !defined(__cpp_lib_destroying_delete)
1013# if (__cplusplus >= 202002L) && (__cpp_impl_destroying_delete)
1014# define __glibcxx_destroying_delete 201806L
1015# if defined(__glibcxx_want_all) || defined(__glibcxx_want_destroying_delete)
1016# define __cpp_lib_destroying_delete 201806L
1020#undef __glibcxx_want_destroying_delete
1022#if !defined(__cpp_lib_constexpr_string_view)
1023# if (__cplusplus >= 202002L)
1024# define __glibcxx_constexpr_string_view 201811L
1025# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_string_view)
1026# define __cpp_lib_constexpr_string_view 201811L
1030#undef __glibcxx_want_constexpr_string_view
1032#if !defined(__cpp_lib_endian)
1033# if (__cplusplus >= 202002L)
1034# define __glibcxx_endian 201907L
1035# if defined(__glibcxx_want_all) || defined(__glibcxx_want_endian)
1036# define __cpp_lib_endian 201907L
1040#undef __glibcxx_want_endian
1042#if !defined(__cpp_lib_int_pow2)
1043# if (__cplusplus >= 202002L)
1044# define __glibcxx_int_pow2 202002L
1045# if defined(__glibcxx_want_all) || defined(__glibcxx_want_int_pow2)
1046# define __cpp_lib_int_pow2 202002L
1050#undef __glibcxx_want_int_pow2
1052#if !defined(__cpp_lib_integer_comparison_functions)
1053# if (__cplusplus >= 202002L)
1054# define __glibcxx_integer_comparison_functions 202002L
1055# if defined(__glibcxx_want_all) || defined(__glibcxx_want_integer_comparison_functions)
1056# define __cpp_lib_integer_comparison_functions 202002L
1060#undef __glibcxx_want_integer_comparison_functions
1062#if !defined(__cpp_lib_is_constant_evaluated)
1063# if (__cplusplus >= 202002L) && (defined(_GLIBCXX_HAVE_IS_CONSTANT_EVALUATED))
1064# define __glibcxx_is_constant_evaluated 201811L
1065# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_constant_evaluated)
1066# define __cpp_lib_is_constant_evaluated 201811L
1070#undef __glibcxx_want_is_constant_evaluated
1072#if !defined(__cpp_lib_constexpr_char_traits)
1073# if (__cplusplus >= 202002L) && (defined(__glibcxx_is_constant_evaluated))
1074# define __glibcxx_constexpr_char_traits 201811L
1075# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_char_traits)
1076# define __cpp_lib_constexpr_char_traits 201811L
1078# elif (__cplusplus >= 201703L) && (_GLIBCXX_HAVE_IS_CONSTANT_EVALUATED)
1079# define __glibcxx_constexpr_char_traits 201611L
1080# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_char_traits)
1081# define __cpp_lib_constexpr_char_traits 201611L
1085#undef __glibcxx_want_constexpr_char_traits
1087#if !defined(__cpp_lib_is_layout_compatible)
1088# if (__cplusplus >= 202002L) && (__has_builtin(__is_layout_compatible) && __has_builtin(__builtin_is_corresponding_member))
1089# define __glibcxx_is_layout_compatible 201907L
1090# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_layout_compatible)
1091# define __cpp_lib_is_layout_compatible 201907L
1095#undef __glibcxx_want_is_layout_compatible
1097#if !defined(__cpp_lib_is_nothrow_convertible)
1098# if (__cplusplus >= 202002L)
1099# define __glibcxx_is_nothrow_convertible 201806L
1100# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_nothrow_convertible)
1101# define __cpp_lib_is_nothrow_convertible 201806L
1105#undef __glibcxx_want_is_nothrow_convertible
1107#if !defined(__cpp_lib_is_pointer_interconvertible)
1108# if (__cplusplus >= 202002L) && (__has_builtin(__is_pointer_interconvertible_base_of) && __has_builtin(__builtin_is_pointer_interconvertible_with_class))
1109# define __glibcxx_is_pointer_interconvertible 201907L
1110# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_pointer_interconvertible)
1111# define __cpp_lib_is_pointer_interconvertible 201907L
1115#undef __glibcxx_want_is_pointer_interconvertible
1117#if !defined(__cpp_lib_math_constants)
1118# if (__cplusplus >= 202002L)
1119# define __glibcxx_math_constants 201907L
1120# if defined(__glibcxx_want_all) || defined(__glibcxx_want_math_constants)
1121# define __cpp_lib_math_constants 201907L
1125#undef __glibcxx_want_math_constants
1127#if !defined(__cpp_lib_make_obj_using_allocator)
1128# if (__cplusplus >= 202002L) && (__cpp_concepts)
1129# define __glibcxx_make_obj_using_allocator 201811L
1130# if defined(__glibcxx_want_all) || defined(__glibcxx_want_make_obj_using_allocator)
1134#undef __glibcxx_want_make_obj_using_allocator
1136#if !defined(__cpp_lib_remove_cvref)
1137# if (__cplusplus >= 202002L)
1138# define __glibcxx_remove_cvref 201711L
1139# if defined(__glibcxx_want_all) || defined(__glibcxx_want_remove_cvref)
1140# define __cpp_lib_remove_cvref 201711L
1144#undef __glibcxx_want_remove_cvref
1146#if !defined(__cpp_lib_source_location)
1147# if (__cplusplus >= 202002L) && (__has_builtin(__builtin_source_location))
1148# define __glibcxx_source_location 201907L
1149# if defined(__glibcxx_want_all) || defined(__glibcxx_want_source_location)
1150# define __cpp_lib_source_location 201907L
1154#undef __glibcxx_want_source_location
1156#if !defined(__cpp_lib_span)
1157# if (__cplusplus > 202302L) && (__glibcxx_concepts)
1158# define __glibcxx_span 202311L
1159# if defined(__glibcxx_want_all) || defined(__glibcxx_want_span)
1160# define __cpp_lib_span 202311L
1162# elif (__cplusplus >= 202002L) && (__glibcxx_concepts)
1163# define __glibcxx_span 202002L
1164# if defined(__glibcxx_want_all) || defined(__glibcxx_want_span)
1165# define __cpp_lib_span 202002L
1169#undef __glibcxx_want_span
1171#if !defined(__cpp_lib_mdspan)
1172# if (__cplusplus > 202302L)
1173# define __glibcxx_mdspan 202406L
1174# if defined(__glibcxx_want_all) || defined(__glibcxx_want_mdspan)
1175# define __cpp_lib_mdspan 202406L
1177# elif (__cplusplus >= 202100L)
1178# define __glibcxx_mdspan 202207L
1179# if defined(__glibcxx_want_all) || defined(__glibcxx_want_mdspan)
1180# define __cpp_lib_mdspan 202207L
1184#undef __glibcxx_want_mdspan
1186#if !defined(__cpp_lib_aligned_accessor)
1187# if (__cplusplus > 202302L) && (__glibcxx_assume_aligned && __glibcxx_is_sufficiently_aligned)
1188# define __glibcxx_aligned_accessor 202411L
1189# if defined(__glibcxx_want_all) || defined(__glibcxx_want_aligned_accessor)
1190# define __cpp_lib_aligned_accessor 202411L
1194#undef __glibcxx_want_aligned_accessor
1196#if !defined(__cpp_lib_ssize)
1197# if (__cplusplus >= 202002L)
1198# define __glibcxx_ssize 201902L
1199# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ssize)
1200# define __cpp_lib_ssize 201902L
1204#undef __glibcxx_want_ssize
1206#if !defined(__cpp_lib_three_way_comparison)
1207# if (__cplusplus >= 202002L) && (__cpp_impl_three_way_comparison >= 201907L && __glibcxx_concepts)
1208# define __glibcxx_three_way_comparison 201907L
1209# if defined(__glibcxx_want_all) || defined(__glibcxx_want_three_way_comparison)
1210# define __cpp_lib_three_way_comparison 201907L
1214#undef __glibcxx_want_three_way_comparison
1216#if !defined(__cpp_lib_to_address)
1217# if (__cplusplus >= 202002L)
1218# define __glibcxx_to_address 201711L
1219# if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_address)
1220# define __cpp_lib_to_address 201711L
1224#undef __glibcxx_want_to_address
1226#if !defined(__cpp_lib_to_array)
1227# if (__cplusplus >= 202002L) && (__cpp_generic_lambdas >= 201707L)
1228# define __glibcxx_to_array 201907L
1229# if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_array)
1230# define __cpp_lib_to_array 201907L
1234#undef __glibcxx_want_to_array
1236#if !defined(__cpp_lib_type_identity)
1237# if (__cplusplus >= 202002L)
1238# define __glibcxx_type_identity 201806L
1239# if defined(__glibcxx_want_all) || defined(__glibcxx_want_type_identity)
1240# define __cpp_lib_type_identity 201806L
1244#undef __glibcxx_want_type_identity
1246#if !defined(__cpp_lib_unwrap_ref)
1247# if (__cplusplus >= 202002L)
1248# define __glibcxx_unwrap_ref 201811L
1249# if defined(__glibcxx_want_all) || defined(__glibcxx_want_unwrap_ref)
1250# define __cpp_lib_unwrap_ref 201811L
1254#undef __glibcxx_want_unwrap_ref
1256#if !defined(__cpp_lib_constexpr_iterator)
1257# if (__cplusplus >= 202002L)
1258# define __glibcxx_constexpr_iterator 201811L
1259# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_iterator)
1260# define __cpp_lib_constexpr_iterator 201811L
1264#undef __glibcxx_want_constexpr_iterator
1266#if !defined(__cpp_lib_interpolate)
1267# if (__cplusplus >= 202002L)
1268# define __glibcxx_interpolate 201902L
1269# if defined(__glibcxx_want_all) || defined(__glibcxx_want_interpolate)
1270# define __cpp_lib_interpolate 201902L
1274#undef __glibcxx_want_interpolate
1276#if !defined(__cpp_lib_constexpr_utility)
1277# if (__cplusplus >= 202002L)
1278# define __glibcxx_constexpr_utility 201811L
1279# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_utility)
1280# define __cpp_lib_constexpr_utility 201811L
1284#undef __glibcxx_want_constexpr_utility
1286#if !defined(__cpp_lib_shift)
1287# if (__cplusplus >= 202100L)
1288# define __glibcxx_shift 202202L
1289# if defined(__glibcxx_want_all) || defined(__glibcxx_want_shift)
1290# define __cpp_lib_shift 202202L
1292# elif (__cplusplus >= 202002L)
1293# define __glibcxx_shift 201806L
1294# if defined(__glibcxx_want_all) || defined(__glibcxx_want_shift)
1295# define __cpp_lib_shift 201806L
1299#undef __glibcxx_want_shift
1301#if !defined(__cpp_lib_ranges)
1302# if (__cplusplus > 202302L) && (__glibcxx_concepts)
1303# define __glibcxx_ranges 202406L
1304# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges)
1305# define __cpp_lib_ranges 202406L
1307# elif (__cplusplus >= 202100L) && (__glibcxx_concepts)
1308# define __glibcxx_ranges 202302L
1309# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges)
1310# define __cpp_lib_ranges 202302L
1312# elif (__cplusplus >= 202002L) && (__glibcxx_concepts)
1313# define __glibcxx_ranges 202110L
1314# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges)
1315# define __cpp_lib_ranges 202110L
1319#undef __glibcxx_want_ranges
1321#if !defined(__cpp_lib_constexpr_numeric)
1322# if (__cplusplus >= 202002L)
1323# define __glibcxx_constexpr_numeric 201911L
1324# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_numeric)
1325# define __cpp_lib_constexpr_numeric 201911L
1329#undef __glibcxx_want_constexpr_numeric
1331#if !defined(__cpp_lib_constexpr_functional)
1332# if (__cplusplus >= 202002L)
1333# define __glibcxx_constexpr_functional 201907L
1334# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_functional)
1335# define __cpp_lib_constexpr_functional 201907L
1339#undef __glibcxx_want_constexpr_functional
1341#if !defined(__cpp_lib_constexpr_algorithms)
1342# if (__cplusplus > 202302L)
1343# define __glibcxx_constexpr_algorithms 202306L
1344# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_algorithms)
1345# define __cpp_lib_constexpr_algorithms 202306L
1347# elif (__cplusplus >= 202002L)
1348# define __glibcxx_constexpr_algorithms 201806L
1349# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_algorithms)
1350# define __cpp_lib_constexpr_algorithms 201806L
1354#undef __glibcxx_want_constexpr_algorithms
1356#if !defined(__cpp_lib_constexpr_tuple)
1357# if (__cplusplus >= 202002L)
1358# define __glibcxx_constexpr_tuple 201811L
1359# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_tuple)
1360# define __cpp_lib_constexpr_tuple 201811L
1364#undef __glibcxx_want_constexpr_tuple
1366#if !defined(__cpp_lib_constexpr_memory)
1367# if (__cplusplus >= 202100L) && (__cpp_constexpr_dynamic_alloc)
1368# define __glibcxx_constexpr_memory 202202L
1369# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_memory)
1370# define __cpp_lib_constexpr_memory 202202L
1372# elif (__cplusplus >= 202002L)
1373# define __glibcxx_constexpr_memory 201811L
1374# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_memory)
1375# define __cpp_lib_constexpr_memory 201811L
1379#undef __glibcxx_want_constexpr_memory
1381#if !defined(__cpp_lib_atomic_shared_ptr)
1382# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1383# define __glibcxx_atomic_shared_ptr 201711L
1384# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_shared_ptr)
1385# define __cpp_lib_atomic_shared_ptr 201711L
1389#undef __glibcxx_want_atomic_shared_ptr
1391#if !defined(__cpp_lib_atomic_wait)
1392# if (__cplusplus >= 202002L) && defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED
1393# define __glibcxx_atomic_wait 201907L
1394# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_wait)
1395# define __cpp_lib_atomic_wait 201907L
1397# elif (__cplusplus >= 202002L) && !defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED && (defined(_GLIBCXX_HAVE_LINUX_FUTEX))
1398# define __glibcxx_atomic_wait 201907L
1399# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_wait)
1400# define __cpp_lib_atomic_wait 201907L
1404#undef __glibcxx_want_atomic_wait
1406#if !defined(__cpp_lib_barrier)
1407# if (__cplusplus >= 202002L) && (__cpp_aligned_new && __glibcxx_atomic_wait)
1408# define __glibcxx_barrier 201907L
1409# if defined(__glibcxx_want_all) || defined(__glibcxx_want_barrier)
1410# define __cpp_lib_barrier 201907L
1414#undef __glibcxx_want_barrier
1416#if !defined(__cpp_lib_format)
1417# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
1418# define __glibcxx_format 202311L
1419# if defined(__glibcxx_want_all) || defined(__glibcxx_want_format)
1420# define __cpp_lib_format 202311L
1422# elif (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1423# define __glibcxx_format 202304L
1424# if defined(__glibcxx_want_all) || defined(__glibcxx_want_format)
1425# define __cpp_lib_format 202304L
1429#undef __glibcxx_want_format
1431#if !defined(__cpp_lib_format_uchar)
1432# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1433# define __glibcxx_format_uchar 202311L
1434# if defined(__glibcxx_want_all) || defined(__glibcxx_want_format_uchar)
1435# define __cpp_lib_format_uchar 202311L
1439#undef __glibcxx_want_format_uchar
1441#if !defined(__cpp_lib_constexpr_complex)
1442# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1443# define __glibcxx_constexpr_complex 201711L
1444# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_complex)
1445# define __cpp_lib_constexpr_complex 201711L
1449#undef __glibcxx_want_constexpr_complex
1451#if !defined(__cpp_lib_constexpr_dynamic_alloc)
1452# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1453# define __glibcxx_constexpr_dynamic_alloc 201907L
1454# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_dynamic_alloc)
1455# define __cpp_lib_constexpr_dynamic_alloc 201907L
1459#undef __glibcxx_want_constexpr_dynamic_alloc
1461#if !defined(__cpp_lib_constexpr_string)
1462# if (__cplusplus >= 202002L) && _GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED && (defined(__glibcxx_is_constant_evaluated))
1463# define __glibcxx_constexpr_string 201907L
1464# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_string)
1465# define __cpp_lib_constexpr_string 201907L
1467# elif (__cplusplus >= 202002L) && !_GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED && (defined(__glibcxx_is_constant_evaluated))
1468# define __glibcxx_constexpr_string 201811L
1469# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_string)
1470# define __cpp_lib_constexpr_string 201811L
1472# elif (__cplusplus >= 201703L) && _GLIBCXX_HOSTED && (_GLIBCXX_HAVE_IS_CONSTANT_EVALUATED)
1473# define __glibcxx_constexpr_string 201611L
1474# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_string)
1475# define __cpp_lib_constexpr_string 201611L
1479#undef __glibcxx_want_constexpr_string
1481#if !defined(__cpp_lib_constexpr_vector)
1482# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1483# define __glibcxx_constexpr_vector 201907L
1484# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_vector)
1485# define __cpp_lib_constexpr_vector 201907L
1489#undef __glibcxx_want_constexpr_vector
1491#if !defined(__cpp_lib_constrained_equality)
1492# if (__cplusplus >= 202100L) && (__glibcxx_three_way_comparison)
1493# define __glibcxx_constrained_equality 202411L
1494# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constrained_equality)
1495# define __cpp_lib_constrained_equality 202411L
1497# elif (__cplusplus >= 202002L) && (__glibcxx_three_way_comparison)
1498# define __glibcxx_constrained_equality 202403L
1499# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constrained_equality)
1500# define __cpp_lib_constrained_equality 202403L
1504#undef __glibcxx_want_constrained_equality
1506#if !defined(__cpp_lib_erase_if)
1507# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1508# define __glibcxx_erase_if 202002L
1509# if defined(__glibcxx_want_all) || defined(__glibcxx_want_erase_if)
1510# define __cpp_lib_erase_if 202002L
1514#undef __glibcxx_want_erase_if
1516#if !defined(__cpp_lib_generic_unordered_lookup)
1517# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1518# define __glibcxx_generic_unordered_lookup 201811L
1519# if defined(__glibcxx_want_all) || defined(__glibcxx_want_generic_unordered_lookup)
1520# define __cpp_lib_generic_unordered_lookup 201811L
1524#undef __glibcxx_want_generic_unordered_lookup
1526#if !defined(__cpp_lib_jthread)
1527# if (__cplusplus >= 202002L) && defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED
1528# define __glibcxx_jthread 201911L
1529# if defined(__glibcxx_want_all) || defined(__glibcxx_want_jthread)
1530# define __cpp_lib_jthread 201911L
1534#undef __glibcxx_want_jthread
1536#if !defined(__cpp_lib_latch)
1537# if (__cplusplus >= 202002L) && (__glibcxx_atomic_wait)
1538# define __glibcxx_latch 201907L
1539# if defined(__glibcxx_want_all) || defined(__glibcxx_want_latch)
1540# define __cpp_lib_latch 201907L
1544#undef __glibcxx_want_latch
1546#if !defined(__cpp_lib_list_remove_return_type)
1547# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1548# define __glibcxx_list_remove_return_type 201806L
1549# if defined(__glibcxx_want_all) || defined(__glibcxx_want_list_remove_return_type)
1550# define __cpp_lib_list_remove_return_type 201806L
1554#undef __glibcxx_want_list_remove_return_type
1556#if !defined(__cpp_lib_polymorphic_allocator)
1557# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1558# define __glibcxx_polymorphic_allocator 201902L
1559# if defined(__glibcxx_want_all) || defined(__glibcxx_want_polymorphic_allocator)
1560# define __cpp_lib_polymorphic_allocator 201902L
1564#undef __glibcxx_want_polymorphic_allocator
1566#if !defined(__cpp_lib_move_iterator_concept)
1567# if (__cplusplus >= 202002L) && (__glibcxx_concepts)
1568# define __glibcxx_move_iterator_concept 202207L
1569# if defined(__glibcxx_want_all) || defined(__glibcxx_want_move_iterator_concept)
1570# define __cpp_lib_move_iterator_concept 202207L
1574#undef __glibcxx_want_move_iterator_concept
1576#if !defined(__cpp_lib_semaphore)
1577# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED && (__glibcxx_atomic_wait)
1578# define __glibcxx_semaphore 201907L
1579# if defined(__glibcxx_want_all) || defined(__glibcxx_want_semaphore)
1580# define __cpp_lib_semaphore 201907L
1584#undef __glibcxx_want_semaphore
1586#if !defined(__cpp_lib_smart_ptr_for_overwrite)
1587# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1588# define __glibcxx_smart_ptr_for_overwrite 202002L
1589# if defined(__glibcxx_want_all) || defined(__glibcxx_want_smart_ptr_for_overwrite)
1590# define __cpp_lib_smart_ptr_for_overwrite 202002L
1594#undef __glibcxx_want_smart_ptr_for_overwrite
1596#if !defined(__cpp_lib_syncbuf)
1597# if (__cplusplus >= 202002L) && _GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED
1598# define __glibcxx_syncbuf 201803L
1599# if defined(__glibcxx_want_all) || defined(__glibcxx_want_syncbuf)
1600# define __cpp_lib_syncbuf 201803L
1604#undef __glibcxx_want_syncbuf
1606#if !defined(__cpp_lib_byteswap)
1607# if (__cplusplus >= 202100L)
1608# define __glibcxx_byteswap 202110L
1609# if defined(__glibcxx_want_all) || defined(__glibcxx_want_byteswap)
1610# define __cpp_lib_byteswap 202110L
1614#undef __glibcxx_want_byteswap
1616#if !defined(__cpp_lib_constexpr_charconv)
1617# if (__cplusplus >= 202100L)
1618# define __glibcxx_constexpr_charconv 202207L
1619# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_charconv)
1620# define __cpp_lib_constexpr_charconv 202207L
1624#undef __glibcxx_want_constexpr_charconv
1626#if !defined(__cpp_lib_constexpr_typeinfo)
1627# if (__cplusplus >= 202100L)
1628# define __glibcxx_constexpr_typeinfo 202106L
1629# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_typeinfo)
1630# define __cpp_lib_constexpr_typeinfo 202106L
1634#undef __glibcxx_want_constexpr_typeinfo
1636#if !defined(__cpp_lib_expected)
1637# if (__cplusplus >= 202100L) && (__cpp_concepts >= 202002L)
1638# define __glibcxx_expected 202211L
1639# if defined(__glibcxx_want_all) || defined(__glibcxx_want_expected)
1640# define __cpp_lib_expected 202211L
1644#undef __glibcxx_want_expected
1646#if !defined(__cpp_lib_format_ranges)
1647# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
1648# define __glibcxx_format_ranges 202207L
1649# if defined(__glibcxx_want_all) || defined(__glibcxx_want_format_ranges)
1650# define __cpp_lib_format_ranges 202207L
1654#undef __glibcxx_want_format_ranges
1656#if !defined(__cpp_lib_freestanding_algorithm)
1657# if (__cplusplus >= 202100L)
1658# define __glibcxx_freestanding_algorithm 202311L
1659# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_algorithm)
1660# define __cpp_lib_freestanding_algorithm 202311L
1664#undef __glibcxx_want_freestanding_algorithm
1666#if !defined(__cpp_lib_freestanding_array)
1667# if (__cplusplus >= 202100L)
1668# define __glibcxx_freestanding_array 202311L
1669# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_array)
1670# define __cpp_lib_freestanding_array 202311L
1674#undef __glibcxx_want_freestanding_array
1676#if !defined(__cpp_lib_freestanding_cstring)
1677# if (__cplusplus >= 202100L)
1678# define __glibcxx_freestanding_cstring 202311L
1679# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_cstring)
1680# define __cpp_lib_freestanding_cstring 202311L
1684#undef __glibcxx_want_freestanding_cstring
1686#if !defined(__cpp_lib_freestanding_expected)
1687# if (__cplusplus >= 202100L) && (__cpp_lib_expected)
1688# define __glibcxx_freestanding_expected 202311L
1689# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_expected)
1690# define __cpp_lib_freestanding_expected 202311L
1694#undef __glibcxx_want_freestanding_expected
1696#if !defined(__cpp_lib_freestanding_optional)
1697# if (__cplusplus >= 202100L)
1698# define __glibcxx_freestanding_optional 202311L
1699# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_optional)
1700# define __cpp_lib_freestanding_optional 202311L
1704#undef __glibcxx_want_freestanding_optional
1706#if !defined(__cpp_lib_freestanding_string_view)
1707# if (__cplusplus >= 202100L)
1708# define __glibcxx_freestanding_string_view 202311L
1709# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_string_view)
1710# define __cpp_lib_freestanding_string_view 202311L
1714#undef __glibcxx_want_freestanding_string_view
1716#if !defined(__cpp_lib_freestanding_variant)
1717# if (__cplusplus >= 202100L)
1718# define __glibcxx_freestanding_variant 202311L
1719# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_variant)
1720# define __cpp_lib_freestanding_variant 202311L
1724#undef __glibcxx_want_freestanding_variant
1726#if !defined(__cpp_lib_invoke_r)
1727# if (__cplusplus >= 202100L)
1728# define __glibcxx_invoke_r 202106L
1729# if defined(__glibcxx_want_all) || defined(__glibcxx_want_invoke_r)
1730# define __cpp_lib_invoke_r 202106L
1734#undef __glibcxx_want_invoke_r
1736#if !defined(__cpp_lib_is_scoped_enum)
1737# if (__cplusplus >= 202100L)
1738# define __glibcxx_is_scoped_enum 202011L
1739# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_scoped_enum)
1740# define __cpp_lib_is_scoped_enum 202011L
1744#undef __glibcxx_want_is_scoped_enum
1746#if !defined(__cpp_lib_reference_from_temporary)
1747# if (__cplusplus >= 202100L) && (__has_builtin(__reference_constructs_from_temporary) && __has_builtin(__reference_converts_from_temporary))
1748# define __glibcxx_reference_from_temporary 202202L
1749# if defined(__glibcxx_want_all) || defined(__glibcxx_want_reference_from_temporary)
1750# define __cpp_lib_reference_from_temporary 202202L
1754#undef __glibcxx_want_reference_from_temporary
1756#if !defined(__cpp_lib_containers_ranges)
1757# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
1758# define __glibcxx_containers_ranges 202202L
1759# if defined(__glibcxx_want_all) || defined(__glibcxx_want_containers_ranges)
1760# define __cpp_lib_containers_ranges 202202L
1764#undef __glibcxx_want_containers_ranges
1766#if !defined(__cpp_lib_ranges_to_container)
1767# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
1768# define __glibcxx_ranges_to_container 202202L
1769# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_to_container)
1770# define __cpp_lib_ranges_to_container 202202L
1774#undef __glibcxx_want_ranges_to_container
1776#if !defined(__cpp_lib_ranges_zip)
1777# if (__cplusplus >= 202100L)
1778# define __glibcxx_ranges_zip 202110L
1779# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_zip)
1780# define __cpp_lib_ranges_zip 202110L
1784#undef __glibcxx_want_ranges_zip
1786#if !defined(__cpp_lib_ranges_chunk)
1787# if (__cplusplus >= 202100L)
1788# define __glibcxx_ranges_chunk 202202L
1789# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_chunk)
1790# define __cpp_lib_ranges_chunk 202202L
1794#undef __glibcxx_want_ranges_chunk
1796#if !defined(__cpp_lib_ranges_slide)
1797# if (__cplusplus >= 202100L)
1798# define __glibcxx_ranges_slide 202202L
1799# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_slide)
1800# define __cpp_lib_ranges_slide 202202L
1804#undef __glibcxx_want_ranges_slide
1806#if !defined(__cpp_lib_ranges_chunk_by)
1807# if (__cplusplus >= 202100L)
1808# define __glibcxx_ranges_chunk_by 202202L
1809# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_chunk_by)
1810# define __cpp_lib_ranges_chunk_by 202202L
1814#undef __glibcxx_want_ranges_chunk_by
1816#if !defined(__cpp_lib_ranges_join_with)
1817# if (__cplusplus >= 202100L)
1818# define __glibcxx_ranges_join_with 202202L
1819# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_join_with)
1820# define __cpp_lib_ranges_join_with 202202L
1824#undef __glibcxx_want_ranges_join_with
1826#if !defined(__cpp_lib_ranges_repeat)
1827# if (__cplusplus >= 202100L)
1828# define __glibcxx_ranges_repeat 202207L
1829# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_repeat)
1830# define __cpp_lib_ranges_repeat 202207L
1834#undef __glibcxx_want_ranges_repeat
1836#if !defined(__cpp_lib_ranges_stride)
1837# if (__cplusplus >= 202100L)
1838# define __glibcxx_ranges_stride 202207L
1839# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_stride)
1840# define __cpp_lib_ranges_stride 202207L
1844#undef __glibcxx_want_ranges_stride
1846#if !defined(__cpp_lib_ranges_cartesian_product)
1847# if (__cplusplus >= 202100L)
1848# define __glibcxx_ranges_cartesian_product 202207L
1849# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_cartesian_product)
1850# define __cpp_lib_ranges_cartesian_product 202207L
1854#undef __glibcxx_want_ranges_cartesian_product
1856#if !defined(__cpp_lib_ranges_as_rvalue)
1857# if (__cplusplus >= 202100L)
1858# define __glibcxx_ranges_as_rvalue 202207L
1859# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_as_rvalue)
1860# define __cpp_lib_ranges_as_rvalue 202207L
1864#undef __glibcxx_want_ranges_as_rvalue
1866#if !defined(__cpp_lib_ranges_as_const)
1867# if (__cplusplus >= 202100L)
1868# define __glibcxx_ranges_as_const 202311L
1869# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_as_const)
1870# define __cpp_lib_ranges_as_const 202311L
1874#undef __glibcxx_want_ranges_as_const
1876#if !defined(__cpp_lib_ranges_enumerate)
1877# if (__cplusplus >= 202100L)
1878# define __glibcxx_ranges_enumerate 202302L
1879# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_enumerate)
1880# define __cpp_lib_ranges_enumerate 202302L
1884#undef __glibcxx_want_ranges_enumerate
1886#if !defined(__cpp_lib_ranges_fold)
1887# if (__cplusplus >= 202100L)
1888# define __glibcxx_ranges_fold 202207L
1889# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_fold)
1890# define __cpp_lib_ranges_fold 202207L
1894#undef __glibcxx_want_ranges_fold
1896#if !defined(__cpp_lib_ranges_contains)
1897# if (__cplusplus >= 202100L)
1898# define __glibcxx_ranges_contains 202207L
1899# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_contains)
1900# define __cpp_lib_ranges_contains 202207L
1904#undef __glibcxx_want_ranges_contains
1906#if !defined(__cpp_lib_ranges_iota)
1907# if (__cplusplus >= 202100L)
1908# define __glibcxx_ranges_iota 202202L
1909# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_iota)
1910# define __cpp_lib_ranges_iota 202202L
1914#undef __glibcxx_want_ranges_iota
1916#if !defined(__cpp_lib_ranges_find_last)
1917# if (__cplusplus >= 202100L)
1918# define __glibcxx_ranges_find_last 202207L
1919# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_find_last)
1920# define __cpp_lib_ranges_find_last 202207L
1924#undef __glibcxx_want_ranges_find_last
1926#if !defined(__cpp_lib_ranges_starts_ends_with)
1927# if (__cplusplus >= 202100L)
1928# define __glibcxx_ranges_starts_ends_with 202106L
1929# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_starts_ends_with)
1930# define __cpp_lib_ranges_starts_ends_with 202106L
1934#undef __glibcxx_want_ranges_starts_ends_with
1936#if !defined(__cpp_lib_constexpr_bitset)
1937# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED && (__cpp_constexpr_dynamic_alloc)
1938# define __glibcxx_constexpr_bitset 202202L
1939# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_bitset)
1940# define __cpp_lib_constexpr_bitset 202202L
1944#undef __glibcxx_want_constexpr_bitset
1946#if !defined(__cpp_lib_stdatomic_h)
1947# if (__cplusplus >= 202100L)
1948# define __glibcxx_stdatomic_h 202011L
1949# if defined(__glibcxx_want_all) || defined(__glibcxx_want_stdatomic_h)
1950# define __cpp_lib_stdatomic_h 202011L
1954#undef __glibcxx_want_stdatomic_h
1956#if !defined(__cpp_lib_adaptor_iterator_pair_constructor)
1957# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
1958# define __glibcxx_adaptor_iterator_pair_constructor 202106L
1959# if defined(__glibcxx_want_all) || defined(__glibcxx_want_adaptor_iterator_pair_constructor)
1960# define __cpp_lib_adaptor_iterator_pair_constructor 202106L
1964#undef __glibcxx_want_adaptor_iterator_pair_constructor
1966#if !defined(__cpp_lib_flat_map)
1967# if (__cplusplus >= 202100L)
1968# define __glibcxx_flat_map 202207L
1969# if defined(__glibcxx_want_all) || defined(__glibcxx_want_flat_map)
1970# define __cpp_lib_flat_map 202207L
1974#undef __glibcxx_want_flat_map
1976#if !defined(__cpp_lib_flat_set)
1977# if (__cplusplus >= 202100L)
1978# define __glibcxx_flat_set 202207L
1979# if defined(__glibcxx_want_all) || defined(__glibcxx_want_flat_set)
1980# define __cpp_lib_flat_set 202207L
1984#undef __glibcxx_want_flat_set
1986#if !defined(__cpp_lib_formatters)
1987# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
1988# define __glibcxx_formatters 202302L
1989# if defined(__glibcxx_want_all) || defined(__glibcxx_want_formatters)
1990# define __cpp_lib_formatters 202302L
1994#undef __glibcxx_want_formatters
1996#if !defined(__cpp_lib_forward_like)
1997# if (__cplusplus >= 202100L)
1998# define __glibcxx_forward_like 202207L
1999# if defined(__glibcxx_want_all) || defined(__glibcxx_want_forward_like)
2000# define __cpp_lib_forward_like 202207L
2004#undef __glibcxx_want_forward_like
2006#if !defined(__cpp_lib_generator)
2007# if (__cplusplus >= 202100L) && (__glibcxx_coroutine && __cpp_sized_deallocation)
2008# define __glibcxx_generator 202207L
2009# if defined(__glibcxx_want_all) || defined(__glibcxx_want_generator)
2010# define __cpp_lib_generator 202207L
2014#undef __glibcxx_want_generator
2016#if !defined(__cpp_lib_ios_noreplace)
2017# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
2018# define __glibcxx_ios_noreplace 202207L
2019# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ios_noreplace)
2020# define __cpp_lib_ios_noreplace 202207L
2024#undef __glibcxx_want_ios_noreplace
2026#if !defined(__cpp_lib_move_only_function)
2027# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
2028# define __glibcxx_move_only_function 202110L
2029# if defined(__glibcxx_want_all) || defined(__glibcxx_want_move_only_function)
2030# define __cpp_lib_move_only_function 202110L
2034#undef __glibcxx_want_move_only_function
2036#if !defined(__cpp_lib_copyable_function)
2037# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2038# define __glibcxx_copyable_function 202306L
2039# if defined(__glibcxx_want_all) || defined(__glibcxx_want_copyable_function)
2040# define __cpp_lib_copyable_function 202306L
2044#undef __glibcxx_want_copyable_function
2046#if !defined(__cpp_lib_function_ref)
2047# if (__cplusplus > 202302L)
2048# define __glibcxx_function_ref 202306L
2049# if defined(__glibcxx_want_all) || defined(__glibcxx_want_function_ref)
2050# define __cpp_lib_function_ref 202306L
2054#undef __glibcxx_want_function_ref
2056#if !defined(__cpp_lib_out_ptr)
2057# if (__cplusplus >= 202100L)
2058# define __glibcxx_out_ptr 202311L
2059# if defined(__glibcxx_want_all) || defined(__glibcxx_want_out_ptr)
2060# define __cpp_lib_out_ptr 202311L
2064#undef __glibcxx_want_out_ptr
2066#if !defined(__cpp_lib_print)
2067# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
2068# define __glibcxx_print 202211L
2069# if defined(__glibcxx_want_all) || defined(__glibcxx_want_print)
2070# define __cpp_lib_print 202211L
2074#undef __glibcxx_want_print
2076#if !defined(__cpp_lib_spanstream)
2077# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED && (__glibcxx_span)
2078# define __glibcxx_spanstream 202106L
2079# if defined(__glibcxx_want_all) || defined(__glibcxx_want_spanstream)
2080# define __cpp_lib_spanstream 202106L
2084#undef __glibcxx_want_spanstream
2086#if !defined(__cpp_lib_stacktrace)
2087# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED && (_GLIBCXX_HAVE_STACKTRACE)
2088# define __glibcxx_stacktrace 202011L
2089# if defined(__glibcxx_want_all) || defined(__glibcxx_want_stacktrace)
2090# define __cpp_lib_stacktrace 202011L
2094#undef __glibcxx_want_stacktrace
2096#if !defined(__cpp_lib_start_lifetime_as)
2097# if (__cplusplus >= 202100L)
2098# define __glibcxx_start_lifetime_as 202207L
2099# if defined(__glibcxx_want_all) || defined(__glibcxx_want_start_lifetime_as)
2100# define __cpp_lib_start_lifetime_as 202207L
2104#undef __glibcxx_want_start_lifetime_as
2106#if !defined(__cpp_lib_string_contains)
2107# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
2108# define __glibcxx_string_contains 202011L
2109# if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_contains)
2110# define __cpp_lib_string_contains 202011L
2114#undef __glibcxx_want_string_contains
2116#if !defined(__cpp_lib_string_resize_and_overwrite)
2117# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
2118# define __glibcxx_string_resize_and_overwrite 202110L
2119# if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_resize_and_overwrite)
2120# define __cpp_lib_string_resize_and_overwrite 202110L
2124#undef __glibcxx_want_string_resize_and_overwrite
2126#if !defined(__cpp_lib_to_underlying)
2127# if (__cplusplus >= 202100L)
2128# define __glibcxx_to_underlying 202102L
2129# if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_underlying)
2130# define __cpp_lib_to_underlying 202102L
2134#undef __glibcxx_want_to_underlying
2136#if !defined(__cpp_lib_tuple_like)
2137# if (__cplusplus > 202302L) && (__cpp_explicit_this_parameter >= 202110L)
2138# define __glibcxx_tuple_like 202311L
2139# if defined(__glibcxx_want_all) || defined(__glibcxx_want_tuple_like)
2140# define __cpp_lib_tuple_like 202311L
2142# elif (__cplusplus >= 202100L)
2143# define __glibcxx_tuple_like 202207L
2144# if defined(__glibcxx_want_all) || defined(__glibcxx_want_tuple_like)
2145# define __cpp_lib_tuple_like 202207L
2149#undef __glibcxx_want_tuple_like
2151#if !defined(__cpp_lib_unreachable)
2152# if (__cplusplus >= 202100L)
2153# define __glibcxx_unreachable 202202L
2154# if defined(__glibcxx_want_all) || defined(__glibcxx_want_unreachable)
2155# define __cpp_lib_unreachable 202202L
2159#undef __glibcxx_want_unreachable
2161#if !defined(__cpp_lib_algorithm_default_value_type)
2162# if (__cplusplus > 202302L)
2163# define __glibcxx_algorithm_default_value_type 202403L
2164# if defined(__glibcxx_want_all) || defined(__glibcxx_want_algorithm_default_value_type)
2165# define __cpp_lib_algorithm_default_value_type 202403L
2169#undef __glibcxx_want_algorithm_default_value_type
2171#if !defined(__cpp_lib_constexpr_new)
2172# if (__cplusplus > 202302L) && (__cpp_constexpr >= 202406L)
2173# define __glibcxx_constexpr_new 202406L
2174# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_new)
2175# define __cpp_lib_constexpr_new 202406L
2179#undef __glibcxx_want_constexpr_new
2181#if !defined(__cpp_lib_debugging)
2182# if (__cplusplus > 202302L)
2183# define __glibcxx_debugging 202403L
2184# if defined(__glibcxx_want_all) || defined(__glibcxx_want_debugging)
2185# define __cpp_lib_debugging 202403L
2189#undef __glibcxx_want_debugging
2191#if !defined(__cpp_lib_fstream_native_handle)
2192# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2193# define __glibcxx_fstream_native_handle 202306L
2194# if defined(__glibcxx_want_all) || defined(__glibcxx_want_fstream_native_handle)
2195# define __cpp_lib_fstream_native_handle 202306L
2199#undef __glibcxx_want_fstream_native_handle
2201#if !defined(__cpp_lib_is_virtual_base_of)
2202# if (__cplusplus > 202302L) && (__has_builtin(__builtin_is_virtual_base_of))
2203# define __glibcxx_is_virtual_base_of 202406L
2204# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_virtual_base_of)
2205# define __cpp_lib_is_virtual_base_of 202406L
2209#undef __glibcxx_want_is_virtual_base_of
2211#if !defined(__cpp_lib_ranges_cache_latest)
2212# if (__cplusplus > 202302L)
2213# define __glibcxx_ranges_cache_latest 202411L
2214# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_cache_latest)
2215# define __cpp_lib_ranges_cache_latest 202411L
2219#undef __glibcxx_want_ranges_cache_latest
2221#if !defined(__cpp_lib_ranges_concat)
2222# if (__cplusplus > 202302L) && (__cpp_pack_indexing)
2223# define __glibcxx_ranges_concat 202403L
2224# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_concat)
2225# define __cpp_lib_ranges_concat 202403L
2229#undef __glibcxx_want_ranges_concat
2231#if !defined(__cpp_lib_ratio)
2232# if (__cplusplus > 202302L)
2233# define __glibcxx_ratio 202306L
2234# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ratio)
2235# define __cpp_lib_ratio 202306L
2239#undef __glibcxx_want_ratio
2241#if !defined(__cpp_lib_reference_wrapper)
2242# if (__cplusplus > 202302L)
2243# define __glibcxx_reference_wrapper 202403L
2244# if defined(__glibcxx_want_all) || defined(__glibcxx_want_reference_wrapper)
2245# define __cpp_lib_reference_wrapper 202403L
2249#undef __glibcxx_want_reference_wrapper
2251#if !defined(__cpp_lib_saturation_arithmetic)
2252# if (__cplusplus > 202302L)
2253# define __glibcxx_saturation_arithmetic 202311L
2254# if defined(__glibcxx_want_all) || defined(__glibcxx_want_saturation_arithmetic)
2255# define __cpp_lib_saturation_arithmetic 202311L
2259#undef __glibcxx_want_saturation_arithmetic
2261#if !defined(__cpp_lib_span_initializer_list)
2262# if (__cplusplus > 202302L)
2263# define __glibcxx_span_initializer_list 202311L
2264# if defined(__glibcxx_want_all) || defined(__glibcxx_want_span_initializer_list)
2265# define __cpp_lib_span_initializer_list 202311L
2269#undef __glibcxx_want_span_initializer_list
2271#if !defined(__cpp_lib_text_encoding)
2272# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED && (_GLIBCXX_USE_NL_LANGINFO_L)
2273# define __glibcxx_text_encoding 202306L
2274# if defined(__glibcxx_want_all) || defined(__glibcxx_want_text_encoding)
2275# define __cpp_lib_text_encoding 202306L
2279#undef __glibcxx_want_text_encoding
2281#if !defined(__cpp_lib_ranges_to_input)
2282# if (__cplusplus > 202302L)
2283# define __glibcxx_ranges_to_input 202502L
2284# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_to_input)
2285# define __cpp_lib_ranges_to_input 202502L
2289#undef __glibcxx_want_ranges_to_input
2291#if !defined(__cpp_lib_to_string)
2292# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED && (__glibcxx_to_chars)
2293# define __glibcxx_to_string 202306L
2294# if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_string)
2295# define __cpp_lib_to_string 202306L
2299#undef __glibcxx_want_to_string
2301#if !defined(__cpp_lib_modules)
2302# if (__cplusplus >= 202002L) && (__cpp_modules)
2303# define __glibcxx_modules 202207L
2304# if defined(__glibcxx_want_all) || defined(__glibcxx_want_modules)
2305# define __cpp_lib_modules 202207L
2309#undef __glibcxx_want_modules
2311#if !defined(__cpp_lib_inplace_vector)
2312# if (__cplusplus > 202302L)
2313# define __glibcxx_inplace_vector 202406L
2314# if defined(__glibcxx_want_all) || defined(__glibcxx_want_inplace_vector)
2315# define __cpp_lib_inplace_vector 202406L
2319#undef __glibcxx_want_inplace_vector
2321#if !defined(__cpp_lib_indirect)
2322# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2323# define __glibcxx_indirect 202502L
2324# if defined(__glibcxx_want_all) || defined(__glibcxx_want_indirect)
2325# define __cpp_lib_indirect 202502L
2329#undef __glibcxx_want_indirect
2331#if !defined(__cpp_lib_polymorphic)
2332# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2333# define __glibcxx_polymorphic 202502L
2334# if defined(__glibcxx_want_all) || defined(__glibcxx_want_polymorphic)
2335# define __cpp_lib_polymorphic 202502L
2339#undef __glibcxx_want_polymorphic
2341#if !defined(__cpp_lib_smart_ptr_owner_equality)
2342# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2343# define __glibcxx_smart_ptr_owner_equality 202306L
2344# if defined(__glibcxx_want_all) || defined(__glibcxx_want_smart_ptr_owner_equality)
2345# define __cpp_lib_smart_ptr_owner_equality 202306L
2349#undef __glibcxx_want_smart_ptr_owner_equality
2351#if !defined(__cpp_lib_sstream_from_string_view)
2352# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2353# define __glibcxx_sstream_from_string_view 202306L
2354# if defined(__glibcxx_want_all) || defined(__glibcxx_want_sstream_from_string_view)
2355# define __cpp_lib_sstream_from_string_view 202306L
2359#undef __glibcxx_want_sstream_from_string_view
2361#if !defined(__cpp_lib_type_order)
2362# if (__cplusplus > 202302L) && (__has_builtin(__builtin_type_order) && __cpp_lib_three_way_comparison >= 201907L)
2363# define __glibcxx_type_order 202506L
2364# if defined(__glibcxx_want_all) || defined(__glibcxx_want_type_order)
2365# define __cpp_lib_type_order 202506L
2369#undef __glibcxx_want_type_order
2371#if !defined(__cpp_lib_exception_ptr_cast)
2372# if (__cplusplus > 202302L)
2373# define __glibcxx_exception_ptr_cast 202506L
2374# if defined(__glibcxx_want_all) || defined(__glibcxx_want_exception_ptr_cast)
2375# define __cpp_lib_exception_ptr_cast 202506L
2379#undef __glibcxx_want_exception_ptr_cast
2381#if !defined(__cpp_lib_bitset)
2382# if (__cplusplus > 202302L)
2383# define __glibcxx_bitset 202306L
2384# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bitset)
2385# define __cpp_lib_bitset 202306L
2389#undef __glibcxx_want_bitset
2391#if !defined(__cpp_lib_constexpr_exceptions)
2392# if (__cplusplus > 202302L) && (__cpp_constexpr_exceptions >= 202411L)
2393# define __glibcxx_constexpr_exceptions 1L
2394# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_exceptions)
2398#undef __glibcxx_want_constexpr_exceptions
2400#undef __glibcxx_want_all