10b57cec5SDimitry Andric// -*- C++ -*- 20b57cec5SDimitry Andric//===--------------------------- version ----------------------------------===// 30b57cec5SDimitry Andric// 40b57cec5SDimitry Andric// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 50b57cec5SDimitry Andric// See https://llvm.org/LICENSE.txt for license information. 60b57cec5SDimitry Andric// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 70b57cec5SDimitry Andric// 80b57cec5SDimitry Andric//===----------------------------------------------------------------------===// 90b57cec5SDimitry Andric 100b57cec5SDimitry Andric#ifndef _LIBCPP_VERSIONH 110b57cec5SDimitry Andric#define _LIBCPP_VERSIONH 120b57cec5SDimitry Andric 130b57cec5SDimitry Andric/* 140b57cec5SDimitry Andric version synopsis 150b57cec5SDimitry Andric 160b57cec5SDimitry AndricMacro name Value Headers 170b57cec5SDimitry Andric__cpp_lib_addressof_constexpr 201603L <memory> 18*e8d8bef9SDimitry Andric__cpp_lib_allocator_traits_is_always_equal 201411L <deque> <forward_list> <list> 19*e8d8bef9SDimitry Andric <map> <memory> <scoped_allocator> 20*e8d8bef9SDimitry Andric <set> <string> <unordered_map> 21*e8d8bef9SDimitry Andric <unordered_set> <vector> 220b57cec5SDimitry Andric__cpp_lib_any 201606L <any> 230b57cec5SDimitry Andric__cpp_lib_apply 201603L <tuple> 24*e8d8bef9SDimitry Andric__cpp_lib_array_constexpr 201811L <array> <iterator> 255ffd83dbSDimitry Andric 201603L // C++17 260b57cec5SDimitry Andric__cpp_lib_as_const 201510L <utility> 27*e8d8bef9SDimitry Andric__cpp_lib_assume_aligned 201811L <memory> 28*e8d8bef9SDimitry Andric__cpp_lib_atomic_flag_test 201907L <atomic> 29*e8d8bef9SDimitry Andric__cpp_lib_atomic_float 201711L <atomic> 300b57cec5SDimitry Andric__cpp_lib_atomic_is_always_lock_free 201603L <atomic> 31*e8d8bef9SDimitry Andric__cpp_lib_atomic_lock_free_type_aliases 201907L <atomic> 320b57cec5SDimitry Andric__cpp_lib_atomic_ref 201806L <atomic> 33*e8d8bef9SDimitry Andric__cpp_lib_atomic_shared_ptr 201711L <atomic> 34*e8d8bef9SDimitry Andric__cpp_lib_atomic_value_initialization 201911L <atomic> <memory> 35*e8d8bef9SDimitry Andric__cpp_lib_atomic_wait 201907L <atomic> 36*e8d8bef9SDimitry Andric__cpp_lib_barrier 201907L <barrier> 37*e8d8bef9SDimitry Andric__cpp_lib_bind_front 201907L <functional> 380b57cec5SDimitry Andric__cpp_lib_bit_cast 201806L <bit> 39*e8d8bef9SDimitry Andric__cpp_lib_bitops 201907L <bit> 400b57cec5SDimitry Andric__cpp_lib_bool_constant 201505L <type_traits> 41*e8d8bef9SDimitry Andric__cpp_lib_bounded_array_traits 201902L <type_traits> 420b57cec5SDimitry Andric__cpp_lib_boyer_moore_searcher 201603L <functional> 430b57cec5SDimitry Andric__cpp_lib_byte 201603L <cstddef> 440b57cec5SDimitry Andric__cpp_lib_char8_t 201811L <atomic> <filesystem> <istream> 450b57cec5SDimitry Andric <limits> <locale> <ostream> 460b57cec5SDimitry Andric <string> <string_view> 470b57cec5SDimitry Andric__cpp_lib_chrono 201611L <chrono> 480b57cec5SDimitry Andric__cpp_lib_chrono_udls 201304L <chrono> 490b57cec5SDimitry Andric__cpp_lib_clamp 201603L <algorithm> 500b57cec5SDimitry Andric__cpp_lib_complex_udls 201309L <complex> 51*e8d8bef9SDimitry Andric__cpp_lib_concepts 202002L <concepts> 52*e8d8bef9SDimitry Andric__cpp_lib_constexpr_algorithms 201806L <algorithm> 53*e8d8bef9SDimitry Andric__cpp_lib_constexpr_complex 201711L <complex> 54*e8d8bef9SDimitry Andric__cpp_lib_constexpr_dynamic_alloc 201907L <memory> 55*e8d8bef9SDimitry Andric__cpp_lib_constexpr_functional 201907L <functional> 56*e8d8bef9SDimitry Andric__cpp_lib_constexpr_iterator 201811L <iterator> 57*e8d8bef9SDimitry Andric__cpp_lib_constexpr_memory 201811L <memory> 58*e8d8bef9SDimitry Andric__cpp_lib_constexpr_numeric 201911L <numeric> 59*e8d8bef9SDimitry Andric__cpp_lib_constexpr_string 201907L <string> 60*e8d8bef9SDimitry Andric__cpp_lib_constexpr_string_view 201811L <string_view> 61*e8d8bef9SDimitry Andric__cpp_lib_constexpr_tuple 201811L <tuple> 62*e8d8bef9SDimitry Andric__cpp_lib_constexpr_utility 201811L <utility> 63*e8d8bef9SDimitry Andric__cpp_lib_constexpr_vector 201907L <vector> 64*e8d8bef9SDimitry Andric__cpp_lib_coroutine 201902L <coroutine> 650b57cec5SDimitry Andric__cpp_lib_destroying_delete 201806L <new> 660b57cec5SDimitry Andric__cpp_lib_enable_shared_from_this 201603L <memory> 67480093f4SDimitry Andric__cpp_lib_endian 201907L <bit> 68*e8d8bef9SDimitry Andric__cpp_lib_erase_if 202002L <deque> <forward_list> <list> 69*e8d8bef9SDimitry Andric <map> <set> <string> 70*e8d8bef9SDimitry Andric <unordered_map> <unordered_set> <vector> 710b57cec5SDimitry Andric__cpp_lib_exchange_function 201304L <utility> 72*e8d8bef9SDimitry Andric__cpp_lib_execution 201902L <execution> 73*e8d8bef9SDimitry Andric 201603L // C++17 740b57cec5SDimitry Andric__cpp_lib_filesystem 201703L <filesystem> 750b57cec5SDimitry Andric__cpp_lib_gcd_lcm 201606L <numeric> 760b57cec5SDimitry Andric__cpp_lib_generic_associative_lookup 201304L <map> <set> 770b57cec5SDimitry Andric__cpp_lib_generic_unordered_lookup 201811L <unordered_map> <unordered_set> 780b57cec5SDimitry Andric__cpp_lib_hardware_interference_size 201703L <new> 790b57cec5SDimitry Andric__cpp_lib_has_unique_object_representations 201606L <type_traits> 800b57cec5SDimitry Andric__cpp_lib_hypot 201603L <cmath> 810b57cec5SDimitry Andric__cpp_lib_incomplete_container_elements 201505L <forward_list> <list> <vector> 82*e8d8bef9SDimitry Andric__cpp_lib_int_pow2 202002L <bit> 83*e8d8bef9SDimitry Andric__cpp_lib_integer_comparison_functions 202002L <utility> 840b57cec5SDimitry Andric__cpp_lib_integer_sequence 201304L <utility> 850b57cec5SDimitry Andric__cpp_lib_integral_constant_callable 201304L <type_traits> 86*e8d8bef9SDimitry Andric__cpp_lib_interpolate 201902L <cmath> <numeric> 870b57cec5SDimitry Andric__cpp_lib_invoke 201411L <functional> 880b57cec5SDimitry Andric__cpp_lib_is_aggregate 201703L <type_traits> 890b57cec5SDimitry Andric__cpp_lib_is_constant_evaluated 201811L <type_traits> 900b57cec5SDimitry Andric__cpp_lib_is_final 201402L <type_traits> 910b57cec5SDimitry Andric__cpp_lib_is_invocable 201703L <type_traits> 92*e8d8bef9SDimitry Andric__cpp_lib_is_layout_compatible 201907L <type_traits> 93*e8d8bef9SDimitry Andric__cpp_lib_is_nothrow_convertible 201806L <type_traits> 940b57cec5SDimitry Andric__cpp_lib_is_null_pointer 201309L <type_traits> 95*e8d8bef9SDimitry Andric__cpp_lib_is_pointer_interconvertible 201907L <type_traits> 96*e8d8bef9SDimitry Andric__cpp_lib_is_scoped_enum 202011L <type_traits> 970b57cec5SDimitry Andric__cpp_lib_is_swappable 201603L <type_traits> 98*e8d8bef9SDimitry Andric__cpp_lib_jthread 201911L <stop_token> <thread> 99*e8d8bef9SDimitry Andric__cpp_lib_latch 201907L <latch> 1000b57cec5SDimitry Andric__cpp_lib_launder 201606L <new> 1010b57cec5SDimitry Andric__cpp_lib_list_remove_return_type 201806L <forward_list> <list> 1020b57cec5SDimitry Andric__cpp_lib_logical_traits 201510L <type_traits> 1030b57cec5SDimitry Andric__cpp_lib_make_from_tuple 201606L <tuple> 1040b57cec5SDimitry Andric__cpp_lib_make_reverse_iterator 201402L <iterator> 1050b57cec5SDimitry Andric__cpp_lib_make_unique 201304L <memory> 1060b57cec5SDimitry Andric__cpp_lib_map_try_emplace 201411L <map> 1075ffd83dbSDimitry Andric__cpp_lib_math_constants 201907L <numbers> 1080b57cec5SDimitry Andric__cpp_lib_math_special_functions 201603L <cmath> 1090b57cec5SDimitry Andric__cpp_lib_memory_resource 201603L <memory_resource> 1100b57cec5SDimitry Andric__cpp_lib_node_extract 201606L <map> <set> <unordered_map> 1110b57cec5SDimitry Andric <unordered_set> 112*e8d8bef9SDimitry Andric__cpp_lib_nonmember_container_access 201411L <array> <deque> <forward_list> 113*e8d8bef9SDimitry Andric <iterator> <list> <map> 1140b57cec5SDimitry Andric <regex> <set> <string> 1150b57cec5SDimitry Andric <unordered_map> <unordered_set> <vector> 1160b57cec5SDimitry Andric__cpp_lib_not_fn 201603L <functional> 1170b57cec5SDimitry Andric__cpp_lib_null_iterators 201304L <iterator> 1180b57cec5SDimitry Andric__cpp_lib_optional 201606L <optional> 1190b57cec5SDimitry Andric__cpp_lib_parallel_algorithm 201603L <algorithm> <numeric> 120*e8d8bef9SDimitry Andric__cpp_lib_polymorphic_allocator 201902L <memory> 1210b57cec5SDimitry Andric__cpp_lib_quoted_string_io 201304L <iomanip> 1220b57cec5SDimitry Andric__cpp_lib_ranges 201811L <algorithm> <functional> <iterator> 1230b57cec5SDimitry Andric <memory> <ranges> 1240b57cec5SDimitry Andric__cpp_lib_raw_memory_algorithms 201606L <memory> 125*e8d8bef9SDimitry Andric__cpp_lib_remove_cvref 201711L <type_traits> 1260b57cec5SDimitry Andric__cpp_lib_result_of_sfinae 201210L <functional> <type_traits> 1270b57cec5SDimitry Andric__cpp_lib_robust_nonmodifying_seq_ops 201304L <algorithm> 1280b57cec5SDimitry Andric__cpp_lib_sample 201603L <algorithm> 1290b57cec5SDimitry Andric__cpp_lib_scoped_lock 201703L <mutex> 130*e8d8bef9SDimitry Andric__cpp_lib_semaphore 201907L <semaphore> 1310b57cec5SDimitry Andric__cpp_lib_shared_mutex 201505L <shared_mutex> 1320b57cec5SDimitry Andric__cpp_lib_shared_ptr_arrays 201611L <memory> 1330b57cec5SDimitry Andric__cpp_lib_shared_ptr_weak_type 201606L <memory> 1340b57cec5SDimitry Andric__cpp_lib_shared_timed_mutex 201402L <shared_mutex> 135*e8d8bef9SDimitry Andric__cpp_lib_shift 201806L <algorithm> 136*e8d8bef9SDimitry Andric__cpp_lib_smart_ptr_for_overwrite 202002L <memory> 137*e8d8bef9SDimitry Andric__cpp_lib_source_location 201907L <source_location> 1385ffd83dbSDimitry Andric__cpp_lib_span 202002L <span> 139*e8d8bef9SDimitry Andric__cpp_lib_ssize 201902L <iterator> 140*e8d8bef9SDimitry Andric__cpp_lib_stacktrace 202011L <stacktrace> 141*e8d8bef9SDimitry Andric__cpp_lib_starts_ends_with 201711L <string> <string_view> 142*e8d8bef9SDimitry Andric__cpp_lib_stdatomic_h 202011L <stdatomic.h> 143*e8d8bef9SDimitry Andric__cpp_lib_string_contains 202011L <string> <string_view> 1440b57cec5SDimitry Andric__cpp_lib_string_udls 201304L <string> 145*e8d8bef9SDimitry Andric__cpp_lib_string_view 201803L <string> <string_view> 146*e8d8bef9SDimitry Andric 201606L // C++17 147*e8d8bef9SDimitry Andric__cpp_lib_syncbuf 201803L <syncstream> 148*e8d8bef9SDimitry Andric__cpp_lib_three_way_comparison 201907L <compare> 149*e8d8bef9SDimitry Andric__cpp_lib_to_address 201711L <memory> 1505ffd83dbSDimitry Andric__cpp_lib_to_array 201907L <array> 1510b57cec5SDimitry Andric__cpp_lib_to_chars 201611L <utility> 1520b57cec5SDimitry Andric__cpp_lib_transformation_trait_aliases 201304L <type_traits> 153*e8d8bef9SDimitry Andric__cpp_lib_transparent_operators 201510L <functional> <memory> 1540b57cec5SDimitry Andric 201210L // C++14 1550b57cec5SDimitry Andric__cpp_lib_tuple_element_t 201402L <tuple> 156*e8d8bef9SDimitry Andric__cpp_lib_tuples_by_type 201304L <tuple> <utility> 1570b57cec5SDimitry Andric__cpp_lib_type_trait_variable_templates 201510L <type_traits> 1580b57cec5SDimitry Andric__cpp_lib_uncaught_exceptions 201411L <exception> 1590b57cec5SDimitry Andric__cpp_lib_unordered_map_try_emplace 201411L <unordered_map> 160*e8d8bef9SDimitry Andric__cpp_lib_unwrap_ref 201811L <functional> 1610b57cec5SDimitry Andric__cpp_lib_variant 201606L <variant> 1620b57cec5SDimitry Andric__cpp_lib_void_t 201411L <type_traits> 1630b57cec5SDimitry Andric 1640b57cec5SDimitry Andric*/ 1650b57cec5SDimitry Andric 1660b57cec5SDimitry Andric#include <__config> 1670b57cec5SDimitry Andric 1680b57cec5SDimitry Andric#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) 1690b57cec5SDimitry Andric#pragma GCC system_header 1700b57cec5SDimitry Andric#endif 1710b57cec5SDimitry Andric 1720b57cec5SDimitry Andric#if _LIBCPP_STD_VER > 11 1730b57cec5SDimitry Andric# define __cpp_lib_chrono_udls 201304L 1740b57cec5SDimitry Andric# define __cpp_lib_complex_udls 201309L 1750b57cec5SDimitry Andric# define __cpp_lib_exchange_function 201304L 1760b57cec5SDimitry Andric# define __cpp_lib_generic_associative_lookup 201304L 1770b57cec5SDimitry Andric# define __cpp_lib_integer_sequence 201304L 1780b57cec5SDimitry Andric# define __cpp_lib_integral_constant_callable 201304L 1790b57cec5SDimitry Andric# define __cpp_lib_is_final 201402L 1800b57cec5SDimitry Andric# define __cpp_lib_is_null_pointer 201309L 1810b57cec5SDimitry Andric# define __cpp_lib_make_reverse_iterator 201402L 1820b57cec5SDimitry Andric# define __cpp_lib_make_unique 201304L 1830b57cec5SDimitry Andric# define __cpp_lib_null_iterators 201304L 1840b57cec5SDimitry Andric# define __cpp_lib_quoted_string_io 201304L 1850b57cec5SDimitry Andric# define __cpp_lib_result_of_sfinae 201210L 1860b57cec5SDimitry Andric# define __cpp_lib_robust_nonmodifying_seq_ops 201304L 1870b57cec5SDimitry Andric# if !defined(_LIBCPP_HAS_NO_THREADS) 1880b57cec5SDimitry Andric# define __cpp_lib_shared_timed_mutex 201402L 1890b57cec5SDimitry Andric# endif 1900b57cec5SDimitry Andric# define __cpp_lib_string_udls 201304L 1910b57cec5SDimitry Andric# define __cpp_lib_transformation_trait_aliases 201304L 1920b57cec5SDimitry Andric# define __cpp_lib_transparent_operators 201210L 1930b57cec5SDimitry Andric# define __cpp_lib_tuple_element_t 201402L 1940b57cec5SDimitry Andric# define __cpp_lib_tuples_by_type 201304L 1950b57cec5SDimitry Andric#endif 1960b57cec5SDimitry Andric 1970b57cec5SDimitry Andric#if _LIBCPP_STD_VER > 14 1980b57cec5SDimitry Andric# if !defined(_LIBCPP_HAS_NO_BUILTIN_ADDRESSOF) 1990b57cec5SDimitry Andric# define __cpp_lib_addressof_constexpr 201603L 2000b57cec5SDimitry Andric# endif 2010b57cec5SDimitry Andric# define __cpp_lib_allocator_traits_is_always_equal 201411L 2020b57cec5SDimitry Andric# define __cpp_lib_any 201606L 2030b57cec5SDimitry Andric# define __cpp_lib_apply 201603L 2040b57cec5SDimitry Andric# define __cpp_lib_array_constexpr 201603L 2050b57cec5SDimitry Andric# define __cpp_lib_as_const 201510L 2060b57cec5SDimitry Andric# if !defined(_LIBCPP_HAS_NO_THREADS) 2070b57cec5SDimitry Andric# define __cpp_lib_atomic_is_always_lock_free 201603L 2080b57cec5SDimitry Andric# endif 2090b57cec5SDimitry Andric# define __cpp_lib_bool_constant 201505L 2100b57cec5SDimitry Andric// # define __cpp_lib_boyer_moore_searcher 201603L 2110b57cec5SDimitry Andric# define __cpp_lib_byte 201603L 2120b57cec5SDimitry Andric# define __cpp_lib_chrono 201611L 2130b57cec5SDimitry Andric# define __cpp_lib_clamp 201603L 2140b57cec5SDimitry Andric# define __cpp_lib_enable_shared_from_this 201603L 2150b57cec5SDimitry Andric// # define __cpp_lib_execution 201603L 2160b57cec5SDimitry Andric# define __cpp_lib_filesystem 201703L 2170b57cec5SDimitry Andric# define __cpp_lib_gcd_lcm 201606L 2185ffd83dbSDimitry Andric// # define __cpp_lib_hardware_interference_size 201703L 2190b57cec5SDimitry Andric# if defined(_LIBCPP_HAS_UNIQUE_OBJECT_REPRESENTATIONS) 2200b57cec5SDimitry Andric# define __cpp_lib_has_unique_object_representations 201606L 2210b57cec5SDimitry Andric# endif 2220b57cec5SDimitry Andric# define __cpp_lib_hypot 201603L 2230b57cec5SDimitry Andric# define __cpp_lib_incomplete_container_elements 201505L 2240b57cec5SDimitry Andric# define __cpp_lib_invoke 201411L 2250b57cec5SDimitry Andric# if !defined(_LIBCPP_HAS_NO_IS_AGGREGATE) 2260b57cec5SDimitry Andric# define __cpp_lib_is_aggregate 201703L 2270b57cec5SDimitry Andric# endif 2280b57cec5SDimitry Andric# define __cpp_lib_is_invocable 201703L 2290b57cec5SDimitry Andric# define __cpp_lib_is_swappable 201603L 2300b57cec5SDimitry Andric# define __cpp_lib_launder 201606L 2310b57cec5SDimitry Andric# define __cpp_lib_logical_traits 201510L 2320b57cec5SDimitry Andric# define __cpp_lib_make_from_tuple 201606L 2330b57cec5SDimitry Andric# define __cpp_lib_map_try_emplace 201411L 2340b57cec5SDimitry Andric// # define __cpp_lib_math_special_functions 201603L 2350b57cec5SDimitry Andric// # define __cpp_lib_memory_resource 201603L 2360b57cec5SDimitry Andric# define __cpp_lib_node_extract 201606L 2370b57cec5SDimitry Andric# define __cpp_lib_nonmember_container_access 201411L 2380b57cec5SDimitry Andric# define __cpp_lib_not_fn 201603L 2390b57cec5SDimitry Andric# define __cpp_lib_optional 201606L 2400b57cec5SDimitry Andric// # define __cpp_lib_parallel_algorithm 201603L 2410b57cec5SDimitry Andric# define __cpp_lib_raw_memory_algorithms 201606L 2420b57cec5SDimitry Andric# define __cpp_lib_sample 201603L 2430b57cec5SDimitry Andric# define __cpp_lib_scoped_lock 201703L 2440b57cec5SDimitry Andric# if !defined(_LIBCPP_HAS_NO_THREADS) 2450b57cec5SDimitry Andric# define __cpp_lib_shared_mutex 201505L 2460b57cec5SDimitry Andric# endif 247*e8d8bef9SDimitry Andric# define __cpp_lib_shared_ptr_arrays 201611L 2480b57cec5SDimitry Andric# define __cpp_lib_shared_ptr_weak_type 201606L 2490b57cec5SDimitry Andric# define __cpp_lib_string_view 201606L 2500b57cec5SDimitry Andric// # define __cpp_lib_to_chars 201611L 2510b57cec5SDimitry Andric# undef __cpp_lib_transparent_operators 2520b57cec5SDimitry Andric# define __cpp_lib_transparent_operators 201510L 2530b57cec5SDimitry Andric# define __cpp_lib_type_trait_variable_templates 201510L 2540b57cec5SDimitry Andric# define __cpp_lib_uncaught_exceptions 201411L 2550b57cec5SDimitry Andric# define __cpp_lib_unordered_map_try_emplace 201411L 2560b57cec5SDimitry Andric# define __cpp_lib_variant 201606L 2570b57cec5SDimitry Andric# define __cpp_lib_void_t 201411L 2580b57cec5SDimitry Andric#endif 2590b57cec5SDimitry Andric 2600b57cec5SDimitry Andric#if _LIBCPP_STD_VER > 17 2615ffd83dbSDimitry Andric# undef __cpp_lib_array_constexpr 2625ffd83dbSDimitry Andric# define __cpp_lib_array_constexpr 201811L 263*e8d8bef9SDimitry Andric// # define __cpp_lib_assume_aligned 201811L 264*e8d8bef9SDimitry Andric# if !defined(_LIBCPP_HAS_NO_THREADS) 265*e8d8bef9SDimitry Andric# define __cpp_lib_atomic_flag_test 201907L 266*e8d8bef9SDimitry Andric# endif 267*e8d8bef9SDimitry Andric# if !defined(_LIBCPP_HAS_NO_THREADS) 268*e8d8bef9SDimitry Andric// # define __cpp_lib_atomic_float 201711L 269*e8d8bef9SDimitry Andric# endif 270*e8d8bef9SDimitry Andric# if !defined(_LIBCPP_HAS_NO_THREADS) 271*e8d8bef9SDimitry Andric# define __cpp_lib_atomic_lock_free_type_aliases 201907L 272*e8d8bef9SDimitry Andric# endif 2730b57cec5SDimitry Andric# if !defined(_LIBCPP_HAS_NO_THREADS) 2740b57cec5SDimitry Andric// # define __cpp_lib_atomic_ref 201806L 2750b57cec5SDimitry Andric# endif 276*e8d8bef9SDimitry Andric# if !defined(_LIBCPP_HAS_NO_THREADS) 277*e8d8bef9SDimitry Andric// # define __cpp_lib_atomic_shared_ptr 201711L 278*e8d8bef9SDimitry Andric# endif 279*e8d8bef9SDimitry Andric# if !defined(_LIBCPP_HAS_NO_THREADS) 280*e8d8bef9SDimitry Andric// # define __cpp_lib_atomic_value_initialization 201911L 281*e8d8bef9SDimitry Andric# endif 282*e8d8bef9SDimitry Andric# if !defined(_LIBCPP_HAS_NO_THREADS) 283*e8d8bef9SDimitry Andric# define __cpp_lib_atomic_wait 201907L 284*e8d8bef9SDimitry Andric# endif 285*e8d8bef9SDimitry Andric# if !defined(_LIBCPP_HAS_NO_THREADS) 286*e8d8bef9SDimitry Andric# define __cpp_lib_barrier 201907L 287*e8d8bef9SDimitry Andric# endif 288*e8d8bef9SDimitry Andric// # define __cpp_lib_bind_front 201907L 2890b57cec5SDimitry Andric// # define __cpp_lib_bit_cast 201806L 290*e8d8bef9SDimitry Andric// # define __cpp_lib_bitops 201907L 291*e8d8bef9SDimitry Andric# define __cpp_lib_bounded_array_traits 201902L 2920b57cec5SDimitry Andric# if !defined(_LIBCPP_NO_HAS_CHAR8_T) 2930b57cec5SDimitry Andric# define __cpp_lib_char8_t 201811L 2940b57cec5SDimitry Andric# endif 295*e8d8bef9SDimitry Andric// # define __cpp_lib_concepts 202002L 296*e8d8bef9SDimitry Andric// # define __cpp_lib_constexpr_algorithms 201806L 297*e8d8bef9SDimitry Andric// # define __cpp_lib_constexpr_complex 201711L 298*e8d8bef9SDimitry Andric# define __cpp_lib_constexpr_dynamic_alloc 201907L 299*e8d8bef9SDimitry Andric# define __cpp_lib_constexpr_functional 201907L 300*e8d8bef9SDimitry Andric// # define __cpp_lib_constexpr_iterator 201811L 301*e8d8bef9SDimitry Andric// # define __cpp_lib_constexpr_memory 201811L 302*e8d8bef9SDimitry Andric# define __cpp_lib_constexpr_numeric 201911L 303*e8d8bef9SDimitry Andric// # define __cpp_lib_constexpr_string 201907L 304*e8d8bef9SDimitry Andric// # define __cpp_lib_constexpr_string_view 201811L 305*e8d8bef9SDimitry Andric// # define __cpp_lib_constexpr_tuple 201811L 306*e8d8bef9SDimitry Andric# define __cpp_lib_constexpr_utility 201811L 307*e8d8bef9SDimitry Andric// # define __cpp_lib_constexpr_vector 201907L 308*e8d8bef9SDimitry Andric// # define __cpp_lib_coroutine 201902L 3090b57cec5SDimitry Andric# if _LIBCPP_STD_VER > 17 && defined(__cpp_impl_destroying_delete) && __cpp_impl_destroying_delete >= 201806L 3100b57cec5SDimitry Andric# define __cpp_lib_destroying_delete 201806L 3110b57cec5SDimitry Andric# endif 312480093f4SDimitry Andric# define __cpp_lib_endian 201907L 3135ffd83dbSDimitry Andric# define __cpp_lib_erase_if 202002L 314*e8d8bef9SDimitry Andric# undef __cpp_lib_execution 315*e8d8bef9SDimitry Andric// # define __cpp_lib_execution 201902L 316*e8d8bef9SDimitry Andric# define __cpp_lib_generic_unordered_lookup 201811L 317*e8d8bef9SDimitry Andric# define __cpp_lib_int_pow2 202002L 318*e8d8bef9SDimitry Andric// # define __cpp_lib_integer_comparison_functions 202002L 3190b57cec5SDimitry Andric# define __cpp_lib_interpolate 201902L 3200b57cec5SDimitry Andric# if !defined(_LIBCPP_HAS_NO_BUILTIN_IS_CONSTANT_EVALUATED) 3210b57cec5SDimitry Andric# define __cpp_lib_is_constant_evaluated 201811L 3220b57cec5SDimitry Andric# endif 323*e8d8bef9SDimitry Andric// # define __cpp_lib_is_layout_compatible 201907L 324*e8d8bef9SDimitry Andric# define __cpp_lib_is_nothrow_convertible 201806L 325*e8d8bef9SDimitry Andric// # define __cpp_lib_is_pointer_interconvertible 201907L 326*e8d8bef9SDimitry Andric# if !defined(_LIBCPP_HAS_NO_THREADS) 327*e8d8bef9SDimitry Andric// # define __cpp_lib_jthread 201911L 328*e8d8bef9SDimitry Andric# endif 329*e8d8bef9SDimitry Andric# if !defined(_LIBCPP_HAS_NO_THREADS) 330*e8d8bef9SDimitry Andric# define __cpp_lib_latch 201907L 331*e8d8bef9SDimitry Andric# endif 3325ffd83dbSDimitry Andric# define __cpp_lib_list_remove_return_type 201806L 3335ffd83dbSDimitry Andric# if defined(__cpp_concepts) && __cpp_concepts >= 201811L 3345ffd83dbSDimitry Andric# define __cpp_lib_math_constants 201907L 3355ffd83dbSDimitry Andric# endif 336*e8d8bef9SDimitry Andric// # define __cpp_lib_polymorphic_allocator 201902L 3370b57cec5SDimitry Andric// # define __cpp_lib_ranges 201811L 338*e8d8bef9SDimitry Andric# define __cpp_lib_remove_cvref 201711L 339*e8d8bef9SDimitry Andric# if !defined(_LIBCPP_HAS_NO_THREADS) 340*e8d8bef9SDimitry Andric# define __cpp_lib_semaphore 201907L 341*e8d8bef9SDimitry Andric# endif 342*e8d8bef9SDimitry Andric# define __cpp_lib_shift 201806L 343*e8d8bef9SDimitry Andric// # define __cpp_lib_smart_ptr_for_overwrite 202002L 344*e8d8bef9SDimitry Andric// # define __cpp_lib_source_location 201907L 3455ffd83dbSDimitry Andric# define __cpp_lib_span 202002L 346*e8d8bef9SDimitry Andric# define __cpp_lib_ssize 201902L 347*e8d8bef9SDimitry Andric# define __cpp_lib_starts_ends_with 201711L 348*e8d8bef9SDimitry Andric# undef __cpp_lib_string_view 349*e8d8bef9SDimitry Andric# define __cpp_lib_string_view 201803L 350*e8d8bef9SDimitry Andric// # define __cpp_lib_syncbuf 201803L 351*e8d8bef9SDimitry Andric// # define __cpp_lib_three_way_comparison 201907L 352*e8d8bef9SDimitry Andric# define __cpp_lib_to_address 201711L 3535ffd83dbSDimitry Andric# define __cpp_lib_to_array 201907L 354*e8d8bef9SDimitry Andric# define __cpp_lib_unwrap_ref 201811L 355*e8d8bef9SDimitry Andric#endif 356*e8d8bef9SDimitry Andric 357*e8d8bef9SDimitry Andric#if _LIBCPP_STD_VER > 20 358*e8d8bef9SDimitry Andric# define __cpp_lib_is_scoped_enum 202011L 359*e8d8bef9SDimitry Andric// # define __cpp_lib_stacktrace 202011L 360*e8d8bef9SDimitry Andric// # define __cpp_lib_stdatomic_h 202011L 361*e8d8bef9SDimitry Andric# define __cpp_lib_string_contains 202011L 3620b57cec5SDimitry Andric#endif 3630b57cec5SDimitry Andric 3640b57cec5SDimitry Andric#endif // _LIBCPP_VERSIONH 365