xref: /freebsd/contrib/llvm-project/libcxx/include/version (revision 1ac55f4cb0001fed92329746c730aa9a947c09a5)
10b57cec5SDimitry Andric// -*- C++ -*-
2349cc55cSDimitry Andric//===----------------------------------------------------------------------===//
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
1704eeddc0SDimitry Andric__cpp_lib_adaptor_iterator_pair_constructor             202106L <queue> <stack>
180b57cec5SDimitry Andric__cpp_lib_addressof_constexpr                           201603L <memory>
1904eeddc0SDimitry Andric__cpp_lib_allocate_at_least                             202106L <memory>
20e8d8bef9SDimitry Andric__cpp_lib_allocator_traits_is_always_equal              201411L <deque> <forward_list> <list>
21e8d8bef9SDimitry Andric                                                                <map> <memory> <scoped_allocator>
22e8d8bef9SDimitry Andric                                                                <set> <string> <unordered_map>
23e8d8bef9SDimitry Andric                                                                <unordered_set> <vector>
240b57cec5SDimitry Andric__cpp_lib_any                                           201606L <any>
250b57cec5SDimitry Andric__cpp_lib_apply                                         201603L <tuple>
26e8d8bef9SDimitry Andric__cpp_lib_array_constexpr                               201811L <array> <iterator>
275ffd83dbSDimitry Andric                                                        201603L // C++17
280b57cec5SDimitry Andric__cpp_lib_as_const                                      201510L <utility>
2904eeddc0SDimitry Andric__cpp_lib_associative_heterogeneous_erasure             202110L <map> <set> <unordered_map>
3004eeddc0SDimitry Andric                                                                <unordered_set>
31e8d8bef9SDimitry Andric__cpp_lib_assume_aligned                                201811L <memory>
32e8d8bef9SDimitry Andric__cpp_lib_atomic_flag_test                              201907L <atomic>
33e8d8bef9SDimitry Andric__cpp_lib_atomic_float                                  201711L <atomic>
340b57cec5SDimitry Andric__cpp_lib_atomic_is_always_lock_free                    201603L <atomic>
35e8d8bef9SDimitry Andric__cpp_lib_atomic_lock_free_type_aliases                 201907L <atomic>
360b57cec5SDimitry Andric__cpp_lib_atomic_ref                                    201806L <atomic>
37e8d8bef9SDimitry Andric__cpp_lib_atomic_shared_ptr                             201711L <atomic>
38e8d8bef9SDimitry Andric__cpp_lib_atomic_value_initialization                   201911L <atomic> <memory>
39e8d8bef9SDimitry Andric__cpp_lib_atomic_wait                                   201907L <atomic>
40e8d8bef9SDimitry Andric__cpp_lib_barrier                                       201907L <barrier>
4181ad6265SDimitry Andric__cpp_lib_bind_back                                     202202L <functional>
42e8d8bef9SDimitry Andric__cpp_lib_bind_front                                    201907L <functional>
430b57cec5SDimitry Andric__cpp_lib_bit_cast                                      201806L <bit>
44e8d8bef9SDimitry Andric__cpp_lib_bitops                                        201907L <bit>
450b57cec5SDimitry Andric__cpp_lib_bool_constant                                 201505L <type_traits>
46e8d8bef9SDimitry Andric__cpp_lib_bounded_array_traits                          201902L <type_traits>
470b57cec5SDimitry Andric__cpp_lib_boyer_moore_searcher                          201603L <functional>
480b57cec5SDimitry Andric__cpp_lib_byte                                          201603L <cstddef>
494824e7fdSDimitry Andric__cpp_lib_byteswap                                      202110L <bit>
50fcaf7f86SDimitry Andric__cpp_lib_char8_t                                       201907L <atomic> <filesystem> <istream>
510b57cec5SDimitry Andric                                                                <limits> <locale> <ostream>
520b57cec5SDimitry Andric                                                                <string> <string_view>
530b57cec5SDimitry Andric__cpp_lib_chrono                                        201611L <chrono>
540b57cec5SDimitry Andric__cpp_lib_chrono_udls                                   201304L <chrono>
550b57cec5SDimitry Andric__cpp_lib_clamp                                         201603L <algorithm>
560b57cec5SDimitry Andric__cpp_lib_complex_udls                                  201309L <complex>
57e8d8bef9SDimitry Andric__cpp_lib_concepts                                      202002L <concepts>
58bdd1243dSDimitry Andric__cpp_lib_constexpr_algorithms                          201806L <algorithm> <utility>
59bdd1243dSDimitry Andric__cpp_lib_constexpr_bitset                              202207L <bitset>
60bdd1243dSDimitry Andric__cpp_lib_constexpr_charconv                            202207L <charconv>
6181ad6265SDimitry Andric__cpp_lib_constexpr_cmath                               202202L <cmath> <cstdlib>
62e8d8bef9SDimitry Andric__cpp_lib_constexpr_complex                             201711L <complex>
63e8d8bef9SDimitry Andric__cpp_lib_constexpr_dynamic_alloc                       201907L <memory>
64e8d8bef9SDimitry Andric__cpp_lib_constexpr_functional                          201907L <functional>
65e8d8bef9SDimitry Andric__cpp_lib_constexpr_iterator                            201811L <iterator>
66bdd1243dSDimitry Andric__cpp_lib_constexpr_memory                              202202L <memory>
67bdd1243dSDimitry Andric                                                        201811L // C++20
68e8d8bef9SDimitry Andric__cpp_lib_constexpr_numeric                             201911L <numeric>
6981ad6265SDimitry Andric__cpp_lib_constexpr_string                              201907L <string>
70e8d8bef9SDimitry Andric__cpp_lib_constexpr_string_view                         201811L <string_view>
71e8d8bef9SDimitry Andric__cpp_lib_constexpr_tuple                               201811L <tuple>
7204eeddc0SDimitry Andric__cpp_lib_constexpr_typeinfo                            202106L <typeinfo>
73e8d8bef9SDimitry Andric__cpp_lib_constexpr_utility                             201811L <utility>
74e8d8bef9SDimitry Andric__cpp_lib_constexpr_vector                              201907L <vector>
75e8d8bef9SDimitry Andric__cpp_lib_coroutine                                     201902L <coroutine>
760b57cec5SDimitry Andric__cpp_lib_destroying_delete                             201806L <new>
770b57cec5SDimitry Andric__cpp_lib_enable_shared_from_this                       201603L <memory>
78480093f4SDimitry Andric__cpp_lib_endian                                        201907L <bit>
79e8d8bef9SDimitry Andric__cpp_lib_erase_if                                      202002L <deque> <forward_list> <list>
80e8d8bef9SDimitry Andric                                                                <map> <set> <string>
81e8d8bef9SDimitry Andric                                                                <unordered_map> <unordered_set> <vector>
820b57cec5SDimitry Andric__cpp_lib_exchange_function                             201304L <utility>
83e8d8bef9SDimitry Andric__cpp_lib_execution                                     201902L <execution>
84e8d8bef9SDimitry Andric                                                        201603L // C++17
85bdd1243dSDimitry Andric__cpp_lib_expected                                      202202L <expected>
860b57cec5SDimitry Andric__cpp_lib_filesystem                                    201703L <filesystem>
874824e7fdSDimitry Andric__cpp_lib_format                                        202106L <format>
88bdd1243dSDimitry Andric__cpp_lib_forward_like                                  202207L <utility>
890b57cec5SDimitry Andric__cpp_lib_gcd_lcm                                       201606L <numeric>
900b57cec5SDimitry Andric__cpp_lib_generic_associative_lookup                    201304L <map> <set>
910b57cec5SDimitry Andric__cpp_lib_generic_unordered_lookup                      201811L <unordered_map> <unordered_set>
920b57cec5SDimitry Andric__cpp_lib_hardware_interference_size                    201703L <new>
930b57cec5SDimitry Andric__cpp_lib_has_unique_object_representations             201606L <type_traits>
940b57cec5SDimitry Andric__cpp_lib_hypot                                         201603L <cmath>
950b57cec5SDimitry Andric__cpp_lib_incomplete_container_elements                 201505L <forward_list> <list> <vector>
96e8d8bef9SDimitry Andric__cpp_lib_int_pow2                                      202002L <bit>
97e8d8bef9SDimitry Andric__cpp_lib_integer_comparison_functions                  202002L <utility>
980b57cec5SDimitry Andric__cpp_lib_integer_sequence                              201304L <utility>
990b57cec5SDimitry Andric__cpp_lib_integral_constant_callable                    201304L <type_traits>
100e8d8bef9SDimitry Andric__cpp_lib_interpolate                                   201902L <cmath> <numeric>
1010b57cec5SDimitry Andric__cpp_lib_invoke                                        201411L <functional>
10204eeddc0SDimitry Andric__cpp_lib_invoke_r                                      202106L <functional>
1030b57cec5SDimitry Andric__cpp_lib_is_aggregate                                  201703L <type_traits>
1040b57cec5SDimitry Andric__cpp_lib_is_constant_evaluated                         201811L <type_traits>
1050b57cec5SDimitry Andric__cpp_lib_is_final                                      201402L <type_traits>
1060b57cec5SDimitry Andric__cpp_lib_is_invocable                                  201703L <type_traits>
107e8d8bef9SDimitry Andric__cpp_lib_is_layout_compatible                          201907L <type_traits>
108e8d8bef9SDimitry Andric__cpp_lib_is_nothrow_convertible                        201806L <type_traits>
1090b57cec5SDimitry Andric__cpp_lib_is_null_pointer                               201309L <type_traits>
110e8d8bef9SDimitry Andric__cpp_lib_is_pointer_interconvertible                   201907L <type_traits>
111e8d8bef9SDimitry Andric__cpp_lib_is_scoped_enum                                202011L <type_traits>
1120b57cec5SDimitry Andric__cpp_lib_is_swappable                                  201603L <type_traits>
113e8d8bef9SDimitry Andric__cpp_lib_jthread                                       201911L <stop_token> <thread>
114e8d8bef9SDimitry Andric__cpp_lib_latch                                         201907L <latch>
1150b57cec5SDimitry Andric__cpp_lib_launder                                       201606L <new>
1160b57cec5SDimitry Andric__cpp_lib_list_remove_return_type                       201806L <forward_list> <list>
1170b57cec5SDimitry Andric__cpp_lib_logical_traits                                201510L <type_traits>
1180b57cec5SDimitry Andric__cpp_lib_make_from_tuple                               201606L <tuple>
1190b57cec5SDimitry Andric__cpp_lib_make_reverse_iterator                         201402L <iterator>
1200b57cec5SDimitry Andric__cpp_lib_make_unique                                   201304L <memory>
1210b57cec5SDimitry Andric__cpp_lib_map_try_emplace                               201411L <map>
1225ffd83dbSDimitry Andric__cpp_lib_math_constants                                201907L <numbers>
1230b57cec5SDimitry Andric__cpp_lib_math_special_functions                        201603L <cmath>
1240b57cec5SDimitry Andric__cpp_lib_memory_resource                               201603L <memory_resource>
12504eeddc0SDimitry Andric__cpp_lib_move_only_function                            202110L <functional>
1260b57cec5SDimitry Andric__cpp_lib_node_extract                                  201606L <map> <set> <unordered_map>
1270b57cec5SDimitry Andric                                                                <unordered_set>
128e8d8bef9SDimitry Andric__cpp_lib_nonmember_container_access                    201411L <array> <deque> <forward_list>
129e8d8bef9SDimitry Andric                                                                <iterator> <list> <map>
1300b57cec5SDimitry Andric                                                                <regex> <set> <string>
1310b57cec5SDimitry Andric                                                                <unordered_map> <unordered_set> <vector>
1320b57cec5SDimitry Andric__cpp_lib_not_fn                                        201603L <functional>
1330b57cec5SDimitry Andric__cpp_lib_null_iterators                                201304L <iterator>
13481ad6265SDimitry Andric__cpp_lib_optional                                      202110L <optional>
13581ad6265SDimitry Andric                                                        201606L // C++17
13604eeddc0SDimitry Andric__cpp_lib_out_ptr                                       202106L <memory>
1370b57cec5SDimitry Andric__cpp_lib_parallel_algorithm                            201603L <algorithm> <numeric>
13804eeddc0SDimitry Andric__cpp_lib_polymorphic_allocator                         201902L <memory_resource>
1390b57cec5SDimitry Andric__cpp_lib_quoted_string_io                              201304L <iomanip>
140bdd1243dSDimitry Andric__cpp_lib_ranges                                        202106L <algorithm> <functional> <iterator>
1410b57cec5SDimitry Andric                                                                <memory> <ranges>
142*1ac55f4cSDimitry Andric__cpp_lib_ranges_as_rvalue                              202207L <ranges>
14381ad6265SDimitry Andric__cpp_lib_ranges_chunk                                  202202L <ranges>
14481ad6265SDimitry Andric__cpp_lib_ranges_chunk_by                               202202L <ranges>
14581ad6265SDimitry Andric__cpp_lib_ranges_iota                                   202202L <numeric>
14681ad6265SDimitry Andric__cpp_lib_ranges_join_with                              202202L <ranges>
14781ad6265SDimitry Andric__cpp_lib_ranges_slide                                  202202L <ranges>
14804eeddc0SDimitry Andric__cpp_lib_ranges_starts_ends_with                       202106L <algorithm>
14981ad6265SDimitry Andric__cpp_lib_ranges_to_container                           202202L <deque> <forward_list> <list>
15081ad6265SDimitry Andric                                                                <map> <priority_queue> <queue>
15181ad6265SDimitry Andric                                                                <set> <stack> <string>
15281ad6265SDimitry Andric                                                                <unordered_map> <unordered_set> <vector>
15304eeddc0SDimitry Andric__cpp_lib_ranges_zip                                    202110L <ranges> <tuple> <utility>
1540b57cec5SDimitry Andric__cpp_lib_raw_memory_algorithms                         201606L <memory>
15581ad6265SDimitry Andric__cpp_lib_reference_from_temporary                      202202L <type_traits>
156e8d8bef9SDimitry Andric__cpp_lib_remove_cvref                                  201711L <type_traits>
1570b57cec5SDimitry Andric__cpp_lib_result_of_sfinae                              201210L <functional> <type_traits>
1580b57cec5SDimitry Andric__cpp_lib_robust_nonmodifying_seq_ops                   201304L <algorithm>
1590b57cec5SDimitry Andric__cpp_lib_sample                                        201603L <algorithm>
1600b57cec5SDimitry Andric__cpp_lib_scoped_lock                                   201703L <mutex>
161e8d8bef9SDimitry Andric__cpp_lib_semaphore                                     201907L <semaphore>
1620b57cec5SDimitry Andric__cpp_lib_shared_mutex                                  201505L <shared_mutex>
16381ad6265SDimitry Andric__cpp_lib_shared_ptr_arrays                             201707L <memory>
16481ad6265SDimitry Andric                                                        201611L // C++17
1650b57cec5SDimitry Andric__cpp_lib_shared_ptr_weak_type                          201606L <memory>
1660b57cec5SDimitry Andric__cpp_lib_shared_timed_mutex                            201402L <shared_mutex>
167e8d8bef9SDimitry Andric__cpp_lib_shift                                         201806L <algorithm>
168e8d8bef9SDimitry Andric__cpp_lib_smart_ptr_for_overwrite                       202002L <memory>
169e8d8bef9SDimitry Andric__cpp_lib_source_location                               201907L <source_location>
1705ffd83dbSDimitry Andric__cpp_lib_span                                          202002L <span>
17104eeddc0SDimitry Andric__cpp_lib_spanstream                                    202106L <spanstream>
172e8d8bef9SDimitry Andric__cpp_lib_ssize                                         201902L <iterator>
173e8d8bef9SDimitry Andric__cpp_lib_stacktrace                                    202011L <stacktrace>
174e8d8bef9SDimitry Andric__cpp_lib_starts_ends_with                              201711L <string> <string_view>
175e8d8bef9SDimitry Andric__cpp_lib_stdatomic_h                                   202011L <stdatomic.h>
176e8d8bef9SDimitry Andric__cpp_lib_string_contains                               202011L <string> <string_view>
17704eeddc0SDimitry Andric__cpp_lib_string_resize_and_overwrite                   202110L <string>
1780b57cec5SDimitry Andric__cpp_lib_string_udls                                   201304L <string>
179e8d8bef9SDimitry Andric__cpp_lib_string_view                                   201803L <string> <string_view>
180e8d8bef9SDimitry Andric                                                        201606L // C++17
181e8d8bef9SDimitry Andric__cpp_lib_syncbuf                                       201803L <syncstream>
182e8d8bef9SDimitry Andric__cpp_lib_three_way_comparison                          201907L <compare>
183e8d8bef9SDimitry Andric__cpp_lib_to_address                                    201711L <memory>
1845ffd83dbSDimitry Andric__cpp_lib_to_array                                      201907L <array>
1855e801ac6SDimitry Andric__cpp_lib_to_chars                                      201611L <charconv>
186fe6060f1SDimitry Andric__cpp_lib_to_underlying                                 202102L <utility>
1870b57cec5SDimitry Andric__cpp_lib_transformation_trait_aliases                  201304L <type_traits>
188e8d8bef9SDimitry Andric__cpp_lib_transparent_operators                         201510L <functional> <memory>
1890b57cec5SDimitry Andric                                                        201210L // C++14
1900b57cec5SDimitry Andric__cpp_lib_tuple_element_t                               201402L <tuple>
191e8d8bef9SDimitry Andric__cpp_lib_tuples_by_type                                201304L <tuple> <utility>
19204eeddc0SDimitry Andric__cpp_lib_type_identity                                 201806L <type_traits>
1930b57cec5SDimitry Andric__cpp_lib_type_trait_variable_templates                 201510L <type_traits>
1940b57cec5SDimitry Andric__cpp_lib_uncaught_exceptions                           201411L <exception>
1950b57cec5SDimitry Andric__cpp_lib_unordered_map_try_emplace                     201411L <unordered_map>
19681ad6265SDimitry Andric__cpp_lib_unreachable                                   202202L <utility>
197e8d8bef9SDimitry Andric__cpp_lib_unwrap_ref                                    201811L <functional>
198fe6060f1SDimitry Andric__cpp_lib_variant                                       202102L <variant>
1990b57cec5SDimitry Andric__cpp_lib_void_t                                        201411L <type_traits>
2000b57cec5SDimitry Andric
2010b57cec5SDimitry Andric*/
2020b57cec5SDimitry Andric
20381ad6265SDimitry Andric#include <__assert> // all public C++ headers provide the assertion handler
2040b57cec5SDimitry Andric#include <__config>
2050b57cec5SDimitry Andric
2060b57cec5SDimitry Andric#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
2070b57cec5SDimitry Andric#  pragma GCC system_header
2080b57cec5SDimitry Andric#endif
2090b57cec5SDimitry Andric
210fe6060f1SDimitry Andric// clang-format off
211fe6060f1SDimitry Andric
2120b57cec5SDimitry Andric#if _LIBCPP_STD_VER > 11
2130b57cec5SDimitry Andric# define __cpp_lib_chrono_udls                          201304L
2140b57cec5SDimitry Andric# define __cpp_lib_complex_udls                         201309L
2150b57cec5SDimitry Andric# define __cpp_lib_exchange_function                    201304L
2160b57cec5SDimitry Andric# define __cpp_lib_generic_associative_lookup           201304L
2170b57cec5SDimitry Andric# define __cpp_lib_integer_sequence                     201304L
2180b57cec5SDimitry Andric# define __cpp_lib_integral_constant_callable           201304L
2190b57cec5SDimitry Andric# define __cpp_lib_is_final                             201402L
2200b57cec5SDimitry Andric# define __cpp_lib_is_null_pointer                      201309L
2210b57cec5SDimitry Andric# define __cpp_lib_make_reverse_iterator                201402L
2220b57cec5SDimitry Andric# define __cpp_lib_make_unique                          201304L
2230b57cec5SDimitry Andric# define __cpp_lib_null_iterators                       201304L
2240b57cec5SDimitry Andric# define __cpp_lib_quoted_string_io                     201304L
2250b57cec5SDimitry Andric# define __cpp_lib_result_of_sfinae                     201210L
2260b57cec5SDimitry Andric# define __cpp_lib_robust_nonmodifying_seq_ops          201304L
2274652422eSDimitry Andric# if !defined(_LIBCPP_HAS_NO_THREADS) && !defined(_LIBCPP_AVAILABILITY_DISABLE_FTM___cpp_lib_shared_timed_mutex)
2280b57cec5SDimitry Andric#   define __cpp_lib_shared_timed_mutex                 201402L
2290b57cec5SDimitry Andric# endif
2300b57cec5SDimitry Andric# define __cpp_lib_string_udls                          201304L
2310b57cec5SDimitry Andric# define __cpp_lib_transformation_trait_aliases         201304L
2320b57cec5SDimitry Andric# define __cpp_lib_transparent_operators                201210L
2330b57cec5SDimitry Andric# define __cpp_lib_tuple_element_t                      201402L
2340b57cec5SDimitry Andric# define __cpp_lib_tuples_by_type                       201304L
2350b57cec5SDimitry Andric#endif
2360b57cec5SDimitry Andric
2370b57cec5SDimitry Andric#if _LIBCPP_STD_VER > 14
2380b57cec5SDimitry Andric# define __cpp_lib_addressof_constexpr                  201603L
2390b57cec5SDimitry Andric# define __cpp_lib_allocator_traits_is_always_equal     201411L
2400b57cec5SDimitry Andric# define __cpp_lib_any                                  201606L
2410b57cec5SDimitry Andric# define __cpp_lib_apply                                201603L
2420b57cec5SDimitry Andric# define __cpp_lib_array_constexpr                      201603L
2430b57cec5SDimitry Andric# define __cpp_lib_as_const                             201510L
2440b57cec5SDimitry Andric# define __cpp_lib_atomic_is_always_lock_free           201603L
2450b57cec5SDimitry Andric# define __cpp_lib_bool_constant                        201505L
24681ad6265SDimitry Andric# define __cpp_lib_boyer_moore_searcher                 201603L
2470b57cec5SDimitry Andric# define __cpp_lib_byte                                 201603L
2480b57cec5SDimitry Andric# define __cpp_lib_chrono                               201611L
2490b57cec5SDimitry Andric# define __cpp_lib_clamp                                201603L
2500b57cec5SDimitry Andric# define __cpp_lib_enable_shared_from_this              201603L
2510b57cec5SDimitry Andric// # define __cpp_lib_execution                            201603L
2524652422eSDimitry Andric# if !defined(_LIBCPP_AVAILABILITY_DISABLE_FTM___cpp_lib_filesystem)
2530b57cec5SDimitry Andric#   define __cpp_lib_filesystem                         201703L
2544652422eSDimitry Andric# endif
2550b57cec5SDimitry Andric# define __cpp_lib_gcd_lcm                              201606L
25681ad6265SDimitry Andric# if defined(__GCC_DESTRUCTIVE_SIZE) && defined(__GCC_CONSTRUCTIVE_SIZE)
25781ad6265SDimitry Andric#   define __cpp_lib_hardware_interference_size         201703L
25881ad6265SDimitry Andric# endif
2590b57cec5SDimitry Andric# define __cpp_lib_has_unique_object_representations    201606L
2600b57cec5SDimitry Andric# define __cpp_lib_hypot                                201603L
2610b57cec5SDimitry Andric# define __cpp_lib_incomplete_container_elements        201505L
2620b57cec5SDimitry Andric# define __cpp_lib_invoke                               201411L
2630b57cec5SDimitry Andric# define __cpp_lib_is_aggregate                         201703L
2640b57cec5SDimitry Andric# define __cpp_lib_is_invocable                         201703L
2650b57cec5SDimitry Andric# define __cpp_lib_is_swappable                         201603L
2660b57cec5SDimitry Andric# define __cpp_lib_launder                              201606L
2670b57cec5SDimitry Andric# define __cpp_lib_logical_traits                       201510L
2680b57cec5SDimitry Andric# define __cpp_lib_make_from_tuple                      201606L
2690b57cec5SDimitry Andric# define __cpp_lib_map_try_emplace                      201411L
2700b57cec5SDimitry Andric// # define __cpp_lib_math_special_functions               201603L
271bdd1243dSDimitry Andric# define __cpp_lib_memory_resource                      201603L
2720b57cec5SDimitry Andric# define __cpp_lib_node_extract                         201606L
2730b57cec5SDimitry Andric# define __cpp_lib_nonmember_container_access           201411L
2740b57cec5SDimitry Andric# define __cpp_lib_not_fn                               201603L
2750b57cec5SDimitry Andric# define __cpp_lib_optional                             201606L
2760b57cec5SDimitry Andric// # define __cpp_lib_parallel_algorithm                   201603L
2770b57cec5SDimitry Andric# define __cpp_lib_raw_memory_algorithms                201606L
2780b57cec5SDimitry Andric# define __cpp_lib_sample                               201603L
2790b57cec5SDimitry Andric# define __cpp_lib_scoped_lock                          201703L
2804652422eSDimitry Andric# if !defined(_LIBCPP_HAS_NO_THREADS) && !defined(_LIBCPP_AVAILABILITY_DISABLE_FTM___cpp_lib_shared_mutex)
2810b57cec5SDimitry Andric#   define __cpp_lib_shared_mutex                       201505L
2820b57cec5SDimitry Andric# endif
283e8d8bef9SDimitry Andric# define __cpp_lib_shared_ptr_arrays                    201611L
2840b57cec5SDimitry Andric# define __cpp_lib_shared_ptr_weak_type                 201606L
2850b57cec5SDimitry Andric# define __cpp_lib_string_view                          201606L
2860b57cec5SDimitry Andric// # define __cpp_lib_to_chars                             201611L
2870b57cec5SDimitry Andric# undef  __cpp_lib_transparent_operators
2880b57cec5SDimitry Andric# define __cpp_lib_transparent_operators                201510L
2890b57cec5SDimitry Andric# define __cpp_lib_type_trait_variable_templates        201510L
2900b57cec5SDimitry Andric# define __cpp_lib_uncaught_exceptions                  201411L
2910b57cec5SDimitry Andric# define __cpp_lib_unordered_map_try_emplace            201411L
292fe6060f1SDimitry Andric# define __cpp_lib_variant                              202102L
2930b57cec5SDimitry Andric# define __cpp_lib_void_t                               201411L
2940b57cec5SDimitry Andric#endif
2950b57cec5SDimitry Andric
2960b57cec5SDimitry Andric#if _LIBCPP_STD_VER > 17
2975ffd83dbSDimitry Andric# undef  __cpp_lib_array_constexpr
2985ffd83dbSDimitry Andric# define __cpp_lib_array_constexpr                      201811L
29981ad6265SDimitry Andric# define __cpp_lib_assume_aligned                       201811L
300e8d8bef9SDimitry Andric# define __cpp_lib_atomic_flag_test                     201907L
301e8d8bef9SDimitry Andric// # define __cpp_lib_atomic_float                         201711L
302e8d8bef9SDimitry Andric# define __cpp_lib_atomic_lock_free_type_aliases        201907L
3030b57cec5SDimitry Andric// # define __cpp_lib_atomic_ref                           201806L
304e8d8bef9SDimitry Andric// # define __cpp_lib_atomic_shared_ptr                    201711L
305fe6060f1SDimitry Andric# define __cpp_lib_atomic_value_initialization          201911L
306349cc55cSDimitry Andric# if !defined(_LIBCPP_AVAILABILITY_DISABLE_FTM___cpp_lib_atomic_wait)
307e8d8bef9SDimitry Andric#   define __cpp_lib_atomic_wait                        201907L
308e8d8bef9SDimitry Andric# endif
3094652422eSDimitry Andric# if !defined(_LIBCPP_HAS_NO_THREADS) && !defined(_LIBCPP_AVAILABILITY_DISABLE_FTM___cpp_lib_barrier)
310e8d8bef9SDimitry Andric#   define __cpp_lib_barrier                            201907L
311e8d8bef9SDimitry Andric# endif
312fe6060f1SDimitry Andric# define __cpp_lib_bind_front                           201907L
313349cc55cSDimitry Andric# define __cpp_lib_bit_cast                             201806L
314e8d8bef9SDimitry Andric// # define __cpp_lib_bitops                               201907L
315e8d8bef9SDimitry Andric# define __cpp_lib_bounded_array_traits                 201902L
316fe6060f1SDimitry Andric# if !defined(_LIBCPP_HAS_NO_CHAR8_T)
317fcaf7f86SDimitry Andric#   define __cpp_lib_char8_t                            201907L
3180b57cec5SDimitry Andric# endif
319fe6060f1SDimitry Andric# define __cpp_lib_concepts                             202002L
320fe6060f1SDimitry Andric# define __cpp_lib_constexpr_algorithms                 201806L
321bdd1243dSDimitry Andric# define __cpp_lib_constexpr_complex                    201711L
322e8d8bef9SDimitry Andric# define __cpp_lib_constexpr_dynamic_alloc              201907L
323e8d8bef9SDimitry Andric# define __cpp_lib_constexpr_functional                 201907L
324fe6060f1SDimitry Andric# define __cpp_lib_constexpr_iterator                   201811L
325fe6060f1SDimitry Andric# define __cpp_lib_constexpr_memory                     201811L
326e8d8bef9SDimitry Andric# define __cpp_lib_constexpr_numeric                    201911L
32781ad6265SDimitry Andric# define __cpp_lib_constexpr_string                     201907L
328fe6060f1SDimitry Andric# define __cpp_lib_constexpr_string_view                201811L
329fe6060f1SDimitry Andric# define __cpp_lib_constexpr_tuple                      201811L
330e8d8bef9SDimitry Andric# define __cpp_lib_constexpr_utility                    201811L
331bdd1243dSDimitry Andric# define __cpp_lib_constexpr_vector                     201907L
332349cc55cSDimitry Andric# define __cpp_lib_coroutine                            201902L
3330b57cec5SDimitry Andric# if _LIBCPP_STD_VER > 17 && defined(__cpp_impl_destroying_delete) && __cpp_impl_destroying_delete >= 201806L
3340b57cec5SDimitry Andric#   define __cpp_lib_destroying_delete                  201806L
3350b57cec5SDimitry Andric# endif
336480093f4SDimitry Andric# define __cpp_lib_endian                               201907L
3375ffd83dbSDimitry Andric# define __cpp_lib_erase_if                             202002L
338e8d8bef9SDimitry Andric# undef  __cpp_lib_execution
339e8d8bef9SDimitry Andric// # define __cpp_lib_execution                            201902L
34061cfbce3SDimitry Andric# if !defined(_LIBCPP_AVAILABILITY_DISABLE_FTM___cpp_lib_format) && !defined(_LIBCPP_HAS_NO_INCOMPLETE_FORMAT)
3416246ae0bSDimitry Andric// #   define __cpp_lib_format                             202106L
342fe6060f1SDimitry Andric# endif
343e8d8bef9SDimitry Andric# define __cpp_lib_generic_unordered_lookup             201811L
344e8d8bef9SDimitry Andric# define __cpp_lib_int_pow2                             202002L
345fe6060f1SDimitry Andric# define __cpp_lib_integer_comparison_functions         202002L
3460b57cec5SDimitry Andric# define __cpp_lib_interpolate                          201902L
3470b57cec5SDimitry Andric# define __cpp_lib_is_constant_evaluated                201811L
348e8d8bef9SDimitry Andric// # define __cpp_lib_is_layout_compatible                 201907L
349e8d8bef9SDimitry Andric# define __cpp_lib_is_nothrow_convertible               201806L
350e8d8bef9SDimitry Andric// # define __cpp_lib_is_pointer_interconvertible          201907L
351e8d8bef9SDimitry Andric# if !defined(_LIBCPP_HAS_NO_THREADS)
352e8d8bef9SDimitry Andric// #   define __cpp_lib_jthread                            201911L
353e8d8bef9SDimitry Andric# endif
3544652422eSDimitry Andric# if !defined(_LIBCPP_HAS_NO_THREADS) && !defined(_LIBCPP_AVAILABILITY_DISABLE_FTM___cpp_lib_latch)
355e8d8bef9SDimitry Andric#   define __cpp_lib_latch                              201907L
356e8d8bef9SDimitry Andric# endif
3575ffd83dbSDimitry Andric# define __cpp_lib_list_remove_return_type              201806L
3585ffd83dbSDimitry Andric# define __cpp_lib_math_constants                       201907L
359bdd1243dSDimitry Andric# define __cpp_lib_polymorphic_allocator                201902L
360bdd1243dSDimitry Andric# define __cpp_lib_ranges                               202106L
361e8d8bef9SDimitry Andric# define __cpp_lib_remove_cvref                         201711L
3624652422eSDimitry Andric# if !defined(_LIBCPP_HAS_NO_THREADS) && !defined(_LIBCPP_AVAILABILITY_DISABLE_FTM___cpp_lib_semaphore)
363e8d8bef9SDimitry Andric#   define __cpp_lib_semaphore                          201907L
364e8d8bef9SDimitry Andric# endif
36581ad6265SDimitry Andric# undef  __cpp_lib_shared_ptr_arrays
36681ad6265SDimitry Andric# define __cpp_lib_shared_ptr_arrays                    201707L
367e8d8bef9SDimitry Andric# define __cpp_lib_shift                                201806L
368e8d8bef9SDimitry Andric// # define __cpp_lib_smart_ptr_for_overwrite              202002L
369*1ac55f4cSDimitry Andric# if __has_builtin(__builtin_source_location) && !(defined(_LIBCPP_APPLE_CLANG_VER) && _LIBCPP_APPLE_CLANG_VER <= 1403)
370bdd1243dSDimitry Andric#   define __cpp_lib_source_location                    201907L
371bdd1243dSDimitry Andric# endif
3725ffd83dbSDimitry Andric# define __cpp_lib_span                                 202002L
373e8d8bef9SDimitry Andric# define __cpp_lib_ssize                                201902L
374e8d8bef9SDimitry Andric# define __cpp_lib_starts_ends_with                     201711L
375e8d8bef9SDimitry Andric# undef  __cpp_lib_string_view
376e8d8bef9SDimitry Andric# define __cpp_lib_string_view                          201803L
377e8d8bef9SDimitry Andric// # define __cpp_lib_syncbuf                              201803L
378e8d8bef9SDimitry Andric// # define __cpp_lib_three_way_comparison                 201907L
379e8d8bef9SDimitry Andric# define __cpp_lib_to_address                           201711L
3805ffd83dbSDimitry Andric# define __cpp_lib_to_array                             201907L
38104eeddc0SDimitry Andric# define __cpp_lib_type_identity                        201806L
382e8d8bef9SDimitry Andric# define __cpp_lib_unwrap_ref                           201811L
383e8d8bef9SDimitry Andric#endif
384e8d8bef9SDimitry Andric
385e8d8bef9SDimitry Andric#if _LIBCPP_STD_VER > 20
38604eeddc0SDimitry Andric# define __cpp_lib_adaptor_iterator_pair_constructor    202106L
38781ad6265SDimitry Andric# define __cpp_lib_allocate_at_least                    202106L
38804eeddc0SDimitry Andric// # define __cpp_lib_associative_heterogeneous_erasure    202110L
38981ad6265SDimitry Andric// # define __cpp_lib_bind_back                            202202L
3904824e7fdSDimitry Andric# define __cpp_lib_byteswap                             202110L
391bdd1243dSDimitry Andric# define __cpp_lib_constexpr_bitset                     202207L
392bdd1243dSDimitry Andric# define __cpp_lib_constexpr_charconv                   202207L
39381ad6265SDimitry Andric// # define __cpp_lib_constexpr_cmath                      202202L
394bdd1243dSDimitry Andric# undef  __cpp_lib_constexpr_memory
395bdd1243dSDimitry Andric# define __cpp_lib_constexpr_memory                     202202L
39604eeddc0SDimitry Andric// # define __cpp_lib_constexpr_typeinfo                   202106L
397bdd1243dSDimitry Andric# define __cpp_lib_expected                             202202L
398bdd1243dSDimitry Andric# define __cpp_lib_forward_like                         202207L
39904eeddc0SDimitry Andric// # define __cpp_lib_invoke_r                             202106L
400e8d8bef9SDimitry Andric# define __cpp_lib_is_scoped_enum                       202011L
40104eeddc0SDimitry Andric// # define __cpp_lib_move_only_function                   202110L
40281ad6265SDimitry Andric# undef  __cpp_lib_optional
40381ad6265SDimitry Andric# define __cpp_lib_optional                             202110L
40404eeddc0SDimitry Andric// # define __cpp_lib_out_ptr                              202106L
405*1ac55f4cSDimitry Andric# define __cpp_lib_ranges_as_rvalue                     202207L
40681ad6265SDimitry Andric// # define __cpp_lib_ranges_chunk                         202202L
40781ad6265SDimitry Andric// # define __cpp_lib_ranges_chunk_by                      202202L
40881ad6265SDimitry Andric// # define __cpp_lib_ranges_iota                          202202L
40981ad6265SDimitry Andric// # define __cpp_lib_ranges_join_with                     202202L
41081ad6265SDimitry Andric// # define __cpp_lib_ranges_slide                         202202L
41104eeddc0SDimitry Andric// # define __cpp_lib_ranges_starts_ends_with              202106L
41281ad6265SDimitry Andric// # define __cpp_lib_ranges_to_container                  202202L
41304eeddc0SDimitry Andric// # define __cpp_lib_ranges_zip                           202110L
41481ad6265SDimitry Andric// # define __cpp_lib_reference_from_temporary             202202L
41504eeddc0SDimitry Andric// # define __cpp_lib_spanstream                           202106L
416e8d8bef9SDimitry Andric// # define __cpp_lib_stacktrace                           202011L
41781ad6265SDimitry Andric# define __cpp_lib_stdatomic_h                          202011L
418e8d8bef9SDimitry Andric# define __cpp_lib_string_contains                      202011L
41904eeddc0SDimitry Andric# define __cpp_lib_string_resize_and_overwrite          202110L
420fe6060f1SDimitry Andric# define __cpp_lib_to_underlying                        202102L
42181ad6265SDimitry Andric# define __cpp_lib_unreachable                          202202L
4220b57cec5SDimitry Andric#endif
4230b57cec5SDimitry Andric
424fe6060f1SDimitry Andric// clang-format on
425fe6060f1SDimitry Andric
4260b57cec5SDimitry Andric#endif // _LIBCPP_VERSIONH
427