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 > 202302L) && _GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED
670# define __glibcxx_chrono 202306L
671# if defined(__glibcxx_want_all) || defined(__glibcxx_want_chrono)
672# define __cpp_lib_chrono 202306L
674# elif (__cplusplus >= 202002L) && _GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED
675# define __glibcxx_chrono 201907L
676# if defined(__glibcxx_want_all) || defined(__glibcxx_want_chrono)
677# define __cpp_lib_chrono 201907L
679# elif (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
680# define __glibcxx_chrono 201611L
681# if defined(__glibcxx_want_all) || defined(__glibcxx_want_chrono)
682# define __cpp_lib_chrono 201611L
686#undef __glibcxx_want_chrono
688#if !defined(__cpp_lib_chrono_cxx20)
689# if (__cplusplus > 202302L)
690# define __glibcxx_chrono_cxx20 202306L
691# if defined(__glibcxx_want_all) || defined(__glibcxx_want_chrono_cxx20)
693# elif (__cplusplus >= 202002L)
694# define __glibcxx_chrono_cxx20 201800L
695# if defined(__glibcxx_want_all) || defined(__glibcxx_want_chrono_cxx20)
699#undef __glibcxx_want_chrono_cxx20
701#if !defined(__cpp_lib_execution)
702# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
703# define __glibcxx_execution 201902L
704# if defined(__glibcxx_want_all) || defined(__glibcxx_want_execution)
705# define __cpp_lib_execution 201902L
709#undef __glibcxx_want_execution
711#if !defined(__cpp_lib_filesystem)
712# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
713# define __glibcxx_filesystem 201703L
714# if defined(__glibcxx_want_all) || defined(__glibcxx_want_filesystem)
715# define __cpp_lib_filesystem 201703L
719#undef __glibcxx_want_filesystem
721#if !defined(__cpp_lib_hypot)
722# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
723# define __glibcxx_hypot 201603L
724# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hypot)
725# define __cpp_lib_hypot 201603L
729#undef __glibcxx_want_hypot
731#if !defined(__cpp_lib_map_try_emplace)
732# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
733# define __glibcxx_map_try_emplace 201411L
734# if defined(__glibcxx_want_all) || defined(__glibcxx_want_map_try_emplace)
735# define __cpp_lib_map_try_emplace 201411L
739#undef __glibcxx_want_map_try_emplace
741#if !defined(__cpp_lib_math_special_functions)
742# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
743# define __glibcxx_math_special_functions 201603L
744# if defined(__glibcxx_want_all) || defined(__glibcxx_want_math_special_functions)
745# define __cpp_lib_math_special_functions 201603L
749#undef __glibcxx_want_math_special_functions
751#if !defined(__cpp_lib_memory_resource)
752# if (__cplusplus >= 201703L) && defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED
753# define __glibcxx_memory_resource 201603L
754# if defined(__glibcxx_want_all) || defined(__glibcxx_want_memory_resource)
755# define __cpp_lib_memory_resource 201603L
757# elif (__cplusplus >= 201703L) && !defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED
758# define __glibcxx_memory_resource 1L
759# if defined(__glibcxx_want_all) || defined(__glibcxx_want_memory_resource)
760# define __cpp_lib_memory_resource 1L
764#undef __glibcxx_want_memory_resource
766#if !defined(__cpp_lib_node_extract)
767# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
768# define __glibcxx_node_extract 201606L
769# if defined(__glibcxx_want_all) || defined(__glibcxx_want_node_extract)
770# define __cpp_lib_node_extract 201606L
774#undef __glibcxx_want_node_extract
776#if !defined(__cpp_lib_parallel_algorithm)
777# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
778# define __glibcxx_parallel_algorithm 201603L
779# if defined(__glibcxx_want_all) || defined(__glibcxx_want_parallel_algorithm)
780# define __cpp_lib_parallel_algorithm 201603L
784#undef __glibcxx_want_parallel_algorithm
786#if !defined(__cpp_lib_scoped_lock)
787# if (__cplusplus >= 201703L)
788# define __glibcxx_scoped_lock 201703L
789# if defined(__glibcxx_want_all) || defined(__glibcxx_want_scoped_lock)
790# define __cpp_lib_scoped_lock 201703L
794#undef __glibcxx_want_scoped_lock
796#if !defined(__cpp_lib_shared_mutex)
797# if (__cplusplus >= 201703L) && defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED
798# define __glibcxx_shared_mutex 201505L
799# if defined(__glibcxx_want_all) || defined(__glibcxx_want_shared_mutex)
800# define __cpp_lib_shared_mutex 201505L
804#undef __glibcxx_want_shared_mutex
806#if !defined(__cpp_lib_shared_ptr_weak_type)
807# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
808# define __glibcxx_shared_ptr_weak_type 201606L
809# if defined(__glibcxx_want_all) || defined(__glibcxx_want_shared_ptr_weak_type)
810# define __cpp_lib_shared_ptr_weak_type 201606L
814#undef __glibcxx_want_shared_ptr_weak_type
816#if !defined(__cpp_lib_string_view)
817# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
818# define __glibcxx_string_view 202403L
819# if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_view)
820# define __cpp_lib_string_view 202403L
822# elif (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
823# define __glibcxx_string_view 201803L
824# if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_view)
825# define __cpp_lib_string_view 201803L
829#undef __glibcxx_want_string_view
831#if !defined(__cpp_lib_unordered_map_try_emplace)
832# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
833# define __glibcxx_unordered_map_try_emplace 201411L
834# if defined(__glibcxx_want_all) || defined(__glibcxx_want_unordered_map_try_emplace)
835# define __cpp_lib_unordered_map_try_emplace 201411L
839#undef __glibcxx_want_unordered_map_try_emplace
841#if !defined(__cpp_lib_assume_aligned)
842# if (__cplusplus >= 202002L)
843# define __glibcxx_assume_aligned 201811L
844# if defined(__glibcxx_want_all) || defined(__glibcxx_want_assume_aligned)
845# define __cpp_lib_assume_aligned 201811L
849#undef __glibcxx_want_assume_aligned
851#if !defined(__cpp_lib_is_sufficiently_aligned)
852# if (__cplusplus > 202302L)
853# define __glibcxx_is_sufficiently_aligned 202411L
854# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_sufficiently_aligned)
855# define __cpp_lib_is_sufficiently_aligned 202411L
859#undef __glibcxx_want_is_sufficiently_aligned
861#if !defined(__cpp_lib_atomic_flag_test)
862# if (__cplusplus >= 202002L)
863# define __glibcxx_atomic_flag_test 201907L
864# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_flag_test)
865# define __cpp_lib_atomic_flag_test 201907L
869#undef __glibcxx_want_atomic_flag_test
871#if !defined(__cpp_lib_atomic_float)
872# if (__cplusplus >= 202002L)
873# define __glibcxx_atomic_float 201711L
874# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_float)
875# define __cpp_lib_atomic_float 201711L
879#undef __glibcxx_want_atomic_float
881#if !defined(__cpp_lib_atomic_lock_free_type_aliases)
882# if (__cplusplus >= 202002L) && ((__GCC_ATOMIC_INT_LOCK_FREE | __GCC_ATOMIC_LONG_LOCK_FREE | __GCC_ATOMIC_CHAR_LOCK_FREE) & 2)
883# define __glibcxx_atomic_lock_free_type_aliases 201907L
884# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_lock_free_type_aliases)
885# define __cpp_lib_atomic_lock_free_type_aliases 201907L
889#undef __glibcxx_want_atomic_lock_free_type_aliases
891#if !defined(__cpp_lib_atomic_ref)
892# if (__cplusplus > 202302L)
893# define __glibcxx_atomic_ref 202411L
894# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_ref)
895# define __cpp_lib_atomic_ref 202411L
897# elif (__cplusplus >= 202002L)
898# define __glibcxx_atomic_ref 201806L
899# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_ref)
900# define __cpp_lib_atomic_ref 201806L
904#undef __glibcxx_want_atomic_ref
906#if !defined(__cpp_lib_atomic_value_initialization)
907# if (__cplusplus >= 202002L) && (__cpp_concepts >= 201907L)
908# define __glibcxx_atomic_value_initialization 201911L
909# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_value_initialization)
910# define __cpp_lib_atomic_value_initialization 201911L
914#undef __glibcxx_want_atomic_value_initialization
916#if !defined(__cpp_lib_bind_front)
917# if (__cplusplus > 202302L)
918# define __glibcxx_bind_front 202306L
919# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bind_front)
920# define __cpp_lib_bind_front 202306L
922# elif (__cplusplus >= 202002L)
923# define __glibcxx_bind_front 201907L
924# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bind_front)
925# define __cpp_lib_bind_front 201907L
929#undef __glibcxx_want_bind_front
931#if !defined(__cpp_lib_bind_back)
932# if (__cplusplus > 202302L)
933# define __glibcxx_bind_back 202306L
934# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bind_back)
935# define __cpp_lib_bind_back 202306L
937# elif (__cplusplus >= 202100L) && (__cpp_explicit_this_parameter)
938# define __glibcxx_bind_back 202202L
939# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bind_back)
940# define __cpp_lib_bind_back 202202L
944#undef __glibcxx_want_bind_back
946#if !defined(__cpp_lib_starts_ends_with)
947# if (__cplusplus >= 202002L)
948# define __glibcxx_starts_ends_with 201711L
949# if defined(__glibcxx_want_all) || defined(__glibcxx_want_starts_ends_with)
950# define __cpp_lib_starts_ends_with 201711L
954#undef __glibcxx_want_starts_ends_with
956#if !defined(__cpp_lib_bit_cast)
957# if (__cplusplus >= 202002L) && (__has_builtin(__builtin_bit_cast))
958# define __glibcxx_bit_cast 201806L
959# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bit_cast)
960# define __cpp_lib_bit_cast 201806L
964#undef __glibcxx_want_bit_cast
966#if !defined(__cpp_lib_bitops)
967# if (__cplusplus >= 202002L)
968# define __glibcxx_bitops 201907L
969# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bitops)
970# define __cpp_lib_bitops 201907L
974#undef __glibcxx_want_bitops
976#if !defined(__cpp_lib_bounded_array_traits)
977# if (__cplusplus >= 202002L)
978# define __glibcxx_bounded_array_traits 201902L
979# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bounded_array_traits)
980# define __cpp_lib_bounded_array_traits 201902L
984#undef __glibcxx_want_bounded_array_traits
986#if !defined(__cpp_lib_concepts)
987# if (__cplusplus >= 202002L) && (__cpp_concepts >= 201907L)
988# define __glibcxx_concepts 202002L
989# if defined(__glibcxx_want_all) || defined(__glibcxx_want_concepts)
990# define __cpp_lib_concepts 202002L
994#undef __glibcxx_want_concepts
996#if !defined(__cpp_lib_optional)
997# if (__cplusplus > 202302L) && (__glibcxx_concepts)
998# define __glibcxx_optional 202506L
999# if defined(__glibcxx_want_all) || defined(__glibcxx_want_optional)
1000# define __cpp_lib_optional 202506L
1002# elif (__cplusplus >= 202100L) && (__glibcxx_concepts)
1003# define __glibcxx_optional 202110L
1004# if defined(__glibcxx_want_all) || defined(__glibcxx_want_optional)
1005# define __cpp_lib_optional 202110L
1007# elif (__cplusplus >= 202002L)
1008# define __glibcxx_optional 202106L
1009# if defined(__glibcxx_want_all) || defined(__glibcxx_want_optional)
1010# define __cpp_lib_optional 202106L
1012# elif (__cplusplus >= 201703L)
1013# define __glibcxx_optional 201606L
1014# if defined(__glibcxx_want_all) || defined(__glibcxx_want_optional)
1015# define __cpp_lib_optional 201606L
1019#undef __glibcxx_want_optional
1021#if !defined(__cpp_lib_optional_range_support)
1022# if (__cplusplus > 202302L)
1023# define __glibcxx_optional_range_support 202406L
1024# if defined(__glibcxx_want_all) || defined(__glibcxx_want_optional_range_support)
1025# define __cpp_lib_optional_range_support 202406L
1029#undef __glibcxx_want_optional_range_support
1031#if !defined(__cpp_lib_destroying_delete)
1032# if (__cplusplus >= 202002L) && (__cpp_impl_destroying_delete)
1033# define __glibcxx_destroying_delete 201806L
1034# if defined(__glibcxx_want_all) || defined(__glibcxx_want_destroying_delete)
1035# define __cpp_lib_destroying_delete 201806L
1039#undef __glibcxx_want_destroying_delete
1041#if !defined(__cpp_lib_constexpr_string_view)
1042# if (__cplusplus >= 202002L)
1043# define __glibcxx_constexpr_string_view 201811L
1044# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_string_view)
1045# define __cpp_lib_constexpr_string_view 201811L
1049#undef __glibcxx_want_constexpr_string_view
1051#if !defined(__cpp_lib_endian)
1052# if (__cplusplus >= 202002L)
1053# define __glibcxx_endian 201907L
1054# if defined(__glibcxx_want_all) || defined(__glibcxx_want_endian)
1055# define __cpp_lib_endian 201907L
1059#undef __glibcxx_want_endian
1061#if !defined(__cpp_lib_int_pow2)
1062# if (__cplusplus >= 202002L)
1063# define __glibcxx_int_pow2 202002L
1064# if defined(__glibcxx_want_all) || defined(__glibcxx_want_int_pow2)
1065# define __cpp_lib_int_pow2 202002L
1069#undef __glibcxx_want_int_pow2
1071#if !defined(__cpp_lib_integer_comparison_functions)
1072# if (__cplusplus >= 202002L)
1073# define __glibcxx_integer_comparison_functions 202002L
1074# if defined(__glibcxx_want_all) || defined(__glibcxx_want_integer_comparison_functions)
1075# define __cpp_lib_integer_comparison_functions 202002L
1079#undef __glibcxx_want_integer_comparison_functions
1081#if !defined(__cpp_lib_is_constant_evaluated)
1082# if (__cplusplus >= 202002L) && (defined(_GLIBCXX_HAVE_IS_CONSTANT_EVALUATED))
1083# define __glibcxx_is_constant_evaluated 201811L
1084# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_constant_evaluated)
1085# define __cpp_lib_is_constant_evaluated 201811L
1089#undef __glibcxx_want_is_constant_evaluated
1091#if !defined(__cpp_lib_constexpr_char_traits)
1092# if (__cplusplus >= 202002L) && (defined(__glibcxx_is_constant_evaluated))
1093# define __glibcxx_constexpr_char_traits 201811L
1094# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_char_traits)
1095# define __cpp_lib_constexpr_char_traits 201811L
1097# elif (__cplusplus >= 201703L) && (_GLIBCXX_HAVE_IS_CONSTANT_EVALUATED)
1098# define __glibcxx_constexpr_char_traits 201611L
1099# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_char_traits)
1100# define __cpp_lib_constexpr_char_traits 201611L
1104#undef __glibcxx_want_constexpr_char_traits
1106#if !defined(__cpp_lib_is_layout_compatible)
1107# if (__cplusplus >= 202002L) && (__has_builtin(__is_layout_compatible) && __has_builtin(__builtin_is_corresponding_member))
1108# define __glibcxx_is_layout_compatible 201907L
1109# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_layout_compatible)
1110# define __cpp_lib_is_layout_compatible 201907L
1114#undef __glibcxx_want_is_layout_compatible
1116#if !defined(__cpp_lib_is_nothrow_convertible)
1117# if (__cplusplus >= 202002L)
1118# define __glibcxx_is_nothrow_convertible 201806L
1119# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_nothrow_convertible)
1120# define __cpp_lib_is_nothrow_convertible 201806L
1124#undef __glibcxx_want_is_nothrow_convertible
1126#if !defined(__cpp_lib_is_pointer_interconvertible)
1127# if (__cplusplus >= 202002L) && (__has_builtin(__is_pointer_interconvertible_base_of) && __has_builtin(__builtin_is_pointer_interconvertible_with_class))
1128# define __glibcxx_is_pointer_interconvertible 201907L
1129# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_pointer_interconvertible)
1130# define __cpp_lib_is_pointer_interconvertible 201907L
1134#undef __glibcxx_want_is_pointer_interconvertible
1136#if !defined(__cpp_lib_math_constants)
1137# if (__cplusplus >= 202002L)
1138# define __glibcxx_math_constants 201907L
1139# if defined(__glibcxx_want_all) || defined(__glibcxx_want_math_constants)
1140# define __cpp_lib_math_constants 201907L
1144#undef __glibcxx_want_math_constants
1146#if !defined(__cpp_lib_make_obj_using_allocator)
1147# if (__cplusplus >= 202002L) && (__cpp_concepts)
1148# define __glibcxx_make_obj_using_allocator 201811L
1149# if defined(__glibcxx_want_all) || defined(__glibcxx_want_make_obj_using_allocator)
1153#undef __glibcxx_want_make_obj_using_allocator
1155#if !defined(__cpp_lib_remove_cvref)
1156# if (__cplusplus >= 202002L)
1157# define __glibcxx_remove_cvref 201711L
1158# if defined(__glibcxx_want_all) || defined(__glibcxx_want_remove_cvref)
1159# define __cpp_lib_remove_cvref 201711L
1163#undef __glibcxx_want_remove_cvref
1165#if !defined(__cpp_lib_source_location)
1166# if (__cplusplus >= 202002L) && (__has_builtin(__builtin_source_location))
1167# define __glibcxx_source_location 201907L
1168# if defined(__glibcxx_want_all) || defined(__glibcxx_want_source_location)
1169# define __cpp_lib_source_location 201907L
1173#undef __glibcxx_want_source_location
1175#if !defined(__cpp_lib_span)
1176# if (__cplusplus > 202302L) && (__glibcxx_concepts)
1177# define __glibcxx_span 202311L
1178# if defined(__glibcxx_want_all) || defined(__glibcxx_want_span)
1179# define __cpp_lib_span 202311L
1181# elif (__cplusplus >= 202002L) && (__glibcxx_concepts)
1182# define __glibcxx_span 202002L
1183# if defined(__glibcxx_want_all) || defined(__glibcxx_want_span)
1184# define __cpp_lib_span 202002L
1188#undef __glibcxx_want_span
1190#if !defined(__cpp_lib_mdspan)
1191# if (__cplusplus > 202302L)
1192# define __glibcxx_mdspan 202406L
1193# if defined(__glibcxx_want_all) || defined(__glibcxx_want_mdspan)
1194# define __cpp_lib_mdspan 202406L
1196# elif (__cplusplus >= 202100L)
1197# define __glibcxx_mdspan 202207L
1198# if defined(__glibcxx_want_all) || defined(__glibcxx_want_mdspan)
1199# define __cpp_lib_mdspan 202207L
1203#undef __glibcxx_want_mdspan
1205#if !defined(__cpp_lib_aligned_accessor)
1206# if (__cplusplus > 202302L) && (__glibcxx_assume_aligned && __glibcxx_is_sufficiently_aligned)
1207# define __glibcxx_aligned_accessor 202411L
1208# if defined(__glibcxx_want_all) || defined(__glibcxx_want_aligned_accessor)
1209# define __cpp_lib_aligned_accessor 202411L
1213#undef __glibcxx_want_aligned_accessor
1215#if !defined(__cpp_lib_padded_layouts)
1216# if (__cplusplus > 202302L)
1217# define __glibcxx_padded_layouts 1L
1218# if defined(__glibcxx_want_all) || defined(__glibcxx_want_padded_layouts)
1222#undef __glibcxx_want_padded_layouts
1224#if !defined(__cpp_lib_submdspan)
1225# if (__cplusplus > 202302L)
1226# define __glibcxx_submdspan 1L
1227# if defined(__glibcxx_want_all) || defined(__glibcxx_want_submdspan)
1231#undef __glibcxx_want_submdspan
1233#if !defined(__cpp_lib_ssize)
1234# if (__cplusplus >= 202002L)
1235# define __glibcxx_ssize 201902L
1236# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ssize)
1237# define __cpp_lib_ssize 201902L
1241#undef __glibcxx_want_ssize
1243#if !defined(__cpp_lib_three_way_comparison)
1244# if (__cplusplus >= 202002L) && (__cpp_impl_three_way_comparison >= 201907L && __glibcxx_concepts)
1245# define __glibcxx_three_way_comparison 201907L
1246# if defined(__glibcxx_want_all) || defined(__glibcxx_want_three_way_comparison)
1247# define __cpp_lib_three_way_comparison 201907L
1251#undef __glibcxx_want_three_way_comparison
1253#if !defined(__cpp_lib_to_address)
1254# if (__cplusplus >= 202002L)
1255# define __glibcxx_to_address 201711L
1256# if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_address)
1257# define __cpp_lib_to_address 201711L
1261#undef __glibcxx_want_to_address
1263#if !defined(__cpp_lib_to_array)
1264# if (__cplusplus >= 202002L) && (__cpp_generic_lambdas >= 201707L)
1265# define __glibcxx_to_array 201907L
1266# if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_array)
1267# define __cpp_lib_to_array 201907L
1271#undef __glibcxx_want_to_array
1273#if !defined(__cpp_lib_type_identity)
1274# if (__cplusplus >= 202002L)
1275# define __glibcxx_type_identity 201806L
1276# if defined(__glibcxx_want_all) || defined(__glibcxx_want_type_identity)
1277# define __cpp_lib_type_identity 201806L
1281#undef __glibcxx_want_type_identity
1283#if !defined(__cpp_lib_unwrap_ref)
1284# if (__cplusplus >= 202002L)
1285# define __glibcxx_unwrap_ref 201811L
1286# if defined(__glibcxx_want_all) || defined(__glibcxx_want_unwrap_ref)
1287# define __cpp_lib_unwrap_ref 201811L
1291#undef __glibcxx_want_unwrap_ref
1293#if !defined(__cpp_lib_constexpr_iterator)
1294# if (__cplusplus >= 202002L)
1295# define __glibcxx_constexpr_iterator 201811L
1296# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_iterator)
1297# define __cpp_lib_constexpr_iterator 201811L
1301#undef __glibcxx_want_constexpr_iterator
1303#if !defined(__cpp_lib_interpolate)
1304# if (__cplusplus >= 202002L)
1305# define __glibcxx_interpolate 201902L
1306# if defined(__glibcxx_want_all) || defined(__glibcxx_want_interpolate)
1307# define __cpp_lib_interpolate 201902L
1311#undef __glibcxx_want_interpolate
1313#if !defined(__cpp_lib_constexpr_utility)
1314# if (__cplusplus >= 202002L)
1315# define __glibcxx_constexpr_utility 201811L
1316# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_utility)
1317# define __cpp_lib_constexpr_utility 201811L
1321#undef __glibcxx_want_constexpr_utility
1323#if !defined(__cpp_lib_shift)
1324# if (__cplusplus >= 202100L)
1325# define __glibcxx_shift 202202L
1326# if defined(__glibcxx_want_all) || defined(__glibcxx_want_shift)
1327# define __cpp_lib_shift 202202L
1329# elif (__cplusplus >= 202002L)
1330# define __glibcxx_shift 201806L
1331# if defined(__glibcxx_want_all) || defined(__glibcxx_want_shift)
1332# define __cpp_lib_shift 201806L
1336#undef __glibcxx_want_shift
1338#if !defined(__cpp_lib_ranges)
1339# if (__cplusplus > 202302L) && (__glibcxx_concepts)
1340# define __glibcxx_ranges 202406L
1341# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges)
1342# define __cpp_lib_ranges 202406L
1344# elif (__cplusplus >= 202100L) && (__glibcxx_concepts)
1345# define __glibcxx_ranges 202302L
1346# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges)
1347# define __cpp_lib_ranges 202302L
1349# elif (__cplusplus >= 202002L) && (__glibcxx_concepts)
1350# define __glibcxx_ranges 202110L
1351# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges)
1352# define __cpp_lib_ranges 202110L
1356#undef __glibcxx_want_ranges
1358#if !defined(__cpp_lib_constexpr_numeric)
1359# if (__cplusplus >= 202002L)
1360# define __glibcxx_constexpr_numeric 201911L
1361# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_numeric)
1362# define __cpp_lib_constexpr_numeric 201911L
1366#undef __glibcxx_want_constexpr_numeric
1368#if !defined(__cpp_lib_constexpr_functional)
1369# if (__cplusplus >= 202002L)
1370# define __glibcxx_constexpr_functional 201907L
1371# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_functional)
1372# define __cpp_lib_constexpr_functional 201907L
1376#undef __glibcxx_want_constexpr_functional
1378#if !defined(__cpp_lib_constexpr_algorithms)
1379# if (__cplusplus > 202302L)
1380# define __glibcxx_constexpr_algorithms 202306L
1381# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_algorithms)
1382# define __cpp_lib_constexpr_algorithms 202306L
1384# elif (__cplusplus >= 202002L)
1385# define __glibcxx_constexpr_algorithms 201806L
1386# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_algorithms)
1387# define __cpp_lib_constexpr_algorithms 201806L
1391#undef __glibcxx_want_constexpr_algorithms
1393#if !defined(__cpp_lib_constexpr_tuple)
1394# if (__cplusplus >= 202002L)
1395# define __glibcxx_constexpr_tuple 201811L
1396# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_tuple)
1397# define __cpp_lib_constexpr_tuple 201811L
1401#undef __glibcxx_want_constexpr_tuple
1403#if !defined(__cpp_lib_constexpr_memory)
1404# if (__cplusplus >= 202100L) && (__cpp_constexpr_dynamic_alloc)
1405# define __glibcxx_constexpr_memory 202202L
1406# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_memory)
1407# define __cpp_lib_constexpr_memory 202202L
1409# elif (__cplusplus >= 202002L)
1410# define __glibcxx_constexpr_memory 201811L
1411# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_memory)
1412# define __cpp_lib_constexpr_memory 201811L
1416#undef __glibcxx_want_constexpr_memory
1418#if !defined(__cpp_lib_atomic_shared_ptr)
1419# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1420# define __glibcxx_atomic_shared_ptr 201711L
1421# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_shared_ptr)
1422# define __cpp_lib_atomic_shared_ptr 201711L
1426#undef __glibcxx_want_atomic_shared_ptr
1428#if !defined(__cpp_lib_atomic_wait)
1429# if (__cplusplus >= 202002L) && defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED
1430# define __glibcxx_atomic_wait 201907L
1431# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_wait)
1432# define __cpp_lib_atomic_wait 201907L
1434# elif (__cplusplus >= 202002L) && !defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED && (defined(_GLIBCXX_HAVE_LINUX_FUTEX))
1435# define __glibcxx_atomic_wait 201907L
1436# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_wait)
1437# define __cpp_lib_atomic_wait 201907L
1441#undef __glibcxx_want_atomic_wait
1443#if !defined(__cpp_lib_barrier)
1444# if (__cplusplus >= 202002L) && (__cpp_aligned_new && __glibcxx_atomic_wait)
1445# define __glibcxx_barrier 201907L
1446# if defined(__glibcxx_want_all) || defined(__glibcxx_want_barrier)
1447# define __cpp_lib_barrier 201907L
1451#undef __glibcxx_want_barrier
1453#if !defined(__cpp_lib_format)
1454# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
1455# define __glibcxx_format 202311L
1456# if defined(__glibcxx_want_all) || defined(__glibcxx_want_format)
1457# define __cpp_lib_format 202311L
1459# elif (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1460# define __glibcxx_format 202304L
1461# if defined(__glibcxx_want_all) || defined(__glibcxx_want_format)
1462# define __cpp_lib_format 202304L
1466#undef __glibcxx_want_format
1468#if !defined(__cpp_lib_format_uchar)
1469# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1470# define __glibcxx_format_uchar 202311L
1471# if defined(__glibcxx_want_all) || defined(__glibcxx_want_format_uchar)
1472# define __cpp_lib_format_uchar 202311L
1476#undef __glibcxx_want_format_uchar
1478#if !defined(__cpp_lib_constexpr_complex)
1479# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1480# define __glibcxx_constexpr_complex 201711L
1481# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_complex)
1482# define __cpp_lib_constexpr_complex 201711L
1486#undef __glibcxx_want_constexpr_complex
1488#if !defined(__cpp_lib_constexpr_dynamic_alloc)
1489# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1490# define __glibcxx_constexpr_dynamic_alloc 201907L
1491# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_dynamic_alloc)
1492# define __cpp_lib_constexpr_dynamic_alloc 201907L
1496#undef __glibcxx_want_constexpr_dynamic_alloc
1498#if !defined(__cpp_lib_constexpr_string)
1499# if (__cplusplus >= 202002L) && _GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED && (defined(__glibcxx_is_constant_evaluated))
1500# define __glibcxx_constexpr_string 201907L
1501# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_string)
1502# define __cpp_lib_constexpr_string 201907L
1504# elif (__cplusplus >= 202002L) && !_GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED && (defined(__glibcxx_is_constant_evaluated))
1505# define __glibcxx_constexpr_string 201811L
1506# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_string)
1507# define __cpp_lib_constexpr_string 201811L
1509# elif (__cplusplus >= 201703L) && _GLIBCXX_HOSTED && (_GLIBCXX_HAVE_IS_CONSTANT_EVALUATED)
1510# define __glibcxx_constexpr_string 201611L
1511# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_string)
1512# define __cpp_lib_constexpr_string 201611L
1516#undef __glibcxx_want_constexpr_string
1518#if !defined(__cpp_lib_constexpr_vector)
1519# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1520# define __glibcxx_constexpr_vector 201907L
1521# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_vector)
1522# define __cpp_lib_constexpr_vector 201907L
1526#undef __glibcxx_want_constexpr_vector
1528#if !defined(__cpp_lib_constrained_equality)
1529# if (__cplusplus >= 202100L) && (__glibcxx_three_way_comparison)
1530# define __glibcxx_constrained_equality 202411L
1531# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constrained_equality)
1532# define __cpp_lib_constrained_equality 202411L
1534# elif (__cplusplus >= 202002L) && (__glibcxx_three_way_comparison)
1535# define __glibcxx_constrained_equality 202403L
1536# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constrained_equality)
1537# define __cpp_lib_constrained_equality 202403L
1541#undef __glibcxx_want_constrained_equality
1543#if !defined(__cpp_lib_erase_if)
1544# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1545# define __glibcxx_erase_if 202002L
1546# if defined(__glibcxx_want_all) || defined(__glibcxx_want_erase_if)
1547# define __cpp_lib_erase_if 202002L
1551#undef __glibcxx_want_erase_if
1553#if !defined(__cpp_lib_generic_unordered_lookup)
1554# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1555# define __glibcxx_generic_unordered_lookup 201811L
1556# if defined(__glibcxx_want_all) || defined(__glibcxx_want_generic_unordered_lookup)
1557# define __cpp_lib_generic_unordered_lookup 201811L
1561#undef __glibcxx_want_generic_unordered_lookup
1563#if !defined(__cpp_lib_jthread)
1564# if (__cplusplus >= 202002L) && defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED
1565# define __glibcxx_jthread 201911L
1566# if defined(__glibcxx_want_all) || defined(__glibcxx_want_jthread)
1567# define __cpp_lib_jthread 201911L
1571#undef __glibcxx_want_jthread
1573#if !defined(__cpp_lib_latch)
1574# if (__cplusplus >= 202002L) && (__glibcxx_atomic_wait)
1575# define __glibcxx_latch 201907L
1576# if defined(__glibcxx_want_all) || defined(__glibcxx_want_latch)
1577# define __cpp_lib_latch 201907L
1581#undef __glibcxx_want_latch
1583#if !defined(__cpp_lib_list_remove_return_type)
1584# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1585# define __glibcxx_list_remove_return_type 201806L
1586# if defined(__glibcxx_want_all) || defined(__glibcxx_want_list_remove_return_type)
1587# define __cpp_lib_list_remove_return_type 201806L
1591#undef __glibcxx_want_list_remove_return_type
1593#if !defined(__cpp_lib_polymorphic_allocator)
1594# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1595# define __glibcxx_polymorphic_allocator 201902L
1596# if defined(__glibcxx_want_all) || defined(__glibcxx_want_polymorphic_allocator)
1597# define __cpp_lib_polymorphic_allocator 201902L
1601#undef __glibcxx_want_polymorphic_allocator
1603#if !defined(__cpp_lib_move_iterator_concept)
1604# if (__cplusplus >= 202002L) && (__glibcxx_concepts)
1605# define __glibcxx_move_iterator_concept 202207L
1606# if defined(__glibcxx_want_all) || defined(__glibcxx_want_move_iterator_concept)
1607# define __cpp_lib_move_iterator_concept 202207L
1611#undef __glibcxx_want_move_iterator_concept
1613#if !defined(__cpp_lib_semaphore)
1614# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED && (__glibcxx_atomic_wait)
1615# define __glibcxx_semaphore 201907L
1616# if defined(__glibcxx_want_all) || defined(__glibcxx_want_semaphore)
1617# define __cpp_lib_semaphore 201907L
1621#undef __glibcxx_want_semaphore
1623#if !defined(__cpp_lib_smart_ptr_for_overwrite)
1624# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1625# define __glibcxx_smart_ptr_for_overwrite 202002L
1626# if defined(__glibcxx_want_all) || defined(__glibcxx_want_smart_ptr_for_overwrite)
1627# define __cpp_lib_smart_ptr_for_overwrite 202002L
1631#undef __glibcxx_want_smart_ptr_for_overwrite
1633#if !defined(__cpp_lib_syncbuf)
1634# if (__cplusplus >= 202002L) && _GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED
1635# define __glibcxx_syncbuf 201803L
1636# if defined(__glibcxx_want_all) || defined(__glibcxx_want_syncbuf)
1637# define __cpp_lib_syncbuf 201803L
1641#undef __glibcxx_want_syncbuf
1643#if !defined(__cpp_lib_byteswap)
1644# if (__cplusplus >= 202100L)
1645# define __glibcxx_byteswap 202110L
1646# if defined(__glibcxx_want_all) || defined(__glibcxx_want_byteswap)
1647# define __cpp_lib_byteswap 202110L
1651#undef __glibcxx_want_byteswap
1653#if !defined(__cpp_lib_constexpr_charconv)
1654# if (__cplusplus >= 202100L)
1655# define __glibcxx_constexpr_charconv 202207L
1656# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_charconv)
1657# define __cpp_lib_constexpr_charconv 202207L
1661#undef __glibcxx_want_constexpr_charconv
1663#if !defined(__cpp_lib_constexpr_typeinfo)
1664# if (__cplusplus >= 202100L)
1665# define __glibcxx_constexpr_typeinfo 202106L
1666# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_typeinfo)
1667# define __cpp_lib_constexpr_typeinfo 202106L
1671#undef __glibcxx_want_constexpr_typeinfo
1673#if !defined(__cpp_lib_expected)
1674# if (__cplusplus >= 202100L) && (__cpp_concepts >= 202002L)
1675# define __glibcxx_expected 202211L
1676# if defined(__glibcxx_want_all) || defined(__glibcxx_want_expected)
1677# define __cpp_lib_expected 202211L
1681#undef __glibcxx_want_expected
1683#if !defined(__cpp_lib_format_ranges)
1684# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
1685# define __glibcxx_format_ranges 202207L
1686# if defined(__glibcxx_want_all) || defined(__glibcxx_want_format_ranges)
1687# define __cpp_lib_format_ranges 202207L
1691#undef __glibcxx_want_format_ranges
1693#if !defined(__cpp_lib_freestanding_algorithm)
1694# if (__cplusplus >= 202100L)
1695# define __glibcxx_freestanding_algorithm 202311L
1696# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_algorithm)
1697# define __cpp_lib_freestanding_algorithm 202311L
1701#undef __glibcxx_want_freestanding_algorithm
1703#if !defined(__cpp_lib_freestanding_array)
1704# if (__cplusplus >= 202100L)
1705# define __glibcxx_freestanding_array 202311L
1706# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_array)
1707# define __cpp_lib_freestanding_array 202311L
1711#undef __glibcxx_want_freestanding_array
1713#if !defined(__cpp_lib_freestanding_cstring)
1714# if (__cplusplus >= 202100L)
1715# define __glibcxx_freestanding_cstring 202311L
1716# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_cstring)
1717# define __cpp_lib_freestanding_cstring 202311L
1721#undef __glibcxx_want_freestanding_cstring
1723#if !defined(__cpp_lib_freestanding_expected)
1724# if (__cplusplus >= 202100L) && (__cpp_lib_expected)
1725# define __glibcxx_freestanding_expected 202311L
1726# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_expected)
1727# define __cpp_lib_freestanding_expected 202311L
1731#undef __glibcxx_want_freestanding_expected
1733#if !defined(__cpp_lib_freestanding_optional)
1734# if (__cplusplus >= 202100L)
1735# define __glibcxx_freestanding_optional 202311L
1736# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_optional)
1737# define __cpp_lib_freestanding_optional 202311L
1741#undef __glibcxx_want_freestanding_optional
1743#if !defined(__cpp_lib_freestanding_string_view)
1744# if (__cplusplus >= 202100L)
1745# define __glibcxx_freestanding_string_view 202311L
1746# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_string_view)
1747# define __cpp_lib_freestanding_string_view 202311L
1751#undef __glibcxx_want_freestanding_string_view
1753#if !defined(__cpp_lib_freestanding_variant)
1754# if (__cplusplus >= 202100L)
1755# define __glibcxx_freestanding_variant 202311L
1756# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_variant)
1757# define __cpp_lib_freestanding_variant 202311L
1761#undef __glibcxx_want_freestanding_variant
1763#if !defined(__cpp_lib_invoke_r)
1764# if (__cplusplus >= 202100L)
1765# define __glibcxx_invoke_r 202106L
1766# if defined(__glibcxx_want_all) || defined(__glibcxx_want_invoke_r)
1767# define __cpp_lib_invoke_r 202106L
1771#undef __glibcxx_want_invoke_r
1773#if !defined(__cpp_lib_is_scoped_enum)
1774# if (__cplusplus >= 202100L)
1775# define __glibcxx_is_scoped_enum 202011L
1776# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_scoped_enum)
1777# define __cpp_lib_is_scoped_enum 202011L
1781#undef __glibcxx_want_is_scoped_enum
1783#if !defined(__cpp_lib_reference_from_temporary)
1784# if (__cplusplus >= 202100L) && (__has_builtin(__reference_constructs_from_temporary) && __has_builtin(__reference_converts_from_temporary))
1785# define __glibcxx_reference_from_temporary 202202L
1786# if defined(__glibcxx_want_all) || defined(__glibcxx_want_reference_from_temporary)
1787# define __cpp_lib_reference_from_temporary 202202L
1791#undef __glibcxx_want_reference_from_temporary
1793#if !defined(__cpp_lib_containers_ranges)
1794# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
1795# define __glibcxx_containers_ranges 202202L
1796# if defined(__glibcxx_want_all) || defined(__glibcxx_want_containers_ranges)
1797# define __cpp_lib_containers_ranges 202202L
1801#undef __glibcxx_want_containers_ranges
1803#if !defined(__cpp_lib_ranges_to_container)
1804# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
1805# define __glibcxx_ranges_to_container 202202L
1806# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_to_container)
1807# define __cpp_lib_ranges_to_container 202202L
1811#undef __glibcxx_want_ranges_to_container
1813#if !defined(__cpp_lib_ranges_zip)
1814# if (__cplusplus >= 202100L)
1815# define __glibcxx_ranges_zip 202110L
1816# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_zip)
1817# define __cpp_lib_ranges_zip 202110L
1821#undef __glibcxx_want_ranges_zip
1823#if !defined(__cpp_lib_ranges_chunk)
1824# if (__cplusplus >= 202100L)
1825# define __glibcxx_ranges_chunk 202202L
1826# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_chunk)
1827# define __cpp_lib_ranges_chunk 202202L
1831#undef __glibcxx_want_ranges_chunk
1833#if !defined(__cpp_lib_ranges_slide)
1834# if (__cplusplus >= 202100L)
1835# define __glibcxx_ranges_slide 202202L
1836# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_slide)
1837# define __cpp_lib_ranges_slide 202202L
1841#undef __glibcxx_want_ranges_slide
1843#if !defined(__cpp_lib_ranges_chunk_by)
1844# if (__cplusplus >= 202100L)
1845# define __glibcxx_ranges_chunk_by 202202L
1846# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_chunk_by)
1847# define __cpp_lib_ranges_chunk_by 202202L
1851#undef __glibcxx_want_ranges_chunk_by
1853#if !defined(__cpp_lib_ranges_join_with)
1854# if (__cplusplus >= 202100L)
1855# define __glibcxx_ranges_join_with 202202L
1856# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_join_with)
1857# define __cpp_lib_ranges_join_with 202202L
1861#undef __glibcxx_want_ranges_join_with
1863#if !defined(__cpp_lib_ranges_repeat)
1864# if (__cplusplus >= 202100L)
1865# define __glibcxx_ranges_repeat 202207L
1866# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_repeat)
1867# define __cpp_lib_ranges_repeat 202207L
1871#undef __glibcxx_want_ranges_repeat
1873#if !defined(__cpp_lib_ranges_stride)
1874# if (__cplusplus >= 202100L)
1875# define __glibcxx_ranges_stride 202207L
1876# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_stride)
1877# define __cpp_lib_ranges_stride 202207L
1881#undef __glibcxx_want_ranges_stride
1883#if !defined(__cpp_lib_ranges_cartesian_product)
1884# if (__cplusplus >= 202100L)
1885# define __glibcxx_ranges_cartesian_product 202207L
1886# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_cartesian_product)
1887# define __cpp_lib_ranges_cartesian_product 202207L
1891#undef __glibcxx_want_ranges_cartesian_product
1893#if !defined(__cpp_lib_ranges_as_rvalue)
1894# if (__cplusplus >= 202100L)
1895# define __glibcxx_ranges_as_rvalue 202207L
1896# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_as_rvalue)
1897# define __cpp_lib_ranges_as_rvalue 202207L
1901#undef __glibcxx_want_ranges_as_rvalue
1903#if !defined(__cpp_lib_ranges_as_const)
1904# if (__cplusplus >= 202100L)
1905# define __glibcxx_ranges_as_const 202311L
1906# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_as_const)
1907# define __cpp_lib_ranges_as_const 202311L
1911#undef __glibcxx_want_ranges_as_const
1913#if !defined(__cpp_lib_ranges_enumerate)
1914# if (__cplusplus >= 202100L)
1915# define __glibcxx_ranges_enumerate 202302L
1916# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_enumerate)
1917# define __cpp_lib_ranges_enumerate 202302L
1921#undef __glibcxx_want_ranges_enumerate
1923#if !defined(__cpp_lib_ranges_fold)
1924# if (__cplusplus >= 202100L)
1925# define __glibcxx_ranges_fold 202207L
1926# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_fold)
1927# define __cpp_lib_ranges_fold 202207L
1931#undef __glibcxx_want_ranges_fold
1933#if !defined(__cpp_lib_ranges_contains)
1934# if (__cplusplus >= 202100L)
1935# define __glibcxx_ranges_contains 202207L
1936# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_contains)
1937# define __cpp_lib_ranges_contains 202207L
1941#undef __glibcxx_want_ranges_contains
1943#if !defined(__cpp_lib_ranges_iota)
1944# if (__cplusplus >= 202100L)
1945# define __glibcxx_ranges_iota 202202L
1946# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_iota)
1947# define __cpp_lib_ranges_iota 202202L
1951#undef __glibcxx_want_ranges_iota
1953#if !defined(__cpp_lib_ranges_find_last)
1954# if (__cplusplus >= 202100L)
1955# define __glibcxx_ranges_find_last 202207L
1956# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_find_last)
1957# define __cpp_lib_ranges_find_last 202207L
1961#undef __glibcxx_want_ranges_find_last
1963#if !defined(__cpp_lib_ranges_starts_ends_with)
1964# if (__cplusplus >= 202100L)
1965# define __glibcxx_ranges_starts_ends_with 202106L
1966# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_starts_ends_with)
1967# define __cpp_lib_ranges_starts_ends_with 202106L
1971#undef __glibcxx_want_ranges_starts_ends_with
1973#if !defined(__cpp_lib_ranges_indices)
1974# if (__cplusplus > 202302L)
1975# define __glibcxx_ranges_indices 202506L
1976# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_indices)
1977# define __cpp_lib_ranges_indices 202506L
1981#undef __glibcxx_want_ranges_indices
1983#if !defined(__cpp_lib_constexpr_bitset)
1984# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED && (__cpp_constexpr_dynamic_alloc)
1985# define __glibcxx_constexpr_bitset 202202L
1986# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_bitset)
1987# define __cpp_lib_constexpr_bitset 202202L
1991#undef __glibcxx_want_constexpr_bitset
1993#if !defined(__cpp_lib_stdatomic_h)
1994# if (__cplusplus >= 202100L)
1995# define __glibcxx_stdatomic_h 202011L
1996# if defined(__glibcxx_want_all) || defined(__glibcxx_want_stdatomic_h)
1997# define __cpp_lib_stdatomic_h 202011L
2001#undef __glibcxx_want_stdatomic_h
2003#if !defined(__cpp_lib_adaptor_iterator_pair_constructor)
2004# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
2005# define __glibcxx_adaptor_iterator_pair_constructor 202106L
2006# if defined(__glibcxx_want_all) || defined(__glibcxx_want_adaptor_iterator_pair_constructor)
2007# define __cpp_lib_adaptor_iterator_pair_constructor 202106L
2011#undef __glibcxx_want_adaptor_iterator_pair_constructor
2013#if !defined(__cpp_lib_flat_map)
2014# if (__cplusplus >= 202100L)
2015# define __glibcxx_flat_map 202207L
2016# if defined(__glibcxx_want_all) || defined(__glibcxx_want_flat_map)
2017# define __cpp_lib_flat_map 202207L
2021#undef __glibcxx_want_flat_map
2023#if !defined(__cpp_lib_flat_set)
2024# if (__cplusplus >= 202100L)
2025# define __glibcxx_flat_set 202207L
2026# if defined(__glibcxx_want_all) || defined(__glibcxx_want_flat_set)
2027# define __cpp_lib_flat_set 202207L
2031#undef __glibcxx_want_flat_set
2033#if !defined(__cpp_lib_formatters)
2034# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
2035# define __glibcxx_formatters 202302L
2036# if defined(__glibcxx_want_all) || defined(__glibcxx_want_formatters)
2037# define __cpp_lib_formatters 202302L
2041#undef __glibcxx_want_formatters
2043#if !defined(__cpp_lib_forward_like)
2044# if (__cplusplus >= 202100L)
2045# define __glibcxx_forward_like 202207L
2046# if defined(__glibcxx_want_all) || defined(__glibcxx_want_forward_like)
2047# define __cpp_lib_forward_like 202207L
2051#undef __glibcxx_want_forward_like
2053#if !defined(__cpp_lib_generator)
2054# if (__cplusplus >= 202100L) && (__glibcxx_coroutine && __cpp_sized_deallocation)
2055# define __glibcxx_generator 202207L
2056# if defined(__glibcxx_want_all) || defined(__glibcxx_want_generator)
2057# define __cpp_lib_generator 202207L
2061#undef __glibcxx_want_generator
2063#if !defined(__cpp_lib_ios_noreplace)
2064# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
2065# define __glibcxx_ios_noreplace 202207L
2066# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ios_noreplace)
2067# define __cpp_lib_ios_noreplace 202207L
2071#undef __glibcxx_want_ios_noreplace
2073#if !defined(__cpp_lib_move_only_function)
2074# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
2075# define __glibcxx_move_only_function 202110L
2076# if defined(__glibcxx_want_all) || defined(__glibcxx_want_move_only_function)
2077# define __cpp_lib_move_only_function 202110L
2081#undef __glibcxx_want_move_only_function
2083#if !defined(__cpp_lib_copyable_function)
2084# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2085# define __glibcxx_copyable_function 202306L
2086# if defined(__glibcxx_want_all) || defined(__glibcxx_want_copyable_function)
2087# define __cpp_lib_copyable_function 202306L
2091#undef __glibcxx_want_copyable_function
2093#if !defined(__cpp_lib_function_ref)
2094# if (__cplusplus > 202302L)
2095# define __glibcxx_function_ref 202306L
2096# if defined(__glibcxx_want_all) || defined(__glibcxx_want_function_ref)
2097# define __cpp_lib_function_ref 202306L
2101#undef __glibcxx_want_function_ref
2103#if !defined(__cpp_lib_out_ptr)
2104# if (__cplusplus >= 202100L)
2105# define __glibcxx_out_ptr 202311L
2106# if defined(__glibcxx_want_all) || defined(__glibcxx_want_out_ptr)
2107# define __cpp_lib_out_ptr 202311L
2111#undef __glibcxx_want_out_ptr
2113#if !defined(__cpp_lib_print)
2114# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
2115# define __glibcxx_print 202406L
2116# if defined(__glibcxx_want_all) || defined(__glibcxx_want_print)
2117# define __cpp_lib_print 202406L
2121#undef __glibcxx_want_print
2123#if !defined(__cpp_lib_spanstream)
2124# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED && (__glibcxx_span)
2125# define __glibcxx_spanstream 202106L
2126# if defined(__glibcxx_want_all) || defined(__glibcxx_want_spanstream)
2127# define __cpp_lib_spanstream 202106L
2131#undef __glibcxx_want_spanstream
2133#if !defined(__cpp_lib_stacktrace)
2134# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED && (_GLIBCXX_HAVE_STACKTRACE)
2135# define __glibcxx_stacktrace 202011L
2136# if defined(__glibcxx_want_all) || defined(__glibcxx_want_stacktrace)
2137# define __cpp_lib_stacktrace 202011L
2141#undef __glibcxx_want_stacktrace
2143#if !defined(__cpp_lib_start_lifetime_as)
2144# if (__cplusplus >= 202100L)
2145# define __glibcxx_start_lifetime_as 202207L
2146# if defined(__glibcxx_want_all) || defined(__glibcxx_want_start_lifetime_as)
2147# define __cpp_lib_start_lifetime_as 202207L
2151#undef __glibcxx_want_start_lifetime_as
2153#if !defined(__cpp_lib_string_contains)
2154# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
2155# define __glibcxx_string_contains 202011L
2156# if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_contains)
2157# define __cpp_lib_string_contains 202011L
2161#undef __glibcxx_want_string_contains
2163#if !defined(__cpp_lib_string_resize_and_overwrite)
2164# if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
2165# define __glibcxx_string_resize_and_overwrite 202110L
2166# if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_resize_and_overwrite)
2167# define __cpp_lib_string_resize_and_overwrite 202110L
2171#undef __glibcxx_want_string_resize_and_overwrite
2173#if !defined(__cpp_lib_to_underlying)
2174# if (__cplusplus >= 202100L)
2175# define __glibcxx_to_underlying 202102L
2176# if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_underlying)
2177# define __cpp_lib_to_underlying 202102L
2181#undef __glibcxx_want_to_underlying
2183#if !defined(__cpp_lib_tuple_like)
2184# if (__cplusplus > 202302L) && (__cpp_explicit_this_parameter >= 202110L)
2185# define __glibcxx_tuple_like 202311L
2186# if defined(__glibcxx_want_all) || defined(__glibcxx_want_tuple_like)
2187# define __cpp_lib_tuple_like 202311L
2189# elif (__cplusplus >= 202100L)
2190# define __glibcxx_tuple_like 202207L
2191# if defined(__glibcxx_want_all) || defined(__glibcxx_want_tuple_like)
2192# define __cpp_lib_tuple_like 202207L
2196#undef __glibcxx_want_tuple_like
2198#if !defined(__cpp_lib_unreachable)
2199# if (__cplusplus >= 202100L)
2200# define __glibcxx_unreachable 202202L
2201# if defined(__glibcxx_want_all) || defined(__glibcxx_want_unreachable)
2202# define __cpp_lib_unreachable 202202L
2206#undef __glibcxx_want_unreachable
2208#if !defined(__cpp_lib_observable_checkpoint)
2209# if (__cplusplus > 202302L) && (__has_builtin(__builtin_observable_checkpoint))
2210# define __glibcxx_observable_checkpoint 202506L
2211# if defined(__glibcxx_want_all) || defined(__glibcxx_want_observable_checkpoint)
2212# define __cpp_lib_observable_checkpoint 202506L
2216#undef __glibcxx_want_observable_checkpoint
2218#if !defined(__cpp_lib_algorithm_default_value_type)
2219# if (__cplusplus > 202302L)
2220# define __glibcxx_algorithm_default_value_type 202403L
2221# if defined(__glibcxx_want_all) || defined(__glibcxx_want_algorithm_default_value_type)
2222# define __cpp_lib_algorithm_default_value_type 202403L
2226#undef __glibcxx_want_algorithm_default_value_type
2228#if !defined(__cpp_lib_constexpr_new)
2229# if (__cplusplus > 202302L) && (__cpp_constexpr >= 202406L)
2230# define __glibcxx_constexpr_new 202406L
2231# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_new)
2232# define __cpp_lib_constexpr_new 202406L
2236#undef __glibcxx_want_constexpr_new
2238#if !defined(__cpp_lib_debugging)
2239# if (__cplusplus > 202302L)
2240# define __glibcxx_debugging 202403L
2241# if defined(__glibcxx_want_all) || defined(__glibcxx_want_debugging)
2242# define __cpp_lib_debugging 202403L
2246#undef __glibcxx_want_debugging
2248#if !defined(__cpp_lib_fstream_native_handle)
2249# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2250# define __glibcxx_fstream_native_handle 202306L
2251# if defined(__glibcxx_want_all) || defined(__glibcxx_want_fstream_native_handle)
2252# define __cpp_lib_fstream_native_handle 202306L
2256#undef __glibcxx_want_fstream_native_handle
2258#if !defined(__cpp_lib_is_virtual_base_of)
2259# if (__cplusplus > 202302L) && (__has_builtin(__builtin_is_virtual_base_of))
2260# define __glibcxx_is_virtual_base_of 202406L
2261# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_virtual_base_of)
2262# define __cpp_lib_is_virtual_base_of 202406L
2266#undef __glibcxx_want_is_virtual_base_of
2268#if !defined(__cpp_lib_ranges_cache_latest)
2269# if (__cplusplus > 202302L)
2270# define __glibcxx_ranges_cache_latest 202411L
2271# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_cache_latest)
2272# define __cpp_lib_ranges_cache_latest 202411L
2276#undef __glibcxx_want_ranges_cache_latest
2278#if !defined(__cpp_lib_ranges_concat)
2279# if (__cplusplus > 202302L) && (__cpp_pack_indexing)
2280# define __glibcxx_ranges_concat 202403L
2281# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_concat)
2282# define __cpp_lib_ranges_concat 202403L
2286#undef __glibcxx_want_ranges_concat
2288#if !defined(__cpp_lib_ratio)
2289# if (__cplusplus > 202302L)
2290# define __glibcxx_ratio 202306L
2291# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ratio)
2292# define __cpp_lib_ratio 202306L
2296#undef __glibcxx_want_ratio
2298#if !defined(__cpp_lib_reference_wrapper)
2299# if (__cplusplus > 202302L)
2300# define __glibcxx_reference_wrapper 202403L
2301# if defined(__glibcxx_want_all) || defined(__glibcxx_want_reference_wrapper)
2302# define __cpp_lib_reference_wrapper 202403L
2306#undef __glibcxx_want_reference_wrapper
2308#if !defined(__cpp_lib_saturation_arithmetic)
2309# if (__cplusplus > 202302L)
2310# define __glibcxx_saturation_arithmetic 202311L
2311# if defined(__glibcxx_want_all) || defined(__glibcxx_want_saturation_arithmetic)
2312# define __cpp_lib_saturation_arithmetic 202311L
2316#undef __glibcxx_want_saturation_arithmetic
2318#if !defined(__cpp_lib_span_initializer_list)
2319# if (__cplusplus > 202302L)
2320# define __glibcxx_span_initializer_list 202311L
2321# if defined(__glibcxx_want_all) || defined(__glibcxx_want_span_initializer_list)
2322# define __cpp_lib_span_initializer_list 202311L
2326#undef __glibcxx_want_span_initializer_list
2328#if !defined(__cpp_lib_text_encoding)
2329# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED && (_GLIBCXX_USE_NL_LANGINFO_L)
2330# define __glibcxx_text_encoding 202306L
2331# if defined(__glibcxx_want_all) || defined(__glibcxx_want_text_encoding)
2332# define __cpp_lib_text_encoding 202306L
2336#undef __glibcxx_want_text_encoding
2338#if !defined(__cpp_lib_ranges_to_input)
2339# if (__cplusplus > 202302L)
2340# define __glibcxx_ranges_to_input 202502L
2341# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_to_input)
2342# define __cpp_lib_ranges_to_input 202502L
2346#undef __glibcxx_want_ranges_to_input
2348#if !defined(__cpp_lib_to_string)
2349# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED && (__glibcxx_to_chars)
2350# define __glibcxx_to_string 202306L
2351# if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_string)
2352# define __cpp_lib_to_string 202306L
2356#undef __glibcxx_want_to_string
2358#if !defined(__cpp_lib_modules)
2359# if (__cplusplus >= 202002L) && (__cpp_modules)
2360# define __glibcxx_modules 202207L
2361# if defined(__glibcxx_want_all) || defined(__glibcxx_want_modules)
2362# define __cpp_lib_modules 202207L
2366#undef __glibcxx_want_modules
2368#if !defined(__cpp_lib_inplace_vector)
2369# if (__cplusplus > 202302L)
2370# define __glibcxx_inplace_vector 202406L
2371# if defined(__glibcxx_want_all) || defined(__glibcxx_want_inplace_vector)
2372# define __cpp_lib_inplace_vector 202406L
2376#undef __glibcxx_want_inplace_vector
2378#if !defined(__cpp_lib_indirect)
2379# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2380# define __glibcxx_indirect 202502L
2381# if defined(__glibcxx_want_all) || defined(__glibcxx_want_indirect)
2382# define __cpp_lib_indirect 202502L
2386#undef __glibcxx_want_indirect
2388#if !defined(__cpp_lib_polymorphic)
2389# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2390# define __glibcxx_polymorphic 202502L
2391# if defined(__glibcxx_want_all) || defined(__glibcxx_want_polymorphic)
2392# define __cpp_lib_polymorphic 202502L
2396#undef __glibcxx_want_polymorphic
2398#if !defined(__cpp_lib_smart_ptr_owner_equality)
2399# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2400# define __glibcxx_smart_ptr_owner_equality 202306L
2401# if defined(__glibcxx_want_all) || defined(__glibcxx_want_smart_ptr_owner_equality)
2402# define __cpp_lib_smart_ptr_owner_equality 202306L
2406#undef __glibcxx_want_smart_ptr_owner_equality
2408#if !defined(__cpp_lib_sstream_from_string_view)
2409# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2410# define __glibcxx_sstream_from_string_view 202306L
2411# if defined(__glibcxx_want_all) || defined(__glibcxx_want_sstream_from_string_view)
2412# define __cpp_lib_sstream_from_string_view 202306L
2416#undef __glibcxx_want_sstream_from_string_view
2418#if !defined(__cpp_lib_type_order)
2419# if (__cplusplus > 202302L) && (__has_builtin(__builtin_type_order) && __cpp_lib_three_way_comparison >= 201907L)
2420# define __glibcxx_type_order 202506L
2421# if defined(__glibcxx_want_all) || defined(__glibcxx_want_type_order)
2422# define __cpp_lib_type_order 202506L
2426#undef __glibcxx_want_type_order
2428#if !defined(__cpp_lib_exception_ptr_cast)
2429# if (__cplusplus > 202302L)
2430# define __glibcxx_exception_ptr_cast 202506L
2431# if defined(__glibcxx_want_all) || defined(__glibcxx_want_exception_ptr_cast)
2432# define __cpp_lib_exception_ptr_cast 202506L
2436#undef __glibcxx_want_exception_ptr_cast
2438#if !defined(__cpp_lib_bitset)
2439# if (__cplusplus > 202302L)
2440# define __glibcxx_bitset 202306L
2441# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bitset)
2442# define __cpp_lib_bitset 202306L
2446#undef __glibcxx_want_bitset
2448#if !defined(__cpp_lib_constexpr_exceptions)
2449# if (__cplusplus > 202302L) && (__cpp_constexpr_exceptions >= 202411L)
2450# define __glibcxx_constexpr_exceptions 1L
2451# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_exceptions)
2455#undef __glibcxx_want_constexpr_exceptions
2457#if !defined(__cpp_lib_philox_engine)
2458# if (__cplusplus > 202302L) && (__SIZEOF_INT128__)
2459# define __glibcxx_philox_engine 202406L
2460# if defined(__glibcxx_want_all) || defined(__glibcxx_want_philox_engine)
2461# define __cpp_lib_philox_engine 202406L
2465#undef __glibcxx_want_philox_engine
2467#if !defined(__cpp_lib_is_implicit_lifetime)
2468# if (__cplusplus >= 202100L) && (__has_builtin(__builtin_is_implicit_lifetime))
2469# define __glibcxx_is_implicit_lifetime 202302L
2470# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_implicit_lifetime)
2471# define __cpp_lib_is_implicit_lifetime 202302L
2475#undef __glibcxx_want_is_implicit_lifetime
2477#undef __glibcxx_want_all