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_allocate_at_least)
84# if (__cplusplus > 202002L)
85# define __glibcxx_allocate_at_least 202302L
86# if defined(__glibcxx_want_all) || defined(__glibcxx_want_allocate_at_least)
87# define __cpp_lib_allocate_at_least 202302L
91#undef __glibcxx_want_allocate_at_least
93#if !defined(__cpp_lib_is_null_pointer)
94# if (__cplusplus >= 201103L)
95# define __glibcxx_is_null_pointer 201309L
96# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_null_pointer)
97# define __cpp_lib_is_null_pointer 201309L
101#undef __glibcxx_want_is_null_pointer
103#if !defined(__cpp_lib_result_of_sfinae)
104# if (__cplusplus >= 201103L)
105# define __glibcxx_result_of_sfinae 201210L
106# if defined(__glibcxx_want_all) || defined(__glibcxx_want_result_of_sfinae)
107# define __cpp_lib_result_of_sfinae 201210L
111#undef __glibcxx_want_result_of_sfinae
113#if !defined(__cpp_lib_shared_ptr_arrays)
114# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
115# define __glibcxx_shared_ptr_arrays 201707L
116# if defined(__glibcxx_want_all) || defined(__glibcxx_want_shared_ptr_arrays)
117# define __cpp_lib_shared_ptr_arrays 201707L
119# elif (__cplusplus >= 201103L) && _GLIBCXX_HOSTED
120# define __glibcxx_shared_ptr_arrays 201611L
121# if defined(__glibcxx_want_all) || defined(__glibcxx_want_shared_ptr_arrays)
122# define __cpp_lib_shared_ptr_arrays 201611L
126#undef __glibcxx_want_shared_ptr_arrays
128#if !defined(__cpp_lib_is_swappable)
129# if ((defined(__STRICT_ANSI__) && __cplusplus >= 201703L) || (!defined(__STRICT_ANSI__) && __cplusplus >= 201103L))
130# define __glibcxx_is_swappable 201603L
131# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_swappable)
132# define __cpp_lib_is_swappable 201603L
136#undef __glibcxx_want_is_swappable
138#if !defined(__cpp_lib_void_t)
139# if ((defined(__STRICT_ANSI__) && __cplusplus >= 201703L) || (!defined(__STRICT_ANSI__) && __cplusplus >= 201103L))
140# define __glibcxx_void_t 201411L
141# if defined(__glibcxx_want_all) || defined(__glibcxx_want_void_t)
142# define __cpp_lib_void_t 201411L
146#undef __glibcxx_want_void_t
148#if !defined(__cpp_lib_enable_shared_from_this)
149# if ((defined(__STRICT_ANSI__) && __cplusplus >= 201703L) || (!defined(__STRICT_ANSI__) && __cplusplus >= 201103L)) && _GLIBCXX_HOSTED
150# define __glibcxx_enable_shared_from_this 201603L
151# if defined(__glibcxx_want_all) || defined(__glibcxx_want_enable_shared_from_this)
152# define __cpp_lib_enable_shared_from_this 201603L
156#undef __glibcxx_want_enable_shared_from_this
158#if !defined(__cpp_lib_math_spec_funcs)
159# if (__cplusplus >= 201103L)
160# define __glibcxx_math_spec_funcs 201003L
161# if defined(__glibcxx_want_all) || defined(__glibcxx_want_math_spec_funcs)
162# define __STDCPP_MATH_SPEC_FUNCS__ 201003L
166#undef __glibcxx_want_math_spec_funcs
168#if !defined(__cpp_lib_coroutine)
169# if (__cplusplus >= 201402L) && (__cpp_impl_coroutine)
170# define __glibcxx_coroutine 201902L
171# if defined(__glibcxx_want_all) || defined(__glibcxx_want_coroutine)
172# define __cpp_lib_coroutine 201902L
176#undef __glibcxx_want_coroutine
178#if !defined(__cpp_lib_exchange_function)
179# if (__cplusplus >= 201402L)
180# define __glibcxx_exchange_function 201304L
181# if defined(__glibcxx_want_all) || defined(__glibcxx_want_exchange_function)
182# define __cpp_lib_exchange_function 201304L
186#undef __glibcxx_want_exchange_function
188#if !defined(__cpp_lib_integer_sequence)
189# if (__cplusplus > 202302L) && (__cpp_pack_indexing)
190# define __glibcxx_integer_sequence 202511L
191# if defined(__glibcxx_want_all) || defined(__glibcxx_want_integer_sequence)
192# define __cpp_lib_integer_sequence 202511L
194# elif (__cplusplus >= 201402L)
195# define __glibcxx_integer_sequence 201304L
196# if defined(__glibcxx_want_all) || defined(__glibcxx_want_integer_sequence)
197# define __cpp_lib_integer_sequence 201304L
201#undef __glibcxx_want_integer_sequence
203#if !defined(__cpp_lib_integral_constant_callable)
204# if (__cplusplus >= 201402L)
205# define __glibcxx_integral_constant_callable 201304L
206# if defined(__glibcxx_want_all) || defined(__glibcxx_want_integral_constant_callable)
207# define __cpp_lib_integral_constant_callable 201304L
211#undef __glibcxx_want_integral_constant_callable
213#if !defined(__cpp_lib_is_final)
214# if (__cplusplus >= 201402L)
215# define __glibcxx_is_final 201402L
216# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_final)
217# define __cpp_lib_is_final 201402L
221#undef __glibcxx_want_is_final
223#if !defined(__cpp_lib_make_reverse_iterator)
224# if (__cplusplus >= 201402L)
225# define __glibcxx_make_reverse_iterator 201402L
226# if defined(__glibcxx_want_all) || defined(__glibcxx_want_make_reverse_iterator)
227# define __cpp_lib_make_reverse_iterator 201402L
231#undef __glibcxx_want_make_reverse_iterator
233#if !defined(__cpp_lib_null_iterators)
234# if (__cplusplus >= 201402L)
235# define __glibcxx_null_iterators 201304L
236# if defined(__glibcxx_want_all) || defined(__glibcxx_want_null_iterators)
237# define __cpp_lib_null_iterators 201304L
241#undef __glibcxx_want_null_iterators
243#if !defined(__cpp_lib_transformation_trait_aliases)
244# if (__cplusplus >= 201402L)
245# define __glibcxx_transformation_trait_aliases 201304L
246# if defined(__glibcxx_want_all) || defined(__glibcxx_want_transformation_trait_aliases)
247# define __cpp_lib_transformation_trait_aliases 201304L
251#undef __glibcxx_want_transformation_trait_aliases
253#if !defined(__cpp_lib_transparent_operators)
254# if (__cplusplus >= 201402L)
255# define __glibcxx_transparent_operators 201510L
256# if defined(__glibcxx_want_all) || defined(__glibcxx_want_transparent_operators)
257# define __cpp_lib_transparent_operators 201510L
261#undef __glibcxx_want_transparent_operators
263#if !defined(__cpp_lib_tuple_element_t)
264# if (__cplusplus >= 201402L)
265# define __glibcxx_tuple_element_t 201402L
266# if defined(__glibcxx_want_all) || defined(__glibcxx_want_tuple_element_t)
267# define __cpp_lib_tuple_element_t 201402L
271#undef __glibcxx_want_tuple_element_t
273#if !defined(__cpp_lib_tuples_by_type)
274# if (__cplusplus >= 201402L)
275# define __glibcxx_tuples_by_type 201304L
276# if defined(__glibcxx_want_all) || defined(__glibcxx_want_tuples_by_type)
277# define __cpp_lib_tuples_by_type 201304L
281#undef __glibcxx_want_tuples_by_type
283#if !defined(__cpp_lib_robust_nonmodifying_seq_ops)
284# if (__cplusplus >= 201402L)
285# define __glibcxx_robust_nonmodifying_seq_ops 201304L
286# if defined(__glibcxx_want_all) || defined(__glibcxx_want_robust_nonmodifying_seq_ops)
287# define __cpp_lib_robust_nonmodifying_seq_ops 201304L
291#undef __glibcxx_want_robust_nonmodifying_seq_ops
293#if !defined(__cpp_lib_to_chars)
294# if (__cplusplus > 202302L) && (_GLIBCXX_FLOAT_IS_IEEE_BINARY32 && _GLIBCXX_DOUBLE_IS_IEEE_BINARY64 && __SIZE_WIDTH__ >= 32)
295# define __glibcxx_to_chars 202306L
296# if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_chars)
297# define __cpp_lib_to_chars 202306L
299# elif (__cplusplus >= 201402L) && (_GLIBCXX_FLOAT_IS_IEEE_BINARY32 && _GLIBCXX_DOUBLE_IS_IEEE_BINARY64 && __SIZE_WIDTH__ >= 32)
300# define __glibcxx_to_chars 201611L
301# if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_chars)
302# define __cpp_lib_to_chars 201611L
306#undef __glibcxx_want_to_chars
308#if !defined(__cpp_lib_chrono_udls)
309# if (__cplusplus >= 201402L)
310# define __glibcxx_chrono_udls 201304L
311# if defined(__glibcxx_want_all) || defined(__glibcxx_want_chrono_udls)
312# define __cpp_lib_chrono_udls 201304L
316#undef __glibcxx_want_chrono_udls
318#if !defined(__cpp_lib_complex_udls)
319# if (__cplusplus >= 201402L) && _GLIBCXX_HOSTED
320# define __glibcxx_complex_udls 201309L
321# if defined(__glibcxx_want_all) || defined(__glibcxx_want_complex_udls)
322# define __cpp_lib_complex_udls 201309L
326#undef __glibcxx_want_complex_udls
328#if !defined(__cpp_lib_generic_associative_lookup)
329# if (__cplusplus >= 201402L) && _GLIBCXX_HOSTED
330# define __glibcxx_generic_associative_lookup 201304L
331# if defined(__glibcxx_want_all) || defined(__glibcxx_want_generic_associative_lookup)
332# define __cpp_lib_generic_associative_lookup 201304L
336#undef __glibcxx_want_generic_associative_lookup
338#if !defined(__cpp_lib_make_unique)
339# if (__cplusplus >= 201402L) && _GLIBCXX_HOSTED
340# define __glibcxx_make_unique 201304L
341# if defined(__glibcxx_want_all) || defined(__glibcxx_want_make_unique)
342# define __cpp_lib_make_unique 201304L
346#undef __glibcxx_want_make_unique
348#if !defined(__cpp_lib_quoted_string_io)
349# if (__cplusplus >= 201402L) && _GLIBCXX_HOSTED
350# define __glibcxx_quoted_string_io 201304L
351# if defined(__glibcxx_want_all) || defined(__glibcxx_want_quoted_string_io)
352# define __cpp_lib_quoted_string_io 201304L
356#undef __glibcxx_want_quoted_string_io
358#if !defined(__cpp_lib_shared_timed_mutex)
359# if (__cplusplus >= 201402L) && defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED
360# define __glibcxx_shared_timed_mutex 201402L
361# if defined(__glibcxx_want_all) || defined(__glibcxx_want_shared_timed_mutex)
362# define __cpp_lib_shared_timed_mutex 201402L
366#undef __glibcxx_want_shared_timed_mutex
368#if !defined(__cpp_lib_string_udls)
369# if (__cplusplus >= 201402L) && _GLIBCXX_HOSTED
370# define __glibcxx_string_udls 201304L
371# if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_udls)
372# define __cpp_lib_string_udls 201304L
376#undef __glibcxx_want_string_udls
378#if !defined(__cpp_lib_addressof_constexpr)
379# if (__cplusplus >= 201703L)
380# define __glibcxx_addressof_constexpr 201603L
381# if defined(__glibcxx_want_all) || defined(__glibcxx_want_addressof_constexpr)
382# define __cpp_lib_addressof_constexpr 201603L
386#undef __glibcxx_want_addressof_constexpr
388#if !defined(__cpp_lib_any)
389# if (__cplusplus >= 201703L)
390# define __glibcxx_any 201606L
391# if defined(__glibcxx_want_all) || defined(__glibcxx_want_any)
392# define __cpp_lib_any 201606L
396#undef __glibcxx_want_any
398#if !defined(__cpp_lib_apply)
399# if (__cplusplus >= 201703L)
400# define __glibcxx_apply 201603L
401# if defined(__glibcxx_want_all) || defined(__glibcxx_want_apply)
402# define __cpp_lib_apply 201603L
406#undef __glibcxx_want_apply
408#if !defined(__cpp_lib_as_const)
409# if (__cplusplus >= 201703L)
410# define __glibcxx_as_const 201510L
411# if defined(__glibcxx_want_all) || defined(__glibcxx_want_as_const)
412# define __cpp_lib_as_const 201510L
416#undef __glibcxx_want_as_const
418#if !defined(__cpp_lib_atomic_is_always_lock_free)
419# if (__cplusplus >= 201703L)
420# define __glibcxx_atomic_is_always_lock_free 201603L
421# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_is_always_lock_free)
422# define __cpp_lib_atomic_is_always_lock_free 201603L
426#undef __glibcxx_want_atomic_is_always_lock_free
428#if !defined(__cpp_lib_bool_constant)
429# if (__cplusplus >= 201703L)
430# define __glibcxx_bool_constant 201505L
431# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bool_constant)
432# define __cpp_lib_bool_constant 201505L
436#undef __glibcxx_want_bool_constant
438#if !defined(__cpp_lib_byte)
439# if (__cplusplus >= 201703L)
440# define __glibcxx_byte 201603L
441# if defined(__glibcxx_want_all) || defined(__glibcxx_want_byte)
442# define __cpp_lib_byte 201603L
446#undef __glibcxx_want_byte
448#if !defined(__cpp_lib_constant_wrapper)
449# if (__cplusplus > 202302L)
450# define __glibcxx_constant_wrapper 202606L
451# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constant_wrapper)
452# define __cpp_lib_constant_wrapper 202606L
456#undef __glibcxx_want_constant_wrapper
458#if !defined(__cpp_lib_has_unique_object_representations)
459# if (__cplusplus >= 201703L) && (defined(_GLIBCXX_HAVE_BUILTIN_HAS_UNIQ_OBJ_REP))
460# define __glibcxx_has_unique_object_representations 201606L
461# if defined(__glibcxx_want_all) || defined(__glibcxx_want_has_unique_object_representations)
462# define __cpp_lib_has_unique_object_representations 201606L
466#undef __glibcxx_want_has_unique_object_representations
468#if !defined(__cpp_lib_hardware_interference_size)
469# if (__cplusplus >= 201703L) && (defined(__GCC_DESTRUCTIVE_SIZE))
470# define __glibcxx_hardware_interference_size 201703L
471# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardware_interference_size)
472# define __cpp_lib_hardware_interference_size 201703L
476#undef __glibcxx_want_hardware_interference_size
478#if !defined(__cpp_lib_invoke)
479# if (__cplusplus >= 201703L)
480# define __glibcxx_invoke 201411L
481# if defined(__glibcxx_want_all) || defined(__glibcxx_want_invoke)
482# define __cpp_lib_invoke 201411L
486#undef __glibcxx_want_invoke
488#if !defined(__cpp_lib_is_aggregate)
489# if (__cplusplus >= 201703L) && (defined(_GLIBCXX_HAVE_BUILTIN_IS_AGGREGATE))
490# define __glibcxx_is_aggregate 201703L
491# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_aggregate)
492# define __cpp_lib_is_aggregate 201703L
496#undef __glibcxx_want_is_aggregate
498#if !defined(__cpp_lib_is_invocable)
499# if (__cplusplus >= 201703L)
500# define __glibcxx_is_invocable 201703L
501# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_invocable)
502# define __cpp_lib_is_invocable 201703L
506#undef __glibcxx_want_is_invocable
508#if !defined(__cpp_lib_launder)
509# if (__cplusplus >= 201703L) && (defined(_GLIBCXX_HAVE_BUILTIN_LAUNDER))
510# define __glibcxx_launder 201606L
511# if defined(__glibcxx_want_all) || defined(__glibcxx_want_launder)
512# define __cpp_lib_launder 201606L
516#undef __glibcxx_want_launder
518#if !defined(__cpp_lib_logical_traits)
519# if (__cplusplus >= 201703L)
520# define __glibcxx_logical_traits 201510L
521# if defined(__glibcxx_want_all) || defined(__glibcxx_want_logical_traits)
522# define __cpp_lib_logical_traits 201510L
526#undef __glibcxx_want_logical_traits
528#if !defined(__cpp_lib_make_from_tuple)
529# if (__cplusplus >= 201703L)
530# define __glibcxx_make_from_tuple 201606L
531# if defined(__glibcxx_want_all) || defined(__glibcxx_want_make_from_tuple)
532# define __cpp_lib_make_from_tuple 201606L
536#undef __glibcxx_want_make_from_tuple
538#if !defined(__cpp_lib_not_fn)
539# if (__cplusplus > 202302L)
540# define __glibcxx_not_fn 202306L
541# if defined(__glibcxx_want_all) || defined(__glibcxx_want_not_fn)
542# define __cpp_lib_not_fn 202306L
544# elif (__cplusplus >= 201703L)
545# define __glibcxx_not_fn 201603L
546# if defined(__glibcxx_want_all) || defined(__glibcxx_want_not_fn)
547# define __cpp_lib_not_fn 201603L
551#undef __glibcxx_want_not_fn
553#if !defined(__cpp_lib_type_trait_variable_templates)
554# if (__cplusplus >= 201703L)
555# define __glibcxx_type_trait_variable_templates 201510L
556# if defined(__glibcxx_want_all) || defined(__glibcxx_want_type_trait_variable_templates)
557# define __cpp_lib_type_trait_variable_templates 201510L
561#undef __glibcxx_want_type_trait_variable_templates
563#if !defined(__cpp_lib_variant)
564# if (__cplusplus > 202302L) && (__cpp_concepts >= 202002L && __cpp_constexpr >= 201811L && __cpp_explicit_this_parameter)
565# define __glibcxx_variant 202306L
566# if defined(__glibcxx_want_all) || defined(__glibcxx_want_variant)
567# define __cpp_lib_variant 202306L
569# elif (__cplusplus >= 202002L) && (__cpp_concepts >= 202002L && __cpp_constexpr >= 201811L)
570# define __glibcxx_variant 202106L
571# if defined(__glibcxx_want_all) || defined(__glibcxx_want_variant)
572# define __cpp_lib_variant 202106L
574# elif (__cplusplus >= 201703L)
575# define __glibcxx_variant 202102L
576# if defined(__glibcxx_want_all) || defined(__glibcxx_want_variant)
577# define __cpp_lib_variant 202102L
581#undef __glibcxx_want_variant
583#if !defined(__cpp_lib_lcm)
584# if (__cplusplus >= 201703L)
585# define __glibcxx_lcm 201606L
586# if defined(__glibcxx_want_all) || defined(__glibcxx_want_lcm)
587# define __cpp_lib_lcm 201606L
591#undef __glibcxx_want_lcm
593#if !defined(__cpp_lib_gcd)
594# if (__cplusplus >= 201703L)
595# define __glibcxx_gcd 201606L
596# if defined(__glibcxx_want_all) || defined(__glibcxx_want_gcd)
597# define __cpp_lib_gcd 201606L
601#undef __glibcxx_want_gcd
603#if !defined(__cpp_lib_gcd_lcm)
604# if (__cplusplus >= 201703L)
605# define __glibcxx_gcd_lcm 201606L
606# if defined(__glibcxx_want_all) || defined(__glibcxx_want_gcd_lcm)
607# define __cpp_lib_gcd_lcm 201606L
611#undef __glibcxx_want_gcd_lcm
613#if !defined(__cpp_lib_raw_memory_algorithms)
614# if (__cplusplus > 202302L) && (__cpp_constexpr >= 202406L)
615# define __glibcxx_raw_memory_algorithms 202411L
616# if defined(__glibcxx_want_all) || defined(__glibcxx_want_raw_memory_algorithms)
617# define __cpp_lib_raw_memory_algorithms 202411L
619# elif (__cplusplus >= 201703L)
620# define __glibcxx_raw_memory_algorithms 201606L
621# if defined(__glibcxx_want_all) || defined(__glibcxx_want_raw_memory_algorithms)
622# define __cpp_lib_raw_memory_algorithms 201606L
626#undef __glibcxx_want_raw_memory_algorithms
628#if !defined(__cpp_lib_array_constexpr)
629# if (__cplusplus >= 202002L)
630# define __glibcxx_array_constexpr 201811L
631# if defined(__glibcxx_want_all) || defined(__glibcxx_want_array_constexpr)
632# define __cpp_lib_array_constexpr 201811L
634# elif (__cplusplus >= 201703L)
635# define __glibcxx_array_constexpr 201803L
636# if defined(__glibcxx_want_all) || defined(__glibcxx_want_array_constexpr)
637# define __cpp_lib_array_constexpr 201803L
641#undef __glibcxx_want_array_constexpr
643#if !defined(__cpp_lib_nonmember_container_access)
644# if (__cplusplus >= 201703L)
645# define __glibcxx_nonmember_container_access 201411L
646# if defined(__glibcxx_want_all) || defined(__glibcxx_want_nonmember_container_access)
647# define __cpp_lib_nonmember_container_access 201411L
651#undef __glibcxx_want_nonmember_container_access
653#if !defined(__cpp_lib_clamp)
654# if (__cplusplus >= 201703L)
655# define __glibcxx_clamp 201603L
656# if defined(__glibcxx_want_all) || defined(__glibcxx_want_clamp)
657# define __cpp_lib_clamp 201603L
661#undef __glibcxx_want_clamp
663#if !defined(__cpp_lib_sample)
664# if (__cplusplus >= 201703L)
665# define __glibcxx_sample 201603L
666# if defined(__glibcxx_want_all) || defined(__glibcxx_want_sample)
667# define __cpp_lib_sample 201603L
671#undef __glibcxx_want_sample
673#if !defined(__cpp_lib_boyer_moore_searcher)
674# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
675# define __glibcxx_boyer_moore_searcher 201603L
676# if defined(__glibcxx_want_all) || defined(__glibcxx_want_boyer_moore_searcher)
677# define __cpp_lib_boyer_moore_searcher 201603L
681#undef __glibcxx_want_boyer_moore_searcher
683#if !defined(__cpp_lib_chrono)
684# if (__cplusplus > 202302L) && _GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED
685# define __glibcxx_chrono 202306L
686# if defined(__glibcxx_want_all) || defined(__glibcxx_want_chrono)
687# define __cpp_lib_chrono 202306L
689# elif (__cplusplus >= 202002L) && _GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED
690# define __glibcxx_chrono 201907L
691# if defined(__glibcxx_want_all) || defined(__glibcxx_want_chrono)
692# define __cpp_lib_chrono 201907L
694# elif (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
695# define __glibcxx_chrono 201611L
696# if defined(__glibcxx_want_all) || defined(__glibcxx_want_chrono)
697# define __cpp_lib_chrono 201611L
701#undef __glibcxx_want_chrono
703#if !defined(__cpp_lib_chrono_cxx20)
704# if (__cplusplus > 202302L)
705# define __glibcxx_chrono_cxx20 202306L
706# if defined(__glibcxx_want_all) || defined(__glibcxx_want_chrono_cxx20)
708# elif (__cplusplus >= 202002L)
709# define __glibcxx_chrono_cxx20 201800L
710# if defined(__glibcxx_want_all) || defined(__glibcxx_want_chrono_cxx20)
714#undef __glibcxx_want_chrono_cxx20
716#if !defined(__cpp_lib_execution)
717# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
718# define __glibcxx_execution 201902L
719# if defined(__glibcxx_want_all) || defined(__glibcxx_want_execution)
720# define __cpp_lib_execution 201902L
724#undef __glibcxx_want_execution
726#if !defined(__cpp_lib_filesystem)
727# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
728# define __glibcxx_filesystem 201703L
729# if defined(__glibcxx_want_all) || defined(__glibcxx_want_filesystem)
730# define __cpp_lib_filesystem 201703L
734#undef __glibcxx_want_filesystem
736#if !defined(__cpp_lib_hypot)
737# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
738# define __glibcxx_hypot 201603L
739# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hypot)
740# define __cpp_lib_hypot 201603L
744#undef __glibcxx_want_hypot
746#if !defined(__cpp_lib_map_try_emplace)
747# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
748# define __glibcxx_map_try_emplace 201411L
749# if defined(__glibcxx_want_all) || defined(__glibcxx_want_map_try_emplace)
750# define __cpp_lib_map_try_emplace 201411L
754#undef __glibcxx_want_map_try_emplace
756#if !defined(__cpp_lib_math_special_functions)
757# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
758# define __glibcxx_math_special_functions 201603L
759# if defined(__glibcxx_want_all) || defined(__glibcxx_want_math_special_functions)
760# define __cpp_lib_math_special_functions 201603L
764#undef __glibcxx_want_math_special_functions
766#if !defined(__cpp_lib_memory_resource)
767# if (__cplusplus >= 201703L) && defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED
768# define __glibcxx_memory_resource 201603L
769# if defined(__glibcxx_want_all) || defined(__glibcxx_want_memory_resource)
770# define __cpp_lib_memory_resource 201603L
772# elif (__cplusplus >= 201703L) && !defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED
773# define __glibcxx_memory_resource 1L
774# if defined(__glibcxx_want_all) || defined(__glibcxx_want_memory_resource)
775# define __cpp_lib_memory_resource 1L
779#undef __glibcxx_want_memory_resource
781#if !defined(__cpp_lib_node_extract)
782# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
783# define __glibcxx_node_extract 201606L
784# if defined(__glibcxx_want_all) || defined(__glibcxx_want_node_extract)
785# define __cpp_lib_node_extract 201606L
789#undef __glibcxx_want_node_extract
791#if !defined(__cpp_lib_parallel_algorithm)
792# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
793# define __glibcxx_parallel_algorithm 201603L
794# if defined(__glibcxx_want_all) || defined(__glibcxx_want_parallel_algorithm)
795# define __cpp_lib_parallel_algorithm 201603L
799#undef __glibcxx_want_parallel_algorithm
801#if !defined(__cpp_lib_scoped_lock)
802# if (__cplusplus >= 201703L)
803# define __glibcxx_scoped_lock 201703L
804# if defined(__glibcxx_want_all) || defined(__glibcxx_want_scoped_lock)
805# define __cpp_lib_scoped_lock 201703L
809#undef __glibcxx_want_scoped_lock
811#if !defined(__cpp_lib_shared_mutex)
812# if (__cplusplus >= 201703L) && defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED
813# define __glibcxx_shared_mutex 201505L
814# if defined(__glibcxx_want_all) || defined(__glibcxx_want_shared_mutex)
815# define __cpp_lib_shared_mutex 201505L
819#undef __glibcxx_want_shared_mutex
821#if !defined(__cpp_lib_shared_ptr_weak_type)
822# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
823# define __glibcxx_shared_ptr_weak_type 201606L
824# if defined(__glibcxx_want_all) || defined(__glibcxx_want_shared_ptr_weak_type)
825# define __cpp_lib_shared_ptr_weak_type 201606L
829#undef __glibcxx_want_shared_ptr_weak_type
831#if !defined(__cpp_lib_string_view)
832# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
833# define __glibcxx_string_view 202403L
834# if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_view)
835# define __cpp_lib_string_view 202403L
837# elif (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
838# define __glibcxx_string_view 201803L
839# if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_view)
840# define __cpp_lib_string_view 201803L
844#undef __glibcxx_want_string_view
846#if !defined(__cpp_lib_unordered_map_try_emplace)
847# if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED
848# define __glibcxx_unordered_map_try_emplace 201411L
849# if defined(__glibcxx_want_all) || defined(__glibcxx_want_unordered_map_try_emplace)
850# define __cpp_lib_unordered_map_try_emplace 201411L
854#undef __glibcxx_want_unordered_map_try_emplace
856#if !defined(__cpp_lib_assume_aligned)
857# if (__cplusplus >= 202002L)
858# define __glibcxx_assume_aligned 201811L
859# if defined(__glibcxx_want_all) || defined(__glibcxx_want_assume_aligned)
860# define __cpp_lib_assume_aligned 201811L
864#undef __glibcxx_want_assume_aligned
866#if !defined(__cpp_lib_is_sufficiently_aligned)
867# if (__cplusplus > 202302L)
868# define __glibcxx_is_sufficiently_aligned 202411L
869# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_sufficiently_aligned)
870# define __cpp_lib_is_sufficiently_aligned 202411L
874#undef __glibcxx_want_is_sufficiently_aligned
876#if !defined(__cpp_lib_atomic_flag_test)
877# if (__cplusplus >= 202002L)
878# define __glibcxx_atomic_flag_test 201907L
879# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_flag_test)
880# define __cpp_lib_atomic_flag_test 201907L
884#undef __glibcxx_want_atomic_flag_test
886#if !defined(__cpp_lib_atomic_float)
887# if (__cplusplus >= 202002L)
888# define __glibcxx_atomic_float 201711L
889# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_float)
890# define __cpp_lib_atomic_float 201711L
894#undef __glibcxx_want_atomic_float
896#if !defined(__cpp_lib_atomic_min_max)
897# if (__cplusplus > 202302L)
898# define __glibcxx_atomic_min_max 202403L
899# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_min_max)
900# define __cpp_lib_atomic_min_max 202403L
904#undef __glibcxx_want_atomic_min_max
906#if !defined(__cpp_lib_atomic_lock_free_type_aliases)
907# if (__cplusplus >= 202002L) && ((__GCC_ATOMIC_INT_LOCK_FREE | __GCC_ATOMIC_LONG_LOCK_FREE | __GCC_ATOMIC_CHAR_LOCK_FREE) & 2)
908# define __glibcxx_atomic_lock_free_type_aliases 201907L
909# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_lock_free_type_aliases)
910# define __cpp_lib_atomic_lock_free_type_aliases 201907L
914#undef __glibcxx_want_atomic_lock_free_type_aliases
916#if !defined(__cpp_lib_atomic_ref)
917# if (__cplusplus > 202302L)
918# define __glibcxx_atomic_ref 202603L
919# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_ref)
920# define __cpp_lib_atomic_ref 202603L
922# elif (__cplusplus >= 202002L)
923# define __glibcxx_atomic_ref 201806L
924# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_ref)
925# define __cpp_lib_atomic_ref 201806L
929#undef __glibcxx_want_atomic_ref
931#if !defined(__cpp_lib_atomic_value_initialization)
932# if (__cplusplus >= 202002L) && (__cpp_concepts >= 201907L)
933# define __glibcxx_atomic_value_initialization 201911L
934# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_value_initialization)
935# define __cpp_lib_atomic_value_initialization 201911L
939#undef __glibcxx_want_atomic_value_initialization
941#if !defined(__cpp_lib_bind_front)
942# if (__cplusplus > 202302L)
943# define __glibcxx_bind_front 202306L
944# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bind_front)
945# define __cpp_lib_bind_front 202306L
947# elif (__cplusplus >= 202002L)
948# define __glibcxx_bind_front 201907L
949# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bind_front)
950# define __cpp_lib_bind_front 201907L
954#undef __glibcxx_want_bind_front
956#if !defined(__cpp_lib_bind_back)
957# if (__cplusplus > 202302L)
958# define __glibcxx_bind_back 202306L
959# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bind_back)
960# define __cpp_lib_bind_back 202306L
962# elif (__cplusplus > 202002L) && (__cpp_explicit_this_parameter)
963# define __glibcxx_bind_back 202202L
964# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bind_back)
965# define __cpp_lib_bind_back 202202L
969#undef __glibcxx_want_bind_back
971#if !defined(__cpp_lib_starts_ends_with)
972# if (__cplusplus >= 202002L)
973# define __glibcxx_starts_ends_with 201711L
974# if defined(__glibcxx_want_all) || defined(__glibcxx_want_starts_ends_with)
975# define __cpp_lib_starts_ends_with 201711L
979#undef __glibcxx_want_starts_ends_with
981#if !defined(__cpp_lib_bit_cast)
982# if (__cplusplus >= 202002L) && (__has_builtin(__builtin_bit_cast))
983# define __glibcxx_bit_cast 201806L
984# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bit_cast)
985# define __cpp_lib_bit_cast 201806L
989#undef __glibcxx_want_bit_cast
991#if !defined(__cpp_lib_bitops)
992# if (__cplusplus > 202603L)
993# define __glibcxx_bitops 202606L
994# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bitops)
995# define __cpp_lib_bitops 202606L
997# elif (__cplusplus >= 202002L)
998# define __glibcxx_bitops 201907L
999# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bitops)
1000# define __cpp_lib_bitops 201907L
1004#undef __glibcxx_want_bitops
1006#if !defined(__cpp_lib_bounded_array_traits)
1007# if (__cplusplus >= 202002L)
1008# define __glibcxx_bounded_array_traits 201902L
1009# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bounded_array_traits)
1010# define __cpp_lib_bounded_array_traits 201902L
1014#undef __glibcxx_want_bounded_array_traits
1016#if !defined(__cpp_lib_concepts)
1017# if (__cplusplus >= 202002L) && (__cpp_concepts >= 201907L)
1018# define __glibcxx_concepts 202207L
1019# if defined(__glibcxx_want_all) || defined(__glibcxx_want_concepts)
1020# define __cpp_lib_concepts 202207L
1024#undef __glibcxx_want_concepts
1026#if !defined(__cpp_lib_optional)
1027# if (__cplusplus > 202302L) && (__glibcxx_concepts)
1028# define __glibcxx_optional 202506L
1029# if defined(__glibcxx_want_all) || defined(__glibcxx_want_optional)
1030# define __cpp_lib_optional 202506L
1032# elif (__cplusplus > 202002L) && (__glibcxx_concepts)
1033# define __glibcxx_optional 202110L
1034# if defined(__glibcxx_want_all) || defined(__glibcxx_want_optional)
1035# define __cpp_lib_optional 202110L
1037# elif (__cplusplus >= 202002L)
1038# define __glibcxx_optional 202106L
1039# if defined(__glibcxx_want_all) || defined(__glibcxx_want_optional)
1040# define __cpp_lib_optional 202106L
1042# elif (__cplusplus >= 201703L)
1043# define __glibcxx_optional 201606L
1044# if defined(__glibcxx_want_all) || defined(__glibcxx_want_optional)
1045# define __cpp_lib_optional 201606L
1049#undef __glibcxx_want_optional
1051#if !defined(__cpp_lib_optional_range_support)
1052# if (__cplusplus > 202302L)
1053# define __glibcxx_optional_range_support 202406L
1054# if defined(__glibcxx_want_all) || defined(__glibcxx_want_optional_range_support)
1055# define __cpp_lib_optional_range_support 202406L
1059#undef __glibcxx_want_optional_range_support
1061#if !defined(__cpp_lib_destroying_delete)
1062# if (__cplusplus >= 202002L) && (__cpp_impl_destroying_delete)
1063# define __glibcxx_destroying_delete 201806L
1064# if defined(__glibcxx_want_all) || defined(__glibcxx_want_destroying_delete)
1065# define __cpp_lib_destroying_delete 201806L
1069#undef __glibcxx_want_destroying_delete
1071#if !defined(__cpp_lib_constexpr_string_view)
1072# if (__cplusplus >= 202002L)
1073# define __glibcxx_constexpr_string_view 201811L
1074# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_string_view)
1075# define __cpp_lib_constexpr_string_view 201811L
1079#undef __glibcxx_want_constexpr_string_view
1081#if !defined(__cpp_lib_endian)
1082# if (__cplusplus >= 202002L)
1083# define __glibcxx_endian 201907L
1084# if defined(__glibcxx_want_all) || defined(__glibcxx_want_endian)
1085# define __cpp_lib_endian 201907L
1089#undef __glibcxx_want_endian
1091#if !defined(__cpp_lib_int_pow2)
1092# if (__cplusplus >= 202002L)
1093# define __glibcxx_int_pow2 202002L
1094# if defined(__glibcxx_want_all) || defined(__glibcxx_want_int_pow2)
1095# define __cpp_lib_int_pow2 202002L
1099#undef __glibcxx_want_int_pow2
1101#if !defined(__cpp_lib_integer_comparison_functions)
1102# if (__cplusplus >= 202002L)
1103# define __glibcxx_integer_comparison_functions 202002L
1104# if defined(__glibcxx_want_all) || defined(__glibcxx_want_integer_comparison_functions)
1105# define __cpp_lib_integer_comparison_functions 202002L
1109#undef __glibcxx_want_integer_comparison_functions
1111#if !defined(__cpp_lib_is_constant_evaluated)
1112# if (__cplusplus >= 202002L) && (defined(_GLIBCXX_HAVE_IS_CONSTANT_EVALUATED))
1113# define __glibcxx_is_constant_evaluated 201811L
1114# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_constant_evaluated)
1115# define __cpp_lib_is_constant_evaluated 201811L
1119#undef __glibcxx_want_is_constant_evaluated
1121#if !defined(__cpp_lib_constexpr_char_traits)
1122# if (__cplusplus >= 202002L) && (defined(__glibcxx_is_constant_evaluated))
1123# define __glibcxx_constexpr_char_traits 201811L
1124# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_char_traits)
1125# define __cpp_lib_constexpr_char_traits 201811L
1127# elif (__cplusplus >= 201703L) && (_GLIBCXX_HAVE_IS_CONSTANT_EVALUATED)
1128# define __glibcxx_constexpr_char_traits 201611L
1129# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_char_traits)
1130# define __cpp_lib_constexpr_char_traits 201611L
1134#undef __glibcxx_want_constexpr_char_traits
1136#if !defined(__cpp_lib_is_layout_compatible)
1137# if (__cplusplus >= 202002L) && (__has_builtin(__is_layout_compatible) && __has_builtin(__builtin_is_corresponding_member))
1138# define __glibcxx_is_layout_compatible 201907L
1139# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_layout_compatible)
1140# define __cpp_lib_is_layout_compatible 201907L
1144#undef __glibcxx_want_is_layout_compatible
1146#if !defined(__cpp_lib_is_nothrow_convertible)
1147# if (__cplusplus >= 202002L)
1148# define __glibcxx_is_nothrow_convertible 201806L
1149# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_nothrow_convertible)
1150# define __cpp_lib_is_nothrow_convertible 201806L
1154#undef __glibcxx_want_is_nothrow_convertible
1156#if !defined(__cpp_lib_is_pointer_interconvertible)
1157# if (__cplusplus >= 202002L) && (__has_builtin(__is_pointer_interconvertible_base_of) && __has_builtin(__builtin_is_pointer_interconvertible_with_class))
1158# define __glibcxx_is_pointer_interconvertible 201907L
1159# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_pointer_interconvertible)
1160# define __cpp_lib_is_pointer_interconvertible 201907L
1164#undef __glibcxx_want_is_pointer_interconvertible
1166#if !defined(__cpp_lib_math_constants)
1167# if (__cplusplus >= 202002L)
1168# define __glibcxx_math_constants 201907L
1169# if defined(__glibcxx_want_all) || defined(__glibcxx_want_math_constants)
1170# define __cpp_lib_math_constants 201907L
1174#undef __glibcxx_want_math_constants
1176#if !defined(__cpp_lib_make_obj_using_allocator)
1177# if (__cplusplus >= 202002L) && (__cpp_concepts)
1178# define __glibcxx_make_obj_using_allocator 201811L
1179# if defined(__glibcxx_want_all) || defined(__glibcxx_want_make_obj_using_allocator)
1183#undef __glibcxx_want_make_obj_using_allocator
1185#if !defined(__cpp_lib_remove_cvref)
1186# if (__cplusplus >= 202002L)
1187# define __glibcxx_remove_cvref 201711L
1188# if defined(__glibcxx_want_all) || defined(__glibcxx_want_remove_cvref)
1189# define __cpp_lib_remove_cvref 201711L
1193#undef __glibcxx_want_remove_cvref
1195#if !defined(__cpp_lib_source_location)
1196# if (__cplusplus >= 202002L) && (__has_builtin(__builtin_source_location))
1197# define __glibcxx_source_location 201907L
1198# if defined(__glibcxx_want_all) || defined(__glibcxx_want_source_location)
1199# define __cpp_lib_source_location 201907L
1203#undef __glibcxx_want_source_location
1205#if !defined(__cpp_lib_span)
1206# if (__cplusplus > 202302L) && (__glibcxx_concepts)
1207# define __glibcxx_span 202311L
1208# if defined(__glibcxx_want_all) || defined(__glibcxx_want_span)
1209# define __cpp_lib_span 202311L
1211# elif (__cplusplus >= 202002L) && (__glibcxx_concepts)
1212# define __glibcxx_span 202002L
1213# if defined(__glibcxx_want_all) || defined(__glibcxx_want_span)
1214# define __cpp_lib_span 202002L
1218#undef __glibcxx_want_span
1220#if !defined(__cpp_lib_mdspan)
1221# if (__cplusplus > 202302L)
1222# define __glibcxx_mdspan 202406L
1223# if defined(__glibcxx_want_all) || defined(__glibcxx_want_mdspan)
1224# define __cpp_lib_mdspan 202406L
1226# elif (__cplusplus > 202002L)
1227# define __glibcxx_mdspan 202207L
1228# if defined(__glibcxx_want_all) || defined(__glibcxx_want_mdspan)
1229# define __cpp_lib_mdspan 202207L
1233#undef __glibcxx_want_mdspan
1235#if !defined(__cpp_lib_aligned_accessor)
1236# if (__cplusplus > 202302L) && (__glibcxx_assume_aligned && __glibcxx_is_sufficiently_aligned)
1237# define __glibcxx_aligned_accessor 202411L
1238# if defined(__glibcxx_want_all) || defined(__glibcxx_want_aligned_accessor)
1239# define __cpp_lib_aligned_accessor 202411L
1243#undef __glibcxx_want_aligned_accessor
1245#if !defined(__cpp_lib_padded_layouts)
1246# if (__cplusplus > 202302L)
1247# define __glibcxx_padded_layouts 202403L
1248# if defined(__glibcxx_want_all) || defined(__glibcxx_want_padded_layouts)
1252#undef __glibcxx_want_padded_layouts
1254#if !defined(__cpp_lib_submdspan)
1255# if (__cplusplus > 202302L) && (__glibcxx_constant_wrapper >= 202506L)
1256# define __glibcxx_submdspan 202603L
1257# if defined(__glibcxx_want_all) || defined(__glibcxx_want_submdspan)
1258# define __cpp_lib_submdspan 202603L
1262#undef __glibcxx_want_submdspan
1264#if !defined(__cpp_lib_ssize)
1265# if (__cplusplus >= 202002L)
1266# define __glibcxx_ssize 201902L
1267# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ssize)
1268# define __cpp_lib_ssize 201902L
1272#undef __glibcxx_want_ssize
1274#if !defined(__cpp_lib_three_way_comparison)
1275# if (__cplusplus >= 202002L) && (__cpp_impl_three_way_comparison >= 201907L && __glibcxx_concepts)
1276# define __glibcxx_three_way_comparison 201907L
1277# if defined(__glibcxx_want_all) || defined(__glibcxx_want_three_way_comparison)
1278# define __cpp_lib_three_way_comparison 201907L
1282#undef __glibcxx_want_three_way_comparison
1284#if !defined(__cpp_lib_to_address)
1285# if (__cplusplus >= 202002L)
1286# define __glibcxx_to_address 201711L
1287# if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_address)
1288# define __cpp_lib_to_address 201711L
1292#undef __glibcxx_want_to_address
1294#if !defined(__cpp_lib_to_array)
1295# if (__cplusplus >= 202002L) && (__cpp_generic_lambdas >= 201707L)
1296# define __glibcxx_to_array 201907L
1297# if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_array)
1298# define __cpp_lib_to_array 201907L
1302#undef __glibcxx_want_to_array
1304#if !defined(__cpp_lib_type_identity)
1305# if (__cplusplus >= 202002L)
1306# define __glibcxx_type_identity 201806L
1307# if defined(__glibcxx_want_all) || defined(__glibcxx_want_type_identity)
1308# define __cpp_lib_type_identity 201806L
1312#undef __glibcxx_want_type_identity
1314#if !defined(__cpp_lib_unwrap_ref)
1315# if (__cplusplus >= 202002L)
1316# define __glibcxx_unwrap_ref 201811L
1317# if defined(__glibcxx_want_all) || defined(__glibcxx_want_unwrap_ref)
1318# define __cpp_lib_unwrap_ref 201811L
1322#undef __glibcxx_want_unwrap_ref
1324#if !defined(__cpp_lib_constexpr_iterator)
1325# if (__cplusplus >= 202002L)
1326# define __glibcxx_constexpr_iterator 201811L
1327# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_iterator)
1328# define __cpp_lib_constexpr_iterator 201811L
1332#undef __glibcxx_want_constexpr_iterator
1334#if !defined(__cpp_lib_interpolate)
1335# if (__cplusplus >= 202002L)
1336# define __glibcxx_interpolate 201902L
1337# if defined(__glibcxx_want_all) || defined(__glibcxx_want_interpolate)
1338# define __cpp_lib_interpolate 201902L
1342#undef __glibcxx_want_interpolate
1344#if !defined(__cpp_lib_constexpr_utility)
1345# if (__cplusplus >= 202002L)
1346# define __glibcxx_constexpr_utility 201811L
1347# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_utility)
1348# define __cpp_lib_constexpr_utility 201811L
1352#undef __glibcxx_want_constexpr_utility
1354#if !defined(__cpp_lib_shift)
1355# if (__cplusplus > 202002L)
1356# define __glibcxx_shift 202202L
1357# if defined(__glibcxx_want_all) || defined(__glibcxx_want_shift)
1358# define __cpp_lib_shift 202202L
1360# elif (__cplusplus >= 202002L)
1361# define __glibcxx_shift 201806L
1362# if defined(__glibcxx_want_all) || defined(__glibcxx_want_shift)
1363# define __cpp_lib_shift 201806L
1367#undef __glibcxx_want_shift
1369#if !defined(__cpp_lib_ranges)
1370# if (__cplusplus > 202302L) && (__glibcxx_concepts)
1371# define __glibcxx_ranges 202406L
1372# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges)
1373# define __cpp_lib_ranges 202406L
1375# elif (__cplusplus > 202002L) && (__glibcxx_concepts)
1376# define __glibcxx_ranges 202302L
1377# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges)
1378# define __cpp_lib_ranges 202302L
1380# elif (__cplusplus >= 202002L) && (__glibcxx_concepts)
1381# define __glibcxx_ranges 202110L
1382# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges)
1383# define __cpp_lib_ranges 202110L
1387#undef __glibcxx_want_ranges
1389#if !defined(__cpp_lib_constexpr_numeric)
1390# if (__cplusplus >= 202002L)
1391# define __glibcxx_constexpr_numeric 201911L
1392# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_numeric)
1393# define __cpp_lib_constexpr_numeric 201911L
1397#undef __glibcxx_want_constexpr_numeric
1399#if !defined(__cpp_lib_constexpr_functional)
1400# if (__cplusplus >= 202002L)
1401# define __glibcxx_constexpr_functional 201907L
1402# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_functional)
1403# define __cpp_lib_constexpr_functional 201907L
1407#undef __glibcxx_want_constexpr_functional
1409#if !defined(__cpp_lib_constexpr_algorithms)
1410# if (__cplusplus > 202302L)
1411# define __glibcxx_constexpr_algorithms 202306L
1412# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_algorithms)
1413# define __cpp_lib_constexpr_algorithms 202306L
1415# elif (__cplusplus >= 202002L)
1416# define __glibcxx_constexpr_algorithms 201806L
1417# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_algorithms)
1418# define __cpp_lib_constexpr_algorithms 201806L
1422#undef __glibcxx_want_constexpr_algorithms
1424#if !defined(__cpp_lib_constexpr_tuple)
1425# if (__cplusplus >= 202002L)
1426# define __glibcxx_constexpr_tuple 201811L
1427# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_tuple)
1428# define __cpp_lib_constexpr_tuple 201811L
1432#undef __glibcxx_want_constexpr_tuple
1434#if !defined(__cpp_lib_constexpr_memory)
1435# if (__cplusplus > 202002L) && (__cpp_constexpr_dynamic_alloc)
1436# define __glibcxx_constexpr_memory 202202L
1437# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_memory)
1438# define __cpp_lib_constexpr_memory 202202L
1440# elif (__cplusplus >= 202002L)
1441# define __glibcxx_constexpr_memory 201811L
1442# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_memory)
1443# define __cpp_lib_constexpr_memory 201811L
1447#undef __glibcxx_want_constexpr_memory
1449#if !defined(__cpp_lib_atomic_shared_ptr)
1450# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1451# define __glibcxx_atomic_shared_ptr 201711L
1452# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_shared_ptr)
1453# define __cpp_lib_atomic_shared_ptr 201711L
1457#undef __glibcxx_want_atomic_shared_ptr
1459#if !defined(__cpp_lib_atomic_wait)
1460# if (__cplusplus >= 202002L) && defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED
1461# define __glibcxx_atomic_wait 201907L
1462# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_wait)
1463# define __cpp_lib_atomic_wait 201907L
1465# elif (__cplusplus >= 202002L) && !defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED && (defined(_GLIBCXX_HAVE_LINUX_FUTEX))
1466# define __glibcxx_atomic_wait 201907L
1467# if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_wait)
1468# define __cpp_lib_atomic_wait 201907L
1472#undef __glibcxx_want_atomic_wait
1474#if !defined(__cpp_lib_barrier)
1475# if (__cplusplus >= 202002L) && (__cpp_aligned_new && __glibcxx_atomic_wait)
1476# define __glibcxx_barrier 201907L
1477# if defined(__glibcxx_want_all) || defined(__glibcxx_want_barrier)
1478# define __cpp_lib_barrier 201907L
1482#undef __glibcxx_want_barrier
1484#if !defined(__cpp_lib_constexpr_exceptions)
1485# if (__cplusplus > 202302L) && _GLIBCXX_USE_CXX11_ABI && (__cpp_constexpr_exceptions >= 202411L)
1486# define __glibcxx_constexpr_exceptions 202502L
1487# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_exceptions)
1488# define __cpp_lib_constexpr_exceptions 202502L
1492#undef __glibcxx_want_constexpr_exceptions
1494#if !defined(__cpp_lib_format)
1495# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
1496# define __glibcxx_format 202603L
1497# if defined(__glibcxx_want_all) || defined(__glibcxx_want_format)
1498# define __cpp_lib_format 202603L
1500# elif (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1501# define __glibcxx_format 202304L
1502# if defined(__glibcxx_want_all) || defined(__glibcxx_want_format)
1503# define __cpp_lib_format 202304L
1507#undef __glibcxx_want_format
1509#if !defined(__cpp_lib_constexpr_format)
1510# if (__cplusplus > 202302L) && _GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED && (__cpp_lib_constexpr_exceptions >= 202502L)
1511# define __glibcxx_constexpr_format 202511L
1512# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_format)
1513# define __cpp_lib_constexpr_format 202511L
1517#undef __glibcxx_want_constexpr_format
1519#if !defined(__cpp_lib_format_uchar)
1520# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1521# define __glibcxx_format_uchar 202311L
1522# if defined(__glibcxx_want_all) || defined(__glibcxx_want_format_uchar)
1523# define __cpp_lib_format_uchar 202311L
1527#undef __glibcxx_want_format_uchar
1529#if !defined(__cpp_lib_constexpr_complex)
1530# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1531# define __glibcxx_constexpr_complex 201711L
1532# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_complex)
1533# define __cpp_lib_constexpr_complex 201711L
1537#undef __glibcxx_want_constexpr_complex
1539#if !defined(__cpp_lib_constexpr_dynamic_alloc)
1540# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1541# define __glibcxx_constexpr_dynamic_alloc 201907L
1542# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_dynamic_alloc)
1543# define __cpp_lib_constexpr_dynamic_alloc 201907L
1547#undef __glibcxx_want_constexpr_dynamic_alloc
1549#if !defined(__cpp_lib_constexpr_flat_map)
1550# if (__cplusplus > 202302L)
1551# define __glibcxx_constexpr_flat_map 202502L
1552# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_flat_map)
1553# define __cpp_lib_constexpr_flat_map 202502L
1557#undef __glibcxx_want_constexpr_flat_map
1559#if !defined(__cpp_lib_constexpr_flat_set)
1560# if (__cplusplus > 202302L)
1561# define __glibcxx_constexpr_flat_set 202502L
1562# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_flat_set)
1563# define __cpp_lib_constexpr_flat_set 202502L
1567#undef __glibcxx_want_constexpr_flat_set
1569#if !defined(__cpp_lib_constexpr_string)
1570# if (__cplusplus > 202302L) && _GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED
1571# define __glibcxx_constexpr_string 202511L
1572# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_string)
1573# define __cpp_lib_constexpr_string 202511L
1575# elif (__cplusplus >= 202002L) && _GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED && (defined(__glibcxx_is_constant_evaluated))
1576# define __glibcxx_constexpr_string 201907L
1577# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_string)
1578# define __cpp_lib_constexpr_string 201907L
1580# elif (__cplusplus >= 202002L) && !_GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED && (defined(__glibcxx_is_constant_evaluated))
1581# define __glibcxx_constexpr_string 201811L
1582# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_string)
1583# define __cpp_lib_constexpr_string 201811L
1585# elif (__cplusplus >= 201703L) && _GLIBCXX_HOSTED && (_GLIBCXX_HAVE_IS_CONSTANT_EVALUATED)
1586# define __glibcxx_constexpr_string 201611L
1587# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_string)
1588# define __cpp_lib_constexpr_string 201611L
1592#undef __glibcxx_want_constexpr_string
1594#if !defined(__cpp_lib_constexpr_vector)
1595# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1596# define __glibcxx_constexpr_vector 201907L
1597# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_vector)
1598# define __cpp_lib_constexpr_vector 201907L
1602#undef __glibcxx_want_constexpr_vector
1604#if !defined(__cpp_lib_constexpr_deque)
1605# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
1606# define __glibcxx_constexpr_deque 202502L
1607# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_deque)
1608# define __cpp_lib_constexpr_deque 202502L
1612#undef __glibcxx_want_constexpr_deque
1614#if !defined(__cpp_lib_constexpr_queue)
1615# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
1616# define __glibcxx_constexpr_queue 202502L
1617# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_queue)
1618# define __cpp_lib_constexpr_queue 202502L
1622#undef __glibcxx_want_constexpr_queue
1624#if !defined(__cpp_lib_constexpr_stack)
1625# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
1626# define __glibcxx_constexpr_stack 202502L
1627# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_stack)
1628# define __cpp_lib_constexpr_stack 202502L
1632#undef __glibcxx_want_constexpr_stack
1634#if !defined(__cpp_lib_constrained_equality)
1635# if (__cplusplus > 202002L) && (__glibcxx_three_way_comparison)
1636# define __glibcxx_constrained_equality 202411L
1637# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constrained_equality)
1638# define __cpp_lib_constrained_equality 202411L
1640# elif (__cplusplus >= 202002L) && (__glibcxx_three_way_comparison)
1641# define __glibcxx_constrained_equality 202403L
1642# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constrained_equality)
1643# define __cpp_lib_constrained_equality 202403L
1647#undef __glibcxx_want_constrained_equality
1649#if !defined(__cpp_lib_erase_if)
1650# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1651# define __glibcxx_erase_if 202002L
1652# if defined(__glibcxx_want_all) || defined(__glibcxx_want_erase_if)
1653# define __cpp_lib_erase_if 202002L
1657#undef __glibcxx_want_erase_if
1659#if !defined(__cpp_lib_generic_unordered_lookup)
1660# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1661# define __glibcxx_generic_unordered_lookup 201811L
1662# if defined(__glibcxx_want_all) || defined(__glibcxx_want_generic_unordered_lookup)
1663# define __cpp_lib_generic_unordered_lookup 201811L
1667#undef __glibcxx_want_generic_unordered_lookup
1669#if !defined(__cpp_lib_jthread)
1670# if (__cplusplus >= 202002L) && defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED
1671# define __glibcxx_jthread 201911L
1672# if defined(__glibcxx_want_all) || defined(__glibcxx_want_jthread)
1673# define __cpp_lib_jthread 201911L
1677#undef __glibcxx_want_jthread
1679#if !defined(__cpp_lib_latch)
1680# if (__cplusplus >= 202002L) && (__glibcxx_atomic_wait)
1681# define __glibcxx_latch 201907L
1682# if defined(__glibcxx_want_all) || defined(__glibcxx_want_latch)
1683# define __cpp_lib_latch 201907L
1687#undef __glibcxx_want_latch
1689#if !defined(__cpp_lib_list_remove_return_type)
1690# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1691# define __glibcxx_list_remove_return_type 201806L
1692# if defined(__glibcxx_want_all) || defined(__glibcxx_want_list_remove_return_type)
1693# define __cpp_lib_list_remove_return_type 201806L
1697#undef __glibcxx_want_list_remove_return_type
1699#if !defined(__cpp_lib_polymorphic_allocator)
1700# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1701# define __glibcxx_polymorphic_allocator 201902L
1702# if defined(__glibcxx_want_all) || defined(__glibcxx_want_polymorphic_allocator)
1703# define __cpp_lib_polymorphic_allocator 201902L
1707#undef __glibcxx_want_polymorphic_allocator
1709#if !defined(__cpp_lib_move_iterator_concept)
1710# if (__cplusplus >= 202002L) && (__glibcxx_concepts)
1711# define __glibcxx_move_iterator_concept 202207L
1712# if defined(__glibcxx_want_all) || defined(__glibcxx_want_move_iterator_concept)
1713# define __cpp_lib_move_iterator_concept 202207L
1717#undef __glibcxx_want_move_iterator_concept
1719#if !defined(__cpp_lib_semaphore)
1720# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED && (__glibcxx_atomic_wait)
1721# define __glibcxx_semaphore 201907L
1722# if defined(__glibcxx_want_all) || defined(__glibcxx_want_semaphore)
1723# define __cpp_lib_semaphore 201907L
1727#undef __glibcxx_want_semaphore
1729#if !defined(__cpp_lib_smart_ptr_for_overwrite)
1730# if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED
1731# define __glibcxx_smart_ptr_for_overwrite 202002L
1732# if defined(__glibcxx_want_all) || defined(__glibcxx_want_smart_ptr_for_overwrite)
1733# define __cpp_lib_smart_ptr_for_overwrite 202002L
1737#undef __glibcxx_want_smart_ptr_for_overwrite
1739#if !defined(__cpp_lib_syncbuf)
1740# if (__cplusplus >= 202002L) && _GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED
1741# define __glibcxx_syncbuf 201803L
1742# if defined(__glibcxx_want_all) || defined(__glibcxx_want_syncbuf)
1743# define __cpp_lib_syncbuf 201803L
1747#undef __glibcxx_want_syncbuf
1749#if !defined(__cpp_lib_byteswap)
1750# if (__cplusplus > 202002L)
1751# define __glibcxx_byteswap 202110L
1752# if defined(__glibcxx_want_all) || defined(__glibcxx_want_byteswap)
1753# define __cpp_lib_byteswap 202110L
1757#undef __glibcxx_want_byteswap
1759#if !defined(__cpp_lib_constexpr_charconv)
1760# if (__cplusplus > 202002L)
1761# define __glibcxx_constexpr_charconv 202207L
1762# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_charconv)
1763# define __cpp_lib_constexpr_charconv 202207L
1767#undef __glibcxx_want_constexpr_charconv
1769#if !defined(__cpp_lib_constexpr_typeinfo)
1770# if (__cplusplus > 202002L)
1771# define __glibcxx_constexpr_typeinfo 202106L
1772# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_typeinfo)
1773# define __cpp_lib_constexpr_typeinfo 202106L
1777#undef __glibcxx_want_constexpr_typeinfo
1779#if !defined(__cpp_lib_expected)
1780# if (__cplusplus > 202002L) && (__cpp_concepts >= 202002L)
1781# define __glibcxx_expected 202211L
1782# if defined(__glibcxx_want_all) || defined(__glibcxx_want_expected)
1783# define __cpp_lib_expected 202211L
1787#undef __glibcxx_want_expected
1789#if !defined(__cpp_lib_format_ranges)
1790# if (__cplusplus > 202002L) && _GLIBCXX_HOSTED
1791# define __glibcxx_format_ranges 202207L
1792# if defined(__glibcxx_want_all) || defined(__glibcxx_want_format_ranges)
1793# define __cpp_lib_format_ranges 202207L
1797#undef __glibcxx_want_format_ranges
1799#if !defined(__cpp_lib_format_path)
1800# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
1801# define __glibcxx_format_path 202506L
1802# if defined(__glibcxx_want_all) || defined(__glibcxx_want_format_path)
1803# define __cpp_lib_format_path 202506L
1807#undef __glibcxx_want_format_path
1809#if !defined(__cpp_lib_freestanding_algorithm)
1810# if (__cplusplus > 202002L)
1811# define __glibcxx_freestanding_algorithm 202311L
1812# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_algorithm)
1813# define __cpp_lib_freestanding_algorithm 202311L
1817#undef __glibcxx_want_freestanding_algorithm
1819#if !defined(__cpp_lib_freestanding_array)
1820# if (__cplusplus > 202002L)
1821# define __glibcxx_freestanding_array 202311L
1822# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_array)
1823# define __cpp_lib_freestanding_array 202311L
1827#undef __glibcxx_want_freestanding_array
1829#if !defined(__cpp_lib_freestanding_cstring)
1830# if (__cplusplus > 202002L)
1831# define __glibcxx_freestanding_cstring 202311L
1832# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_cstring)
1833# define __cpp_lib_freestanding_cstring 202311L
1837#undef __glibcxx_want_freestanding_cstring
1839#if !defined(__cpp_lib_freestanding_expected)
1840# if (__cplusplus > 202002L) && (__cpp_lib_expected)
1841# define __glibcxx_freestanding_expected 202311L
1842# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_expected)
1843# define __cpp_lib_freestanding_expected 202311L
1847#undef __glibcxx_want_freestanding_expected
1849#if !defined(__cpp_lib_freestanding_optional)
1850# if (__cplusplus > 202002L)
1851# define __glibcxx_freestanding_optional 202311L
1852# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_optional)
1853# define __cpp_lib_freestanding_optional 202311L
1857#undef __glibcxx_want_freestanding_optional
1859#if !defined(__cpp_lib_freestanding_string_view)
1860# if (__cplusplus > 202002L)
1861# define __glibcxx_freestanding_string_view 202311L
1862# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_string_view)
1863# define __cpp_lib_freestanding_string_view 202311L
1867#undef __glibcxx_want_freestanding_string_view
1869#if !defined(__cpp_lib_freestanding_variant)
1870# if (__cplusplus > 202002L)
1871# define __glibcxx_freestanding_variant 202311L
1872# if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_variant)
1873# define __cpp_lib_freestanding_variant 202311L
1877#undef __glibcxx_want_freestanding_variant
1879#if !defined(__cpp_lib_invoke_r)
1880# if (__cplusplus > 202002L)
1881# define __glibcxx_invoke_r 202106L
1882# if defined(__glibcxx_want_all) || defined(__glibcxx_want_invoke_r)
1883# define __cpp_lib_invoke_r 202106L
1887#undef __glibcxx_want_invoke_r
1889#if !defined(__cpp_lib_associative_heterogeneous_erasure)
1890# if (__cplusplus > 202002L)
1891# define __glibcxx_associative_heterogeneous_erasure 202110L
1892# if defined(__glibcxx_want_all) || defined(__glibcxx_want_associative_heterogeneous_erasure)
1893# define __cpp_lib_associative_heterogeneous_erasure 202110L
1897#undef __glibcxx_want_associative_heterogeneous_erasure
1899#if !defined(__cpp_lib_associative_heterogeneous_insertion)
1900# if (__cplusplus > 202302L)
1901# define __glibcxx_associative_heterogeneous_insertion 202306L
1902# if defined(__glibcxx_want_all) || defined(__glibcxx_want_associative_heterogeneous_insertion)
1903# define __cpp_lib_associative_heterogeneous_insertion 202306L
1907#undef __glibcxx_want_associative_heterogeneous_insertion
1909#if !defined(__cpp_lib_is_scoped_enum)
1910# if (__cplusplus > 202002L)
1911# define __glibcxx_is_scoped_enum 202011L
1912# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_scoped_enum)
1913# define __cpp_lib_is_scoped_enum 202011L
1917#undef __glibcxx_want_is_scoped_enum
1919#if !defined(__cpp_lib_reference_from_temporary)
1920# if (__cplusplus > 202002L) && (__has_builtin(__reference_constructs_from_temporary) && __has_builtin(__reference_converts_from_temporary))
1921# define __glibcxx_reference_from_temporary 202202L
1922# if defined(__glibcxx_want_all) || defined(__glibcxx_want_reference_from_temporary)
1923# define __cpp_lib_reference_from_temporary 202202L
1927#undef __glibcxx_want_reference_from_temporary
1929#if !defined(__cpp_lib_containers_ranges)
1930# if (__cplusplus > 202002L) && _GLIBCXX_HOSTED
1931# define __glibcxx_containers_ranges 202202L
1932# if defined(__glibcxx_want_all) || defined(__glibcxx_want_containers_ranges)
1933# define __cpp_lib_containers_ranges 202202L
1937#undef __glibcxx_want_containers_ranges
1939#if !defined(__cpp_lib_ranges_to_container)
1940# if (__cplusplus > 202002L) && _GLIBCXX_HOSTED
1941# define __glibcxx_ranges_to_container 202202L
1942# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_to_container)
1943# define __cpp_lib_ranges_to_container 202202L
1947#undef __glibcxx_want_ranges_to_container
1949#if !defined(__cpp_lib_ranges_zip)
1950# if (__cplusplus > 202002L)
1951# define __glibcxx_ranges_zip 202110L
1952# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_zip)
1953# define __cpp_lib_ranges_zip 202110L
1957#undef __glibcxx_want_ranges_zip
1959#if !defined(__cpp_lib_ranges_chunk)
1960# if (__cplusplus > 202002L)
1961# define __glibcxx_ranges_chunk 202202L
1962# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_chunk)
1963# define __cpp_lib_ranges_chunk 202202L
1967#undef __glibcxx_want_ranges_chunk
1969#if !defined(__cpp_lib_ranges_slide)
1970# if (__cplusplus > 202002L)
1971# define __glibcxx_ranges_slide 202202L
1972# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_slide)
1973# define __cpp_lib_ranges_slide 202202L
1977#undef __glibcxx_want_ranges_slide
1979#if !defined(__cpp_lib_ranges_chunk_by)
1980# if (__cplusplus > 202002L)
1981# define __glibcxx_ranges_chunk_by 202202L
1982# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_chunk_by)
1983# define __cpp_lib_ranges_chunk_by 202202L
1987#undef __glibcxx_want_ranges_chunk_by
1989#if !defined(__cpp_lib_ranges_join_with)
1990# if (__cplusplus > 202002L)
1991# define __glibcxx_ranges_join_with 202202L
1992# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_join_with)
1993# define __cpp_lib_ranges_join_with 202202L
1997#undef __glibcxx_want_ranges_join_with
1999#if !defined(__cpp_lib_ranges_repeat)
2000# if (__cplusplus > 202002L)
2001# define __glibcxx_ranges_repeat 202207L
2002# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_repeat)
2003# define __cpp_lib_ranges_repeat 202207L
2007#undef __glibcxx_want_ranges_repeat
2009#if !defined(__cpp_lib_ranges_stride)
2010# if (__cplusplus > 202002L)
2011# define __glibcxx_ranges_stride 202207L
2012# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_stride)
2013# define __cpp_lib_ranges_stride 202207L
2017#undef __glibcxx_want_ranges_stride
2019#if !defined(__cpp_lib_ranges_cartesian_product)
2020# if (__cplusplus > 202002L)
2021# define __glibcxx_ranges_cartesian_product 202207L
2022# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_cartesian_product)
2023# define __cpp_lib_ranges_cartesian_product 202207L
2027#undef __glibcxx_want_ranges_cartesian_product
2029#if !defined(__cpp_lib_ranges_as_rvalue)
2030# if (__cplusplus > 202002L)
2031# define __glibcxx_ranges_as_rvalue 202207L
2032# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_as_rvalue)
2033# define __cpp_lib_ranges_as_rvalue 202207L
2037#undef __glibcxx_want_ranges_as_rvalue
2039#if !defined(__cpp_lib_ranges_as_const)
2040# if (__cplusplus > 202002L)
2041# define __glibcxx_ranges_as_const 202311L
2042# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_as_const)
2043# define __cpp_lib_ranges_as_const 202311L
2047#undef __glibcxx_want_ranges_as_const
2049#if !defined(__cpp_lib_ranges_enumerate)
2050# if (__cplusplus > 202002L)
2051# define __glibcxx_ranges_enumerate 202302L
2052# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_enumerate)
2053# define __cpp_lib_ranges_enumerate 202302L
2057#undef __glibcxx_want_ranges_enumerate
2059#if !defined(__cpp_lib_ranges_fold)
2060# if (__cplusplus > 202002L)
2061# define __glibcxx_ranges_fold 202207L
2062# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_fold)
2063# define __cpp_lib_ranges_fold 202207L
2067#undef __glibcxx_want_ranges_fold
2069#if !defined(__cpp_lib_ranges_contains)
2070# if (__cplusplus > 202002L)
2071# define __glibcxx_ranges_contains 202207L
2072# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_contains)
2073# define __cpp_lib_ranges_contains 202207L
2077#undef __glibcxx_want_ranges_contains
2079#if !defined(__cpp_lib_ranges_iota)
2080# if (__cplusplus > 202002L)
2081# define __glibcxx_ranges_iota 202202L
2082# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_iota)
2083# define __cpp_lib_ranges_iota 202202L
2087#undef __glibcxx_want_ranges_iota
2089#if !defined(__cpp_lib_ranges_find_last)
2090# if (__cplusplus > 202002L)
2091# define __glibcxx_ranges_find_last 202207L
2092# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_find_last)
2093# define __cpp_lib_ranges_find_last 202207L
2097#undef __glibcxx_want_ranges_find_last
2099#if !defined(__cpp_lib_ranges_starts_ends_with)
2100# if (__cplusplus > 202002L)
2101# define __glibcxx_ranges_starts_ends_with 202106L
2102# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_starts_ends_with)
2103# define __cpp_lib_ranges_starts_ends_with 202106L
2107#undef __glibcxx_want_ranges_starts_ends_with
2109#if !defined(__cpp_lib_ranges_indices)
2110# if (__cplusplus > 202302L)
2111# define __glibcxx_ranges_indices 202506L
2112# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_indices)
2113# define __cpp_lib_ranges_indices 202506L
2117#undef __glibcxx_want_ranges_indices
2119#if !defined(__cpp_lib_constexpr_bitset)
2120# if (__cplusplus > 202002L) && _GLIBCXX_HOSTED && (__cpp_constexpr_dynamic_alloc)
2121# define __glibcxx_constexpr_bitset 202202L
2122# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_bitset)
2123# define __cpp_lib_constexpr_bitset 202202L
2127#undef __glibcxx_want_constexpr_bitset
2129#if !defined(__cpp_lib_stdatomic_h)
2130# if (__cplusplus > 202002L)
2131# define __glibcxx_stdatomic_h 202011L
2132# if defined(__glibcxx_want_all) || defined(__glibcxx_want_stdatomic_h)
2133# define __cpp_lib_stdatomic_h 202011L
2137#undef __glibcxx_want_stdatomic_h
2139#if !defined(__cpp_lib_stdbit_h)
2140# if (__cplusplus > 202302L)
2141# define __glibcxx_stdbit_h 202603L
2142# if defined(__glibcxx_want_all) || defined(__glibcxx_want_stdbit_h)
2143# define __cpp_lib_stdbit_h 202603L
2147#undef __glibcxx_want_stdbit_h
2149#if !defined(__cpp_lib_stdckdint_h)
2150# if (__cplusplus > 202302L)
2151# define __glibcxx_stdckdint_h 202603L
2152# if defined(__glibcxx_want_all) || defined(__glibcxx_want_stdckdint_h)
2153# define __cpp_lib_stdckdint_h 202603L
2157#undef __glibcxx_want_stdckdint_h
2159#if !defined(__cpp_lib_adaptor_iterator_pair_constructor)
2160# if (__cplusplus > 202002L) && _GLIBCXX_HOSTED
2161# define __glibcxx_adaptor_iterator_pair_constructor 202106L
2162# if defined(__glibcxx_want_all) || defined(__glibcxx_want_adaptor_iterator_pair_constructor)
2163# define __cpp_lib_adaptor_iterator_pair_constructor 202106L
2167#undef __glibcxx_want_adaptor_iterator_pair_constructor
2169#if !defined(__cpp_lib_flat_map)
2170# if (__cplusplus > 202002L)
2171# define __glibcxx_flat_map 202511L
2172# if defined(__glibcxx_want_all) || defined(__glibcxx_want_flat_map)
2173# define __cpp_lib_flat_map 202511L
2177#undef __glibcxx_want_flat_map
2179#if !defined(__cpp_lib_flat_set)
2180# if (__cplusplus > 202002L)
2181# define __glibcxx_flat_set 202511L
2182# if defined(__glibcxx_want_all) || defined(__glibcxx_want_flat_set)
2183# define __cpp_lib_flat_set 202511L
2187#undef __glibcxx_want_flat_set
2189#if !defined(__cpp_lib_common_reference)
2190# if (__cplusplus >= 202002L)
2191# define __glibcxx_common_reference 202302L
2192# if defined(__glibcxx_want_all) || defined(__glibcxx_want_common_reference)
2193# define __cpp_lib_common_reference 202302L
2197#undef __glibcxx_want_common_reference
2199#if !defined(__cpp_lib_common_reference_wrapper)
2200# if (__cplusplus >= 202002L)
2201# define __glibcxx_common_reference_wrapper 202302L
2202# if defined(__glibcxx_want_all) || defined(__glibcxx_want_common_reference_wrapper)
2203# define __cpp_lib_common_reference_wrapper 202302L
2207#undef __glibcxx_want_common_reference_wrapper
2209#if !defined(__cpp_lib_formatters)
2210# if (__cplusplus > 202002L) && _GLIBCXX_HOSTED
2211# define __glibcxx_formatters 202302L
2212# if defined(__glibcxx_want_all) || defined(__glibcxx_want_formatters)
2213# define __cpp_lib_formatters 202302L
2217#undef __glibcxx_want_formatters
2219#if !defined(__cpp_lib_forward_like)
2220# if (__cplusplus > 202002L)
2221# define __glibcxx_forward_like 202207L
2222# if defined(__glibcxx_want_all) || defined(__glibcxx_want_forward_like)
2223# define __cpp_lib_forward_like 202207L
2227#undef __glibcxx_want_forward_like
2229#if !defined(__cpp_lib_generator)
2230# if (__cplusplus > 202002L) && (__glibcxx_coroutine && __cpp_sized_deallocation)
2231# define __glibcxx_generator 202207L
2232# if defined(__glibcxx_want_all) || defined(__glibcxx_want_generator)
2233# define __cpp_lib_generator 202207L
2237#undef __glibcxx_want_generator
2239#if !defined(__cpp_lib_ios_noreplace)
2240# if (__cplusplus > 202002L) && _GLIBCXX_HOSTED
2241# define __glibcxx_ios_noreplace 202207L
2242# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ios_noreplace)
2243# define __cpp_lib_ios_noreplace 202207L
2247#undef __glibcxx_want_ios_noreplace
2249#if !defined(__cpp_lib_move_only_function)
2250# if (__cplusplus > 202002L) && _GLIBCXX_HOSTED
2251# define __glibcxx_move_only_function 202110L
2252# if defined(__glibcxx_want_all) || defined(__glibcxx_want_move_only_function)
2253# define __cpp_lib_move_only_function 202110L
2257#undef __glibcxx_want_move_only_function
2259#if !defined(__cpp_lib_copyable_function)
2260# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2261# define __glibcxx_copyable_function 202306L
2262# if defined(__glibcxx_want_all) || defined(__glibcxx_want_copyable_function)
2263# define __cpp_lib_copyable_function 202306L
2267#undef __glibcxx_want_copyable_function
2269#if !defined(__cpp_lib_function_ref)
2270# if (__cplusplus > 202302L)
2271# define __glibcxx_function_ref 202604L
2272# if defined(__glibcxx_want_all) || defined(__glibcxx_want_function_ref)
2273# define __cpp_lib_function_ref 202604L
2277#undef __glibcxx_want_function_ref
2279#if !defined(__cpp_lib_out_ptr)
2280# if (__cplusplus > 202002L)
2281# define __glibcxx_out_ptr 202311L
2282# if defined(__glibcxx_want_all) || defined(__glibcxx_want_out_ptr)
2283# define __cpp_lib_out_ptr 202311L
2287#undef __glibcxx_want_out_ptr
2289#if !defined(__cpp_lib_print)
2290# if (__cplusplus > 202002L) && _GLIBCXX_HOSTED
2291# define __glibcxx_print 202406L
2292# if defined(__glibcxx_want_all) || defined(__glibcxx_want_print)
2293# define __cpp_lib_print 202406L
2297#undef __glibcxx_want_print
2299#if !defined(__cpp_lib_spanstream)
2300# if (__cplusplus > 202002L) && _GLIBCXX_HOSTED && (__glibcxx_span)
2301# define __glibcxx_spanstream 202106L
2302# if defined(__glibcxx_want_all) || defined(__glibcxx_want_spanstream)
2303# define __cpp_lib_spanstream 202106L
2307#undef __glibcxx_want_spanstream
2309#if !defined(__cpp_lib_stacktrace)
2310# if (__cplusplus > 202002L) && _GLIBCXX_HOSTED && (_GLIBCXX_HAVE_STACKTRACE)
2311# define __glibcxx_stacktrace 202011L
2312# if defined(__glibcxx_want_all) || defined(__glibcxx_want_stacktrace)
2313# define __cpp_lib_stacktrace 202011L
2317#undef __glibcxx_want_stacktrace
2319#if !defined(__cpp_lib_start_lifetime_as)
2320# if (__cplusplus > 202002L)
2321# define __glibcxx_start_lifetime_as 202207L
2322# if defined(__glibcxx_want_all) || defined(__glibcxx_want_start_lifetime_as)
2323# define __cpp_lib_start_lifetime_as 202207L
2327#undef __glibcxx_want_start_lifetime_as
2329#if !defined(__cpp_lib_string_contains)
2330# if (__cplusplus > 202002L) && _GLIBCXX_HOSTED
2331# define __glibcxx_string_contains 202011L
2332# if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_contains)
2333# define __cpp_lib_string_contains 202011L
2337#undef __glibcxx_want_string_contains
2339#if !defined(__cpp_lib_string_resize_and_overwrite)
2340# if (__cplusplus > 202002L) && _GLIBCXX_HOSTED
2341# define __glibcxx_string_resize_and_overwrite 202110L
2342# if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_resize_and_overwrite)
2343# define __cpp_lib_string_resize_and_overwrite 202110L
2347#undef __glibcxx_want_string_resize_and_overwrite
2349#if !defined(__cpp_lib_string_subview)
2350# if (__cplusplus > 202302L)
2351# define __glibcxx_string_subview 202506L
2352# if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_subview)
2353# define __cpp_lib_string_subview 202506L
2357#undef __glibcxx_want_string_subview
2359#if !defined(__cpp_lib_to_underlying)
2360# if (__cplusplus > 202002L)
2361# define __glibcxx_to_underlying 202102L
2362# if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_underlying)
2363# define __cpp_lib_to_underlying 202102L
2367#undef __glibcxx_want_to_underlying
2369#if !defined(__cpp_lib_tuple_like)
2370# if (__cplusplus > 202302L) && (__cpp_explicit_this_parameter >= 202110L)
2371# define __glibcxx_tuple_like 202311L
2372# if defined(__glibcxx_want_all) || defined(__glibcxx_want_tuple_like)
2373# define __cpp_lib_tuple_like 202311L
2375# elif (__cplusplus > 202002L)
2376# define __glibcxx_tuple_like 202207L
2377# if defined(__glibcxx_want_all) || defined(__glibcxx_want_tuple_like)
2378# define __cpp_lib_tuple_like 202207L
2382#undef __glibcxx_want_tuple_like
2384#if !defined(__cpp_lib_unreachable)
2385# if (__cplusplus > 202002L)
2386# define __glibcxx_unreachable 202202L
2387# if defined(__glibcxx_want_all) || defined(__glibcxx_want_unreachable)
2388# define __cpp_lib_unreachable 202202L
2392#undef __glibcxx_want_unreachable
2394#if !defined(__cpp_lib_observable_checkpoint)
2395# if (__cplusplus > 202302L) && (__has_builtin(__builtin_observable_checkpoint))
2396# define __glibcxx_observable_checkpoint 202506L
2397# if defined(__glibcxx_want_all) || defined(__glibcxx_want_observable_checkpoint)
2398# define __cpp_lib_observable_checkpoint 202506L
2402#undef __glibcxx_want_observable_checkpoint
2404#if !defined(__cpp_lib_algorithm_iterator_requirements)
2405# if (__cplusplus >= 202002L)
2406# define __glibcxx_algorithm_iterator_requirements 202207L
2407# if defined(__glibcxx_want_all) || defined(__glibcxx_want_algorithm_iterator_requirements)
2408# define __cpp_lib_algorithm_iterator_requirements 202207L
2412#undef __glibcxx_want_algorithm_iterator_requirements
2414#if !defined(__cpp_lib_algorithm_default_value_type)
2415# if (__cplusplus > 202302L)
2416# define __glibcxx_algorithm_default_value_type 202603L
2417# if defined(__glibcxx_want_all) || defined(__glibcxx_want_algorithm_default_value_type)
2418# define __cpp_lib_algorithm_default_value_type 202603L
2422#undef __glibcxx_want_algorithm_default_value_type
2424#if !defined(__cpp_lib_constexpr_new)
2425# if (__cplusplus > 202302L) && (__cpp_constexpr >= 202406L)
2426# define __glibcxx_constexpr_new 202406L
2427# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_new)
2428# define __cpp_lib_constexpr_new 202406L
2432#undef __glibcxx_want_constexpr_new
2434#if !defined(__cpp_lib_debugging)
2435# if (__cplusplus > 202302L)
2436# define __glibcxx_debugging 202403L
2437# if defined(__glibcxx_want_all) || defined(__glibcxx_want_debugging)
2438# define __cpp_lib_debugging 202403L
2442#undef __glibcxx_want_debugging
2444#if !defined(__cpp_lib_fstream_native_handle)
2445# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2446# define __glibcxx_fstream_native_handle 202306L
2447# if defined(__glibcxx_want_all) || defined(__glibcxx_want_fstream_native_handle)
2448# define __cpp_lib_fstream_native_handle 202306L
2452#undef __glibcxx_want_fstream_native_handle
2454#if !defined(__cpp_lib_is_virtual_base_of)
2455# if (__cplusplus > 202302L) && (__has_builtin(__builtin_is_virtual_base_of))
2456# define __glibcxx_is_virtual_base_of 202406L
2457# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_virtual_base_of)
2458# define __cpp_lib_is_virtual_base_of 202406L
2462#undef __glibcxx_want_is_virtual_base_of
2464#if !defined(__cpp_lib_ranges_cache_latest)
2465# if (__cplusplus > 202302L)
2466# define __glibcxx_ranges_cache_latest 202411L
2467# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_cache_latest)
2468# define __cpp_lib_ranges_cache_latest 202411L
2472#undef __glibcxx_want_ranges_cache_latest
2474#if !defined(__cpp_lib_ranges_concat)
2475# if (__cplusplus > 202302L) && (__cpp_pack_indexing)
2476# define __glibcxx_ranges_concat 202403L
2477# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_concat)
2478# define __cpp_lib_ranges_concat 202403L
2482#undef __glibcxx_want_ranges_concat
2484#if !defined(__cpp_lib_ratio)
2485# if (__cplusplus > 202302L)
2486# define __glibcxx_ratio 202306L
2487# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ratio)
2488# define __cpp_lib_ratio 202306L
2492#undef __glibcxx_want_ratio
2494#if !defined(__cpp_lib_reference_wrapper)
2495# if (__cplusplus > 202302L)
2496# define __glibcxx_reference_wrapper 202403L
2497# if defined(__glibcxx_want_all) || defined(__glibcxx_want_reference_wrapper)
2498# define __cpp_lib_reference_wrapper 202403L
2502#undef __glibcxx_want_reference_wrapper
2504#if !defined(__cpp_lib_saturation_arithmetic)
2505# if (__cplusplus > 202302L)
2506# define __glibcxx_saturation_arithmetic 202603L
2507# if defined(__glibcxx_want_all) || defined(__glibcxx_want_saturation_arithmetic)
2508# define __cpp_lib_saturation_arithmetic 202603L
2512#undef __glibcxx_want_saturation_arithmetic
2514#if !defined(__cpp_lib_text_encoding)
2515# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED && (_GLIBCXX_USE_NL_LANGINFO_L)
2516# define __glibcxx_text_encoding 202306L
2517# if defined(__glibcxx_want_all) || defined(__glibcxx_want_text_encoding)
2518# define __cpp_lib_text_encoding 202306L
2522#undef __glibcxx_want_text_encoding
2524#if !defined(__cpp_lib_ranges_filter)
2525# if (__cplusplus >= 202002L)
2526# define __glibcxx_ranges_filter 202603L
2527# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_filter)
2528# define __cpp_lib_ranges_filter 202603L
2532#undef __glibcxx_want_ranges_filter
2534#if !defined(__cpp_lib_ranges_as_input)
2535# if (__cplusplus > 202302L)
2536# define __glibcxx_ranges_as_input 202502L
2537# if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_as_input)
2538# define __cpp_lib_ranges_as_input 202502L
2542#undef __glibcxx_want_ranges_as_input
2544#if !defined(__cpp_lib_to_string)
2545# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED && (__glibcxx_to_chars)
2546# define __glibcxx_to_string 202306L
2547# if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_string)
2548# define __cpp_lib_to_string 202306L
2552#undef __glibcxx_want_to_string
2554#if !defined(__cpp_lib_modules)
2555# if (__cplusplus >= 202002L) && (__cpp_modules)
2556# define __glibcxx_modules 202207L
2557# if defined(__glibcxx_want_all) || defined(__glibcxx_want_modules)
2558# define __cpp_lib_modules 202207L
2562#undef __glibcxx_want_modules
2564#if !defined(__cpp_lib_start_lifetime)
2565# if (__cplusplus > 202302L) && (__has_builtin(__builtin_start_lifetime))
2566# define __glibcxx_start_lifetime 202603L
2567# if defined(__glibcxx_want_all) || defined(__glibcxx_want_start_lifetime)
2568# define __cpp_lib_start_lifetime 202603L
2572#undef __glibcxx_want_start_lifetime
2574#if !defined(__cpp_lib_inplace_vector)
2575# if (__cplusplus > 202302L)
2576# define __glibcxx_inplace_vector 202603L
2577# if defined(__glibcxx_want_all) || defined(__glibcxx_want_inplace_vector)
2578# define __cpp_lib_inplace_vector 202603L
2582#undef __glibcxx_want_inplace_vector
2584#if !defined(__cpp_lib_constexpr_inplace_vector)
2585# if (__cplusplus > 202302L) && (__glibcxx_start_lifetime)
2586# define __glibcxx_constexpr_inplace_vector 202502L
2587# if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_inplace_vector)
2588# define __cpp_lib_constexpr_inplace_vector 202502L
2592#undef __glibcxx_want_constexpr_inplace_vector
2594#if !defined(__cpp_lib_indirect)
2595# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2596# define __glibcxx_indirect 202502L
2597# if defined(__glibcxx_want_all) || defined(__glibcxx_want_indirect)
2598# define __cpp_lib_indirect 202502L
2602#undef __glibcxx_want_indirect
2604#if !defined(__cpp_lib_polymorphic)
2605# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2606# define __glibcxx_polymorphic 202502L
2607# if defined(__glibcxx_want_all) || defined(__glibcxx_want_polymorphic)
2608# define __cpp_lib_polymorphic 202502L
2612#undef __glibcxx_want_polymorphic
2614#if !defined(__cpp_lib_smart_ptr_owner_equality)
2615# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2616# define __glibcxx_smart_ptr_owner_equality 202306L
2617# if defined(__glibcxx_want_all) || defined(__glibcxx_want_smart_ptr_owner_equality)
2618# define __cpp_lib_smart_ptr_owner_equality 202306L
2622#undef __glibcxx_want_smart_ptr_owner_equality
2624#if !defined(__cpp_lib_sstream_from_string_view)
2625# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED
2626# define __glibcxx_sstream_from_string_view 202306L
2627# if defined(__glibcxx_want_all) || defined(__glibcxx_want_sstream_from_string_view)
2628# define __cpp_lib_sstream_from_string_view 202306L
2632#undef __glibcxx_want_sstream_from_string_view
2634#if !defined(__cpp_lib_type_order)
2635# if (__cplusplus > 202302L) && (__has_builtin(__builtin_type_order) && __cpp_lib_three_way_comparison >= 201907L)
2636# define __glibcxx_type_order 202506L
2637# if defined(__glibcxx_want_all) || defined(__glibcxx_want_type_order)
2638# define __cpp_lib_type_order 202506L
2642#undef __glibcxx_want_type_order
2644#if !defined(__cpp_lib_exception_ptr_cast)
2645# if (__cplusplus > 202302L)
2646# define __glibcxx_exception_ptr_cast 202603L
2647# if defined(__glibcxx_want_all) || defined(__glibcxx_want_exception_ptr_cast)
2648# define __cpp_lib_exception_ptr_cast 202603L
2652#undef __glibcxx_want_exception_ptr_cast
2654#if !defined(__cpp_lib_bitset)
2655# if (__cplusplus > 202302L)
2656# define __glibcxx_bitset 202306L
2657# if defined(__glibcxx_want_all) || defined(__glibcxx_want_bitset)
2658# define __cpp_lib_bitset 202306L
2662#undef __glibcxx_want_bitset
2664#if !defined(__cpp_lib_philox_engine)
2665# if (__cplusplus > 202302L)
2666# define __glibcxx_philox_engine 202406L
2667# if defined(__glibcxx_want_all) || defined(__glibcxx_want_philox_engine)
2668# define __cpp_lib_philox_engine 202406L
2672#undef __glibcxx_want_philox_engine
2674#if !defined(__cpp_lib_reflection)
2675# if (__cplusplus > 202302L) && _GLIBCXX_USE_CXX11_ABI && (__cpp_impl_reflection >= 202603L)
2676# define __glibcxx_reflection 202603L
2677# if defined(__glibcxx_want_all) || defined(__glibcxx_want_reflection)
2678# define __cpp_lib_reflection 202603L
2682#undef __glibcxx_want_reflection
2684#if !defined(__cpp_lib_define_static)
2685# if (__cplusplus > 202302L) && _GLIBCXX_USE_CXX11_ABI && (__cpp_impl_reflection >= 202506L)
2686# define __glibcxx_define_static 202506L
2687# if defined(__glibcxx_want_all) || defined(__glibcxx_want_define_static)
2688# define __cpp_lib_define_static 202506L
2692#undef __glibcxx_want_define_static
2694#if !defined(__cpp_lib_is_implicit_lifetime)
2695# if (__cplusplus > 202002L) && (__has_builtin(__builtin_is_implicit_lifetime))
2696# define __glibcxx_is_implicit_lifetime 202302L
2697# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_implicit_lifetime)
2698# define __cpp_lib_is_implicit_lifetime 202302L
2702#undef __glibcxx_want_is_implicit_lifetime
2704#if !defined(__cpp_lib_contracts)
2705# if (__cplusplus > 202302L) && (__cpp_contracts >= 202502L)
2706# define __glibcxx_contracts 202502L
2707# if defined(__glibcxx_want_all) || defined(__glibcxx_want_contracts)
2708# define __cpp_lib_contracts 202502L
2712#undef __glibcxx_want_contracts
2714#if !defined(__cpp_lib_replaceable_contract_violation_handler)
2715# if (__cplusplus > 202302L) && (__cpp_contracts >= 202502L && __ELF__)
2716# define __glibcxx_replaceable_contract_violation_handler 202603L
2717# if defined(__glibcxx_want_all) || defined(__glibcxx_want_replaceable_contract_violation_handler)
2718# define __cpp_lib_replaceable_contract_violation_handler 202603L
2720# elif (__cplusplus > 202302L) && (__cpp_contracts >= 202502L)
2721# define __glibcxx_replaceable_contract_violation_handler 0L
2722# if defined(__glibcxx_want_all) || defined(__glibcxx_want_replaceable_contract_violation_handler)
2723# define __cpp_lib_replaceable_contract_violation_handler 0L
2727#undef __glibcxx_want_replaceable_contract_violation_handler
2729#if !defined(__cpp_lib_simd)
2730# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED && (__cpp_structured_bindings >= 202411L && __cpp_expansion_statements >= 202411L && __SSE2__)
2731# define __glibcxx_simd 202506L
2732# if defined(__glibcxx_want_all) || defined(__glibcxx_want_simd)
2736#undef __glibcxx_want_simd
2738#if !defined(__cpp_lib_simd_complex)
2739# if (__cplusplus > 202302L) && _GLIBCXX_HOSTED && (defined __glibcxx_simd)
2740# define __glibcxx_simd_complex 202502L
2741# if defined(__glibcxx_want_all) || defined(__glibcxx_want_simd_complex)
2745#undef __glibcxx_want_simd_complex
2747#if !defined(__cpp_lib_is_structural)
2748# if (__cplusplus > 202302L) && (__has_builtin(__builtin_is_structural))
2749# define __glibcxx_is_structural 202603L
2750# if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_structural)
2751# define __cpp_lib_is_structural 202603L
2755#undef __glibcxx_want_is_structural
2757#if !defined(__cpp_lib_initializer_list)
2758# if (__cplusplus > 202302L)
2759# define __glibcxx_initializer_list 202511L
2760# if defined(__glibcxx_want_all) || defined(__glibcxx_want_initializer_list)
2761# define __cpp_lib_initializer_list 202511L
2765#undef __glibcxx_want_initializer_list
2767#if !defined(__cpp_lib_valarray)
2768# if (__cplusplus > 202302L)
2769# define __glibcxx_valarray 202511L
2770# if defined(__glibcxx_want_all) || defined(__glibcxx_want_valarray)
2771# define __cpp_lib_valarray 202511L
2775#undef __glibcxx_want_valarray
2777#if !defined(__cpp_lib_within_lifetime)
2778# if (__cplusplus > 202302L) && (__has_builtin(__builtin_is_within_lifetime))
2779# define __glibcxx_within_lifetime 202306L
2780# if defined(__glibcxx_want_all) || defined(__glibcxx_want_within_lifetime)
2781# define __cpp_lib_within_lifetime 202306L
2785#undef __glibcxx_want_within_lifetime
2787#if !defined(__cpp_lib_hardened_array)
2788# if (__cplusplus >= 201103L) && (defined(_GLIBCXX_ASSERTIONS))
2789# define __glibcxx_hardened_array 202502L
2790# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardened_array)
2791# define __cpp_lib_hardened_array 202502L
2795#undef __glibcxx_want_hardened_array
2797#if !defined(__cpp_lib_hardened_basic_stacktrace)
2798# if (__cplusplus > 202002L) && _GLIBCXX_HOSTED && (defined(__glibcxx_stacktrace) && defined(_GLIBCXX_ASSERTIONS))
2799# define __glibcxx_hardened_basic_stacktrace 202502L
2800# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardened_basic_stacktrace)
2801# define __cpp_lib_hardened_basic_stacktrace 202502L
2805#undef __glibcxx_want_hardened_basic_stacktrace
2807#if !defined(__cpp_lib_hardened_basic_string)
2808# if (defined(_GLIBCXX_ASSERTIONS))
2809# define __glibcxx_hardened_basic_string 202502L
2810# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardened_basic_string)
2811# define __cpp_lib_hardened_basic_string 202502L
2815#undef __glibcxx_want_hardened_basic_string
2817#if !defined(__cpp_lib_hardened_basic_string_view)
2818# if (defined(__glibcxx_string_view) && defined(_GLIBCXX_ASSERTIONS))
2819# define __glibcxx_hardened_basic_string_view 202502L
2820# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardened_basic_string_view)
2821# define __cpp_lib_hardened_basic_string_view 202502L
2825#undef __glibcxx_want_hardened_basic_string_view
2827#if !defined(__cpp_lib_hardened_bitset)
2828# if (defined(_GLIBCXX_ASSERTIONS))
2829# define __glibcxx_hardened_bitset 202502L
2830# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardened_bitset)
2831# define __cpp_lib_hardened_bitset 202502L
2835#undef __glibcxx_want_hardened_bitset
2837#if !defined(__cpp_lib_hardened_common_iterator)
2838# if (defined(__glibcxx_ranges) && defined(_GLIBCXX_ASSERTIONS))
2839# define __glibcxx_hardened_common_iterator 202502L
2840# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardened_common_iterator)
2841# define __cpp_lib_hardened_common_iterator 202502L
2845#undef __glibcxx_want_hardened_common_iterator
2847#if !defined(__cpp_lib_hardened_counted_iterator)
2848# if (defined(__glibcxx_ranges) && defined(_GLIBCXX_ASSERTIONS))
2849# define __glibcxx_hardened_counted_iterator 202502L
2850# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardened_counted_iterator)
2851# define __cpp_lib_hardened_counted_iterator 202502L
2855#undef __glibcxx_want_hardened_counted_iterator
2857#if !defined(__cpp_lib_hardened_deque)
2858# if (defined(_GLIBCXX_ASSERTIONS))
2859# define __glibcxx_hardened_deque 202502L
2860# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardened_deque)
2861# define __cpp_lib_hardened_deque 202502L
2865#undef __glibcxx_want_hardened_deque
2867#if !defined(__cpp_lib_hardened_expected)
2868# if (defined(__glibcxx_expected) && defined(_GLIBCXX_ASSERTIONS))
2869# define __glibcxx_hardened_expected 202502L
2870# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardened_expected)
2871# define __cpp_lib_hardened_expected 202502L
2875#undef __glibcxx_want_hardened_expected
2877#if !defined(__cpp_lib_hardened_forward_list)
2878# if (__cplusplus >= 201103L) && (defined(_GLIBCXX_ASSERTIONS))
2879# define __glibcxx_hardened_forward_list 202502L
2880# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardened_forward_list)
2881# define __cpp_lib_hardened_forward_list 202502L
2885#undef __glibcxx_want_hardened_forward_list
2887#if !defined(__cpp_lib_hardened_inplace_vector)
2888# if (defined(__glibcxx_inplace_vector) && defined(_GLIBCXX_ASSERTIONS))
2889# define __glibcxx_hardened_inplace_vector 202502L
2890# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardened_inplace_vector)
2891# define __cpp_lib_hardened_inplace_vector 202502L
2895#undef __glibcxx_want_hardened_inplace_vector
2897#if !defined(__cpp_lib_hardened_list)
2898# if (defined(_GLIBCXX_ASSERTIONS))
2899# define __glibcxx_hardened_list 202502L
2900# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardened_list)
2901# define __cpp_lib_hardened_list 202502L
2905#undef __glibcxx_want_hardened_list
2907#if !defined(__cpp_lib_hardened_mdspan)
2908# if (defined(__glibcxx_mdspan) && defined(_GLIBCXX_ASSERTIONS))
2909# define __glibcxx_hardened_mdspan 202502L
2910# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardened_mdspan)
2911# define __cpp_lib_hardened_mdspan 202502L
2915#undef __glibcxx_want_hardened_mdspan
2917#if !defined(__cpp_lib_hardened_optional)
2918# if (defined(__glibcxx_optional) && defined(_GLIBCXX_ASSERTIONS))
2919# define __glibcxx_hardened_optional 202502L
2920# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardened_optional)
2921# define __cpp_lib_hardened_optional 202502L
2925#undef __glibcxx_want_hardened_optional
2927#if !defined(__cpp_lib_hardened_shared_ptr_array)
2928# if (defined(__glibcxx_shared_ptr_arrays) && defined(_GLIBCXX_ASSERTIONS))
2929# define __glibcxx_hardened_shared_ptr_array 202502L
2930# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardened_shared_ptr_array)
2931# define __cpp_lib_hardened_shared_ptr_array 202502L
2935#undef __glibcxx_want_hardened_shared_ptr_array
2937#if !defined(__cpp_lib_hardened_span)
2938# if (defined(__glibcxx_span) && defined(_GLIBCXX_ASSERTIONS))
2939# define __glibcxx_hardened_span 202502L
2940# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardened_span)
2941# define __cpp_lib_hardened_span 202502L
2945#undef __glibcxx_want_hardened_span
2947#if !defined(__cpp_lib_hardened_valarray)
2948# if (defined(_GLIBCXX_ASSERTIONS))
2949# define __glibcxx_hardened_valarray 202502L
2950# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardened_valarray)
2951# define __cpp_lib_hardened_valarray 202502L
2955#undef __glibcxx_want_hardened_valarray
2957#if !defined(__cpp_lib_hardened_vector)
2958# if (defined(_GLIBCXX_ASSERTIONS))
2959# define __glibcxx_hardened_vector 202502L
2960# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardened_vector)
2961# define __cpp_lib_hardened_vector 202502L
2965#undef __glibcxx_want_hardened_vector
2967#if !defined(__cpp_lib_hardened_view_interface)
2968# if (defined(__glibcxx_ranges) && defined(_GLIBCXX_ASSERTIONS))
2969# define __glibcxx_hardened_view_interface 202502L
2970# if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardened_view_interface)
2971# define __cpp_lib_hardened_view_interface 202502L
2975#undef __glibcxx_want_hardened_view_interface
2977#undef __glibcxx_want_all