2021-10-01 12:59:24 -04:00
|
|
|
// -*- C++ -*-
|
2021-10-04 13:34:26 -04:00
|
|
|
//===----------------------------------------------------------------------===//
|
2018-04-03 15:48:24 +00:00
|
|
|
//
|
2019-01-19 10:56:40 +00:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2018-04-03 15:48:24 +00:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef _LIBCPP_VERSIONH
|
|
|
|
#define _LIBCPP_VERSIONH
|
|
|
|
|
|
|
|
/*
|
2019-01-16 01:37:43 +00:00
|
|
|
version synopsis
|
2018-04-03 15:48:24 +00:00
|
|
|
|
2019-01-16 01:37:43 +00:00
|
|
|
Macro name Value Headers
|
2022-01-06 12:36:07 +01:00
|
|
|
__cpp_lib_adaptor_iterator_pair_constructor 202106L <queue> <stack>
|
2019-01-16 01:37:43 +00:00
|
|
|
__cpp_lib_addressof_constexpr 201603L <memory>
|
2025-04-14 17:33:57 -04:00
|
|
|
__cpp_lib_aligned_accessor 202411L <mdspan>
|
2024-02-01 13:31:25 +02:00
|
|
|
__cpp_lib_allocate_at_least 202302L <memory>
|
2021-01-07 18:04:41 -05:00
|
|
|
__cpp_lib_allocator_traits_is_always_equal 201411L <deque> <forward_list> <list>
|
|
|
|
<map> <memory> <scoped_allocator>
|
|
|
|
<set> <string> <unordered_map>
|
|
|
|
<unordered_set> <vector>
|
2019-01-16 01:37:43 +00:00
|
|
|
__cpp_lib_any 201606L <any>
|
|
|
|
__cpp_lib_apply 201603L <tuple>
|
2021-01-07 18:04:41 -05:00
|
|
|
__cpp_lib_array_constexpr 201811L <array> <iterator>
|
2020-05-22 09:59:48 -04:00
|
|
|
201603L // C++17
|
2019-01-16 01:37:43 +00:00
|
|
|
__cpp_lib_as_const 201510L <utility>
|
2021-12-30 23:28:12 -05:00
|
|
|
__cpp_lib_associative_heterogeneous_erasure 202110L <map> <set> <unordered_map>
|
|
|
|
<unordered_set>
|
2023-06-17 12:00:23 +02:00
|
|
|
__cpp_lib_associative_heterogeneous_insertion 202306L <map> <set> <unordered_map>
|
|
|
|
<unordered_set>
|
2021-01-07 18:21:07 -05:00
|
|
|
__cpp_lib_assume_aligned 201811L <memory>
|
2020-09-09 10:00:09 -07:00
|
|
|
__cpp_lib_atomic_flag_test 201907L <atomic>
|
|
|
|
__cpp_lib_atomic_float 201711L <atomic>
|
2019-01-16 01:37:43 +00:00
|
|
|
__cpp_lib_atomic_is_always_lock_free 201603L <atomic>
|
2020-09-09 10:00:09 -07:00
|
|
|
__cpp_lib_atomic_lock_free_type_aliases 201907L <atomic>
|
2024-04-03 08:21:11 -04:00
|
|
|
__cpp_lib_atomic_min_max 202403L <atomic>
|
2019-01-16 01:37:43 +00:00
|
|
|
__cpp_lib_atomic_ref 201806L <atomic>
|
2020-09-09 10:00:09 -07:00
|
|
|
__cpp_lib_atomic_shared_ptr 201711L <atomic>
|
|
|
|
__cpp_lib_atomic_value_initialization 201911L <atomic> <memory>
|
|
|
|
__cpp_lib_atomic_wait 201907L <atomic>
|
2021-01-07 18:21:07 -05:00
|
|
|
__cpp_lib_barrier 201907L <barrier>
|
2024-04-09 17:10:20 +02:00
|
|
|
__cpp_lib_bind_back 202202L <functional>
|
2023-06-17 12:00:23 +02:00
|
|
|
__cpp_lib_bind_front 202306L <functional>
|
|
|
|
201907L // C++20
|
2019-01-16 01:37:43 +00:00
|
|
|
__cpp_lib_bit_cast 201806L <bit>
|
2021-01-07 18:21:07 -05:00
|
|
|
__cpp_lib_bitops 201907L <bit>
|
2023-06-17 12:00:23 +02:00
|
|
|
__cpp_lib_bitset 202306L <bitset>
|
2019-01-16 01:37:43 +00:00
|
|
|
__cpp_lib_bool_constant 201505L <type_traits>
|
2021-01-07 18:21:07 -05:00
|
|
|
__cpp_lib_bounded_array_traits 201902L <type_traits>
|
2019-01-16 01:37:43 +00:00
|
|
|
__cpp_lib_boyer_moore_searcher 201603L <functional>
|
|
|
|
__cpp_lib_byte 201603L <cstddef>
|
2021-11-22 00:22:55 +01:00
|
|
|
__cpp_lib_byteswap 202110L <bit>
|
2022-07-19 02:03:10 +02:00
|
|
|
__cpp_lib_char8_t 201907L <atomic> <filesystem> <istream>
|
2019-01-16 01:37:43 +00:00
|
|
|
<limits> <locale> <ostream>
|
|
|
|
<string> <string_view>
|
|
|
|
__cpp_lib_chrono 201611L <chrono>
|
|
|
|
__cpp_lib_chrono_udls 201304L <chrono>
|
|
|
|
__cpp_lib_clamp 201603L <algorithm>
|
|
|
|
__cpp_lib_complex_udls 201309L <complex>
|
2021-01-07 18:21:07 -05:00
|
|
|
__cpp_lib_concepts 202002L <concepts>
|
2025-03-21 07:33:52 +08:00
|
|
|
__cpp_lib_constexpr_algorithms 202306L <algorithm> <utility>
|
|
|
|
201806L // C++20
|
2022-08-13 13:52:35 +02:00
|
|
|
__cpp_lib_constexpr_bitset 202207L <bitset>
|
2022-08-06 10:47:53 +02:00
|
|
|
__cpp_lib_constexpr_charconv 202207L <charconv>
|
2022-02-09 00:07:14 +01:00
|
|
|
__cpp_lib_constexpr_cmath 202202L <cmath> <cstdlib>
|
2021-01-07 18:21:07 -05:00
|
|
|
__cpp_lib_constexpr_complex 201711L <complex>
|
2020-09-17 12:06:13 -04:00
|
|
|
__cpp_lib_constexpr_dynamic_alloc 201907L <memory>
|
2020-12-25 14:48:39 -05:00
|
|
|
__cpp_lib_constexpr_functional 201907L <functional>
|
2021-01-07 18:21:07 -05:00
|
|
|
__cpp_lib_constexpr_iterator 201811L <iterator>
|
2022-09-03 18:49:50 +07:00
|
|
|
__cpp_lib_constexpr_memory 202202L <memory>
|
|
|
|
201811L // C++20
|
2024-07-08 19:35:31 +02:00
|
|
|
__cpp_lib_constexpr_new 202406L <new>
|
2020-11-28 14:50:53 +01:00
|
|
|
__cpp_lib_constexpr_numeric 201911L <numeric>
|
[libc++] Implement P0980R1 (constexpr std::string)
Reviewed By: #libc, ldionne
Spies: daltenty, sdasgup3, ldionne, arichardson, MTC, ChuanqiXu, mehdi_amini, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, stephenneuendorffer, Joonsoo, grosul1, Kayjukh, jurahul, msifontes, tatianashp, rdzhabarov, teijeong, cota, dcaballe, Chia-hungDuan, wrengr, wenzhicui, arphaman, Mordante, miscco, Quuxplusone, smeenai, libcxx-commits
Differential Revision: https://reviews.llvm.org/D110598
2022-04-27 10:11:44 +02:00
|
|
|
__cpp_lib_constexpr_string 201907L <string>
|
2021-01-07 18:21:07 -05:00
|
|
|
__cpp_lib_constexpr_string_view 201811L <string_view>
|
|
|
|
__cpp_lib_constexpr_tuple 201811L <tuple>
|
2021-12-30 23:28:12 -05:00
|
|
|
__cpp_lib_constexpr_typeinfo 202106L <typeinfo>
|
2020-09-02 21:20:33 +02:00
|
|
|
__cpp_lib_constexpr_utility 201811L <utility>
|
2021-01-07 18:21:07 -05:00
|
|
|
__cpp_lib_constexpr_vector 201907L <vector>
|
2024-04-03 08:21:11 -04:00
|
|
|
__cpp_lib_constrained_equality 202403L <optional> <tuple> <utility>
|
|
|
|
<variant>
|
2024-05-04 16:23:49 +00:00
|
|
|
__cpp_lib_containers_ranges 202202L <deque> <forward_list> <list>
|
|
|
|
<map> <queue> <set>
|
|
|
|
<stack> <string> <unordered_map>
|
|
|
|
<unordered_set> <vector>
|
2023-06-17 12:00:23 +02:00
|
|
|
__cpp_lib_copyable_function 202306L <functional>
|
2021-01-07 18:21:07 -05:00
|
|
|
__cpp_lib_coroutine 201902L <coroutine>
|
2023-11-16 10:17:19 +01:00
|
|
|
__cpp_lib_debugging 202311L <debugging>
|
2024-04-03 08:21:11 -04:00
|
|
|
__cpp_lib_default_template_type_for_algorithm_values 202403L <algorithm> <deque> <forward_list>
|
|
|
|
<list> <ranges> <string>
|
|
|
|
<vector>
|
2019-01-16 01:37:43 +00:00
|
|
|
__cpp_lib_destroying_delete 201806L <new>
|
|
|
|
__cpp_lib_enable_shared_from_this 201603L <memory>
|
2019-11-14 08:54:23 -05:00
|
|
|
__cpp_lib_endian 201907L <bit>
|
2021-01-07 18:04:41 -05:00
|
|
|
__cpp_lib_erase_if 202002L <deque> <forward_list> <list>
|
|
|
|
<map> <set> <string>
|
|
|
|
<unordered_map> <unordered_set> <vector>
|
2019-01-16 01:37:43 +00:00
|
|
|
__cpp_lib_exchange_function 201304L <utility>
|
2021-01-07 18:21:07 -05:00
|
|
|
__cpp_lib_execution 201902L <execution>
|
|
|
|
201603L // C++17
|
2023-05-18 01:05:13 +08:00
|
|
|
__cpp_lib_expected 202211L <expected>
|
2019-01-16 01:37:43 +00:00
|
|
|
__cpp_lib_filesystem 201703L <filesystem>
|
2025-01-25 18:30:00 +00:00
|
|
|
__cpp_lib_flat_map 202207L <flat_map>
|
|
|
|
__cpp_lib_flat_set 202207L <flat_set>
|
2024-07-10 17:52:43 +02:00
|
|
|
__cpp_lib_format 202110L <format>
|
2024-04-03 08:21:11 -04:00
|
|
|
__cpp_lib_format_path 202403L <filesystem>
|
2023-04-09 13:24:21 +02:00
|
|
|
__cpp_lib_format_ranges 202207L <format>
|
2023-12-18 12:43:10 +01:00
|
|
|
__cpp_lib_format_uchar 202311L <format>
|
2023-02-18 18:30:56 +01:00
|
|
|
__cpp_lib_formatters 202302L <stacktrace> <thread>
|
2022-08-21 22:21:08 +07:00
|
|
|
__cpp_lib_forward_like 202207L <utility>
|
2023-11-16 10:17:19 +01:00
|
|
|
__cpp_lib_freestanding_algorithm 202311L <algorithm>
|
|
|
|
__cpp_lib_freestanding_array 202311L <array>
|
|
|
|
__cpp_lib_freestanding_cstring 202306L <cstring>
|
|
|
|
__cpp_lib_freestanding_expected 202311L <expected>
|
|
|
|
__cpp_lib_freestanding_mdspan 202311L <mdspan>
|
|
|
|
__cpp_lib_freestanding_optional 202311L <optional>
|
|
|
|
__cpp_lib_freestanding_string_view 202311L <string_view>
|
|
|
|
__cpp_lib_freestanding_variant 202311L <variant>
|
2023-06-17 12:00:23 +02:00
|
|
|
__cpp_lib_fstream_native_handle 202306L <fstream>
|
|
|
|
__cpp_lib_function_ref 202306L <functional>
|
2019-01-16 01:37:43 +00:00
|
|
|
__cpp_lib_gcd_lcm 201606L <numeric>
|
2024-04-03 08:21:11 -04:00
|
|
|
__cpp_lib_generate_random 202403L <random>
|
2019-01-16 01:37:43 +00:00
|
|
|
__cpp_lib_generic_associative_lookup 201304L <map> <set>
|
|
|
|
__cpp_lib_generic_unordered_lookup 201811L <unordered_map> <unordered_set>
|
|
|
|
__cpp_lib_hardware_interference_size 201703L <new>
|
|
|
|
__cpp_lib_has_unique_object_representations 201606L <type_traits>
|
2023-06-17 12:00:23 +02:00
|
|
|
__cpp_lib_hazard_pointer 202306L <hazard_pointer>
|
2019-01-16 01:37:43 +00:00
|
|
|
__cpp_lib_hypot 201603L <cmath>
|
|
|
|
__cpp_lib_incomplete_container_elements 201505L <forward_list> <list> <vector>
|
2024-07-08 19:35:31 +02:00
|
|
|
__cpp_lib_inplace_vector 202406L <inplace_vector>
|
2020-11-24 14:50:49 +01:00
|
|
|
__cpp_lib_int_pow2 202002L <bit>
|
2021-01-07 18:21:07 -05:00
|
|
|
__cpp_lib_integer_comparison_functions 202002L <utility>
|
2019-01-16 01:37:43 +00:00
|
|
|
__cpp_lib_integer_sequence 201304L <utility>
|
|
|
|
__cpp_lib_integral_constant_callable 201304L <type_traits>
|
2021-01-07 18:21:07 -05:00
|
|
|
__cpp_lib_interpolate 201902L <cmath> <numeric>
|
2019-01-16 01:37:43 +00:00
|
|
|
__cpp_lib_invoke 201411L <functional>
|
2021-12-30 23:28:12 -05:00
|
|
|
__cpp_lib_invoke_r 202106L <functional>
|
2023-09-18 16:32:02 -04:00
|
|
|
__cpp_lib_ios_noreplace 202207L <ios>
|
2019-01-16 01:37:43 +00:00
|
|
|
__cpp_lib_is_aggregate 201703L <type_traits>
|
|
|
|
__cpp_lib_is_constant_evaluated 201811L <type_traits>
|
|
|
|
__cpp_lib_is_final 201402L <type_traits>
|
2024-10-09 09:19:14 +03:00
|
|
|
__cpp_lib_is_implicit_lifetime 202302L <type_traits>
|
2019-01-16 01:37:43 +00:00
|
|
|
__cpp_lib_is_invocable 201703L <type_traits>
|
2021-01-07 18:21:07 -05:00
|
|
|
__cpp_lib_is_layout_compatible 201907L <type_traits>
|
|
|
|
__cpp_lib_is_nothrow_convertible 201806L <type_traits>
|
2019-01-16 01:37:43 +00:00
|
|
|
__cpp_lib_is_null_pointer 201309L <type_traits>
|
2021-01-07 18:21:07 -05:00
|
|
|
__cpp_lib_is_pointer_interconvertible 201907L <type_traits>
|
2021-01-08 18:40:42 +01:00
|
|
|
__cpp_lib_is_scoped_enum 202011L <type_traits>
|
2025-04-14 17:33:57 -04:00
|
|
|
__cpp_lib_is_sufficiently_aligned 202411L <memory>
|
2019-01-16 01:37:43 +00:00
|
|
|
__cpp_lib_is_swappable 201603L <type_traits>
|
2024-07-08 19:35:31 +02:00
|
|
|
__cpp_lib_is_virtual_base_of 202406L <type_traits>
|
2024-05-16 08:45:45 +01:00
|
|
|
__cpp_lib_is_within_lifetime 202306L <type_traits>
|
2021-01-07 18:21:07 -05:00
|
|
|
__cpp_lib_jthread 201911L <stop_token> <thread>
|
|
|
|
__cpp_lib_latch 201907L <latch>
|
2019-01-16 01:37:43 +00:00
|
|
|
__cpp_lib_launder 201606L <new>
|
2023-11-16 10:17:19 +01:00
|
|
|
__cpp_lib_linalg 202311L <linalg>
|
2019-01-16 01:37:43 +00:00
|
|
|
__cpp_lib_list_remove_return_type 201806L <forward_list> <list>
|
|
|
|
__cpp_lib_logical_traits 201510L <type_traits>
|
|
|
|
__cpp_lib_make_from_tuple 201606L <tuple>
|
|
|
|
__cpp_lib_make_reverse_iterator 201402L <iterator>
|
|
|
|
__cpp_lib_make_unique 201304L <memory>
|
|
|
|
__cpp_lib_map_try_emplace 201411L <map>
|
2020-06-19 12:43:33 +05:30
|
|
|
__cpp_lib_math_constants 201907L <numbers>
|
2019-01-16 01:37:43 +00:00
|
|
|
__cpp_lib_math_special_functions 201603L <cmath>
|
2024-07-15 23:23:34 +08:00
|
|
|
__cpp_lib_mdspan 202406L <mdspan>
|
|
|
|
202207L // C++23
|
2019-01-16 01:37:43 +00:00
|
|
|
__cpp_lib_memory_resource 201603L <memory_resource>
|
2023-03-01 23:41:36 +05:30
|
|
|
__cpp_lib_move_iterator_concept 202207L <iterator>
|
2021-12-30 23:28:12 -05:00
|
|
|
__cpp_lib_move_only_function 202110L <functional>
|
2019-01-16 01:37:43 +00:00
|
|
|
__cpp_lib_node_extract 201606L <map> <set> <unordered_map>
|
|
|
|
<unordered_set>
|
2021-01-07 18:04:41 -05:00
|
|
|
__cpp_lib_nonmember_container_access 201411L <array> <deque> <forward_list>
|
|
|
|
<iterator> <list> <map>
|
2019-01-16 01:37:43 +00:00
|
|
|
<regex> <set> <string>
|
|
|
|
<unordered_map> <unordered_set> <vector>
|
2025-01-10 20:14:14 +01:00
|
|
|
__cpp_lib_not_fn 202306L <functional>
|
|
|
|
201603L // C++17
|
2019-01-16 01:37:43 +00:00
|
|
|
__cpp_lib_null_iterators 201304L <iterator>
|
2022-05-17 19:15:18 +02:00
|
|
|
__cpp_lib_optional 202110L <optional>
|
2024-10-26 07:38:52 +08:00
|
|
|
202106L // C++20
|
2022-05-17 19:15:18 +02:00
|
|
|
201606L // C++17
|
2024-07-08 19:35:31 +02:00
|
|
|
__cpp_lib_optional_range_support 202406L <optional>
|
2023-11-16 10:17:19 +01:00
|
|
|
__cpp_lib_out_ptr 202311L <memory>
|
|
|
|
202106L // C++23
|
2019-01-16 01:37:43 +00:00
|
|
|
__cpp_lib_parallel_algorithm 201603L <algorithm> <numeric>
|
2024-07-08 19:35:31 +02:00
|
|
|
__cpp_lib_philox_engine 202406L <random>
|
2022-01-22 15:24:53 -05:00
|
|
|
__cpp_lib_polymorphic_allocator 201902L <memory_resource>
|
2023-04-21 08:09:06 +02:00
|
|
|
__cpp_lib_print 202207L <ostream> <print>
|
2019-01-16 01:37:43 +00:00
|
|
|
__cpp_lib_quoted_string_io 201304L <iomanip>
|
2024-08-28 20:55:44 +08:00
|
|
|
__cpp_lib_ranges 202406L <algorithm> <functional> <iterator>
|
2019-01-16 01:37:43 +00:00
|
|
|
<memory> <ranges>
|
2024-08-28 20:55:44 +08:00
|
|
|
202110L // C++20
|
2023-11-16 10:17:19 +01:00
|
|
|
__cpp_lib_ranges_as_const 202207L <ranges>
|
2023-02-25 10:26:28 +01:00
|
|
|
__cpp_lib_ranges_as_rvalue 202207L <ranges>
|
2022-02-09 00:07:14 +01:00
|
|
|
__cpp_lib_ranges_chunk 202202L <ranges>
|
|
|
|
__cpp_lib_ranges_chunk_by 202202L <ranges>
|
2024-04-03 08:21:11 -04:00
|
|
|
__cpp_lib_ranges_concat 202403L <ranges>
|
2024-02-29 16:06:32 -08:00
|
|
|
__cpp_lib_ranges_contains 202207L <algorithm>
|
2024-07-19 09:42:16 -07:00
|
|
|
__cpp_lib_ranges_find_last 202207L <algorithm>
|
2022-02-09 00:07:14 +01:00
|
|
|
__cpp_lib_ranges_iota 202202L <numeric>
|
|
|
|
__cpp_lib_ranges_join_with 202202L <ranges>
|
2023-07-20 20:00:10 +08:00
|
|
|
__cpp_lib_ranges_repeat 202207L <ranges>
|
2022-02-09 00:07:14 +01:00
|
|
|
__cpp_lib_ranges_slide 202202L <ranges>
|
2021-12-30 23:28:12 -05:00
|
|
|
__cpp_lib_ranges_starts_ends_with 202106L <algorithm>
|
2024-05-04 16:23:49 +00:00
|
|
|
__cpp_lib_ranges_to_container 202202L <ranges>
|
2021-12-30 23:28:12 -05:00
|
|
|
__cpp_lib_ranges_zip 202110L <ranges> <tuple> <utility>
|
2023-06-17 12:00:23 +02:00
|
|
|
__cpp_lib_ratio 202306L <ratio>
|
2019-01-16 01:37:43 +00:00
|
|
|
__cpp_lib_raw_memory_algorithms 201606L <memory>
|
2023-06-17 12:00:23 +02:00
|
|
|
__cpp_lib_rcu 202306L <rcu>
|
2022-02-09 00:07:14 +01:00
|
|
|
__cpp_lib_reference_from_temporary 202202L <type_traits>
|
2024-04-03 08:21:11 -04:00
|
|
|
__cpp_lib_reference_wrapper 202403L <functional>
|
2021-01-07 18:21:07 -05:00
|
|
|
__cpp_lib_remove_cvref 201711L <type_traits>
|
2019-01-16 01:37:43 +00:00
|
|
|
__cpp_lib_result_of_sfinae 201210L <functional> <type_traits>
|
|
|
|
__cpp_lib_robust_nonmodifying_seq_ops 201304L <algorithm>
|
|
|
|
__cpp_lib_sample 201603L <algorithm>
|
2023-12-18 12:43:10 +01:00
|
|
|
__cpp_lib_saturation_arithmetic 202311L <numeric>
|
2019-01-16 01:37:43 +00:00
|
|
|
__cpp_lib_scoped_lock 201703L <mutex>
|
2021-01-07 18:21:07 -05:00
|
|
|
__cpp_lib_semaphore 201907L <semaphore>
|
2024-07-08 19:35:31 +02:00
|
|
|
__cpp_lib_senders 202406L <execution>
|
2019-01-16 01:37:43 +00:00
|
|
|
__cpp_lib_shared_mutex 201505L <shared_mutex>
|
2021-10-26 13:12:12 -04:00
|
|
|
__cpp_lib_shared_ptr_arrays 201707L <memory>
|
|
|
|
201611L // C++17
|
2019-01-16 01:37:43 +00:00
|
|
|
__cpp_lib_shared_ptr_weak_type 201606L <memory>
|
|
|
|
__cpp_lib_shared_timed_mutex 201402L <shared_mutex>
|
2021-01-07 18:21:07 -05:00
|
|
|
__cpp_lib_shift 201806L <algorithm>
|
|
|
|
__cpp_lib_smart_ptr_for_overwrite 202002L <memory>
|
2023-06-17 12:00:23 +02:00
|
|
|
__cpp_lib_smart_ptr_owner_equality 202306L <memory>
|
2021-01-07 18:21:07 -05:00
|
|
|
__cpp_lib_source_location 201907L <source_location>
|
2020-05-13 09:50:06 -04:00
|
|
|
__cpp_lib_span 202002L <span>
|
2024-01-05 11:41:22 +02:00
|
|
|
__cpp_lib_span_at 202311L <span>
|
2023-11-16 10:17:19 +01:00
|
|
|
__cpp_lib_span_initializer_list 202311L <span>
|
2021-12-30 23:28:12 -05:00
|
|
|
__cpp_lib_spanstream 202106L <spanstream>
|
2021-01-07 18:21:07 -05:00
|
|
|
__cpp_lib_ssize 201902L <iterator>
|
2023-06-17 12:00:23 +02:00
|
|
|
__cpp_lib_sstream_from_string_view 202306L <sstream>
|
2021-01-08 18:40:42 +01:00
|
|
|
__cpp_lib_stacktrace 202011L <stacktrace>
|
2021-01-07 18:21:07 -05:00
|
|
|
__cpp_lib_starts_ends_with 201711L <string> <string_view>
|
2021-01-08 18:40:42 +01:00
|
|
|
__cpp_lib_stdatomic_h 202011L <stdatomic.h>
|
|
|
|
__cpp_lib_string_contains 202011L <string> <string_view>
|
2022-01-06 21:43:26 +01:00
|
|
|
__cpp_lib_string_resize_and_overwrite 202110L <string>
|
2019-01-16 01:37:43 +00:00
|
|
|
__cpp_lib_string_udls 201304L <string>
|
2024-07-18 13:26:37 +03:00
|
|
|
__cpp_lib_string_view 202403L <string> <string_view>
|
|
|
|
201803L // C++20
|
2021-01-07 18:21:07 -05:00
|
|
|
201606L // C++17
|
2023-06-17 12:00:23 +02:00
|
|
|
__cpp_lib_submdspan 202306L <mdspan>
|
2021-01-07 18:21:07 -05:00
|
|
|
__cpp_lib_syncbuf 201803L <syncstream>
|
2023-06-17 12:00:23 +02:00
|
|
|
__cpp_lib_text_encoding 202306L <text_encoding>
|
2024-07-25 18:37:36 +02:00
|
|
|
__cpp_lib_three_way_comparison 201907L <compare>
|
2021-01-07 18:21:07 -05:00
|
|
|
__cpp_lib_to_address 201711L <memory>
|
2020-01-30 13:27:35 +01:00
|
|
|
__cpp_lib_to_array 201907L <array>
|
2023-06-17 13:19:58 +02:00
|
|
|
__cpp_lib_to_chars 202306L <charconv>
|
|
|
|
201611L // C++17
|
2023-06-17 12:00:23 +02:00
|
|
|
__cpp_lib_to_string 202306L <string>
|
2021-03-05 09:19:39 +01:00
|
|
|
__cpp_lib_to_underlying 202102L <utility>
|
2019-01-16 01:37:43 +00:00
|
|
|
__cpp_lib_transformation_trait_aliases 201304L <type_traits>
|
2021-01-07 18:21:07 -05:00
|
|
|
__cpp_lib_transparent_operators 201510L <functional> <memory>
|
2019-01-16 01:37:43 +00:00
|
|
|
201210L // C++14
|
|
|
|
__cpp_lib_tuple_element_t 201402L <tuple>
|
2023-11-16 10:17:19 +01:00
|
|
|
__cpp_lib_tuple_like 202311L <map> <tuple> <unordered_map>
|
|
|
|
<utility>
|
|
|
|
202207L // C++23
|
2021-01-07 18:04:41 -05:00
|
|
|
__cpp_lib_tuples_by_type 201304L <tuple> <utility>
|
2021-12-30 23:28:12 -05:00
|
|
|
__cpp_lib_type_identity 201806L <type_traits>
|
2019-01-16 01:37:43 +00:00
|
|
|
__cpp_lib_type_trait_variable_templates 201510L <type_traits>
|
|
|
|
__cpp_lib_uncaught_exceptions 201411L <exception>
|
|
|
|
__cpp_lib_unordered_map_try_emplace 201411L <unordered_map>
|
2022-02-09 00:07:14 +01:00
|
|
|
__cpp_lib_unreachable 202202L <utility>
|
2021-01-07 18:21:07 -05:00
|
|
|
__cpp_lib_unwrap_ref 201811L <functional>
|
2024-10-26 07:38:52 +08:00
|
|
|
__cpp_lib_variant 202306L <variant>
|
|
|
|
202106L // C++20
|
|
|
|
202102L // C++17
|
2019-01-16 01:37:43 +00:00
|
|
|
__cpp_lib_void_t 201411L <type_traits>
|
2018-09-11 20:51:54 +00:00
|
|
|
|
2018-04-03 15:48:24 +00:00
|
|
|
*/
|
|
|
|
|
2024-12-21 13:01:48 +01:00
|
|
|
#if __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
|
|
|
|
# include <__cxx03/version>
|
|
|
|
#else
|
|
|
|
# include <__config>
|
2018-04-03 15:48:24 +00:00
|
|
|
|
2024-12-21 13:01:48 +01:00
|
|
|
# if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
|
|
|
# pragma GCC system_header
|
|
|
|
# endif
|
2018-04-03 15:48:24 +00:00
|
|
|
|
2021-02-19 14:10:12 +01:00
|
|
|
// clang-format off
|
|
|
|
|
2023-02-14 00:56:09 +01:00
|
|
|
#if _LIBCPP_STD_VER >= 14
|
2019-01-16 01:37:43 +00:00
|
|
|
# define __cpp_lib_chrono_udls 201304L
|
|
|
|
# define __cpp_lib_complex_udls 201309L
|
|
|
|
# define __cpp_lib_exchange_function 201304L
|
|
|
|
# define __cpp_lib_generic_associative_lookup 201304L
|
|
|
|
# define __cpp_lib_integer_sequence 201304L
|
|
|
|
# define __cpp_lib_integral_constant_callable 201304L
|
|
|
|
# define __cpp_lib_is_final 201402L
|
|
|
|
# define __cpp_lib_is_null_pointer 201309L
|
|
|
|
# define __cpp_lib_make_reverse_iterator 201402L
|
|
|
|
# define __cpp_lib_make_unique 201304L
|
|
|
|
# define __cpp_lib_null_iterators 201304L
|
2024-11-06 10:39:19 +01:00
|
|
|
# if _LIBCPP_HAS_LOCALIZATION
|
2024-02-05 11:05:46 -05:00
|
|
|
# define __cpp_lib_quoted_string_io 201304L
|
|
|
|
# endif
|
2019-01-16 01:37:43 +00:00
|
|
|
# define __cpp_lib_result_of_sfinae 201210L
|
|
|
|
# define __cpp_lib_robust_nonmodifying_seq_ops 201304L
|
2024-11-06 10:39:19 +01:00
|
|
|
# if _LIBCPP_HAS_THREADS
|
2019-01-16 02:10:28 +00:00
|
|
|
# define __cpp_lib_shared_timed_mutex 201402L
|
|
|
|
# endif
|
2019-01-16 01:37:43 +00:00
|
|
|
# define __cpp_lib_string_udls 201304L
|
|
|
|
# define __cpp_lib_transformation_trait_aliases 201304L
|
|
|
|
# define __cpp_lib_transparent_operators 201210L
|
|
|
|
# define __cpp_lib_tuple_element_t 201402L
|
|
|
|
# define __cpp_lib_tuples_by_type 201304L
|
2018-09-12 19:41:40 +00:00
|
|
|
#endif
|
|
|
|
|
2023-02-14 00:56:09 +01:00
|
|
|
#if _LIBCPP_STD_VER >= 17
|
2021-08-11 10:34:51 -04:00
|
|
|
# define __cpp_lib_addressof_constexpr 201603L
|
2019-01-16 01:37:43 +00:00
|
|
|
# define __cpp_lib_allocator_traits_is_always_equal 201411L
|
|
|
|
# define __cpp_lib_any 201606L
|
|
|
|
# define __cpp_lib_apply 201603L
|
|
|
|
# define __cpp_lib_array_constexpr 201603L
|
|
|
|
# define __cpp_lib_as_const 201510L
|
2021-11-17 10:59:31 -05:00
|
|
|
# define __cpp_lib_atomic_is_always_lock_free 201603L
|
2019-01-16 01:37:43 +00:00
|
|
|
# define __cpp_lib_bool_constant 201505L
|
2022-06-17 16:02:53 +02:00
|
|
|
# define __cpp_lib_boyer_moore_searcher 201603L
|
2019-01-16 01:37:43 +00:00
|
|
|
# define __cpp_lib_byte 201603L
|
|
|
|
# define __cpp_lib_chrono 201611L
|
|
|
|
# define __cpp_lib_clamp 201603L
|
|
|
|
# define __cpp_lib_enable_shared_from_this 201603L
|
|
|
|
// # define __cpp_lib_execution 201603L
|
2024-11-06 10:39:19 +01:00
|
|
|
# if _LIBCPP_HAS_FILESYSTEM && _LIBCPP_AVAILABILITY_HAS_FILESYSTEM_LIBRARY
|
2021-01-19 13:04:01 -05:00
|
|
|
# define __cpp_lib_filesystem 201703L
|
|
|
|
# endif
|
2019-01-16 01:37:43 +00:00
|
|
|
# define __cpp_lib_gcd_lcm 201606L
|
2022-06-22 21:10:57 +02:00
|
|
|
# if defined(__GCC_DESTRUCTIVE_SIZE) && defined(__GCC_CONSTRUCTIVE_SIZE)
|
|
|
|
# define __cpp_lib_hardware_interference_size 201703L
|
|
|
|
# endif
|
2021-08-10 11:35:27 -04:00
|
|
|
# define __cpp_lib_has_unique_object_representations 201606L
|
2019-01-16 01:37:43 +00:00
|
|
|
# define __cpp_lib_hypot 201603L
|
|
|
|
# define __cpp_lib_incomplete_container_elements 201505L
|
2018-09-12 19:41:40 +00:00
|
|
|
# define __cpp_lib_invoke 201411L
|
2021-08-10 12:44:20 -04:00
|
|
|
# define __cpp_lib_is_aggregate 201703L
|
2019-01-16 01:37:43 +00:00
|
|
|
# define __cpp_lib_is_invocable 201703L
|
|
|
|
# define __cpp_lib_is_swappable 201603L
|
|
|
|
# define __cpp_lib_launder 201606L
|
|
|
|
# define __cpp_lib_logical_traits 201510L
|
|
|
|
# define __cpp_lib_make_from_tuple 201606L
|
|
|
|
# define __cpp_lib_map_try_emplace 201411L
|
|
|
|
// # define __cpp_lib_math_special_functions 201603L
|
2023-11-24 23:45:17 +01:00
|
|
|
# if _LIBCPP_AVAILABILITY_HAS_PMR
|
2023-03-29 16:48:20 -04:00
|
|
|
# define __cpp_lib_memory_resource 201603L
|
|
|
|
# endif
|
2018-10-31 17:31:35 +00:00
|
|
|
# define __cpp_lib_node_extract 201606L
|
2019-01-16 01:37:43 +00:00
|
|
|
# define __cpp_lib_nonmember_container_access 201411L
|
|
|
|
# define __cpp_lib_not_fn 201603L
|
|
|
|
# define __cpp_lib_optional 201606L
|
|
|
|
// # define __cpp_lib_parallel_algorithm 201603L
|
|
|
|
# define __cpp_lib_raw_memory_algorithms 201606L
|
|
|
|
# define __cpp_lib_sample 201603L
|
2024-11-06 10:39:19 +01:00
|
|
|
# if _LIBCPP_HAS_THREADS
|
2024-02-05 11:05:46 -05:00
|
|
|
# define __cpp_lib_scoped_lock 201703L
|
|
|
|
# endif
|
2024-11-06 10:39:19 +01:00
|
|
|
# if _LIBCPP_HAS_THREADS
|
2019-01-16 02:10:28 +00:00
|
|
|
# define __cpp_lib_shared_mutex 201505L
|
|
|
|
# endif
|
2020-12-08 15:45:57 -05:00
|
|
|
# define __cpp_lib_shared_ptr_arrays 201611L
|
2019-01-16 01:37:43 +00:00
|
|
|
# define __cpp_lib_shared_ptr_weak_type 201606L
|
|
|
|
# define __cpp_lib_string_view 201606L
|
|
|
|
// # define __cpp_lib_to_chars 201611L
|
|
|
|
# undef __cpp_lib_transparent_operators
|
|
|
|
# define __cpp_lib_transparent_operators 201510L
|
|
|
|
# define __cpp_lib_type_trait_variable_templates 201510L
|
|
|
|
# define __cpp_lib_uncaught_exceptions 201411L
|
|
|
|
# define __cpp_lib_unordered_map_try_emplace 201411L
|
2021-03-25 18:09:11 +01:00
|
|
|
# define __cpp_lib_variant 202102L
|
2019-01-16 01:37:43 +00:00
|
|
|
# define __cpp_lib_void_t 201411L
|
2018-09-12 19:41:40 +00:00
|
|
|
#endif
|
|
|
|
|
2023-02-14 00:56:09 +01:00
|
|
|
#if _LIBCPP_STD_VER >= 20
|
2020-05-22 09:59:48 -04:00
|
|
|
# undef __cpp_lib_array_constexpr
|
|
|
|
# define __cpp_lib_array_constexpr 201811L
|
2022-02-03 14:45:22 -05:00
|
|
|
# define __cpp_lib_assume_aligned 201811L
|
2021-11-17 10:59:31 -05:00
|
|
|
# define __cpp_lib_atomic_flag_test 201907L
|
2025-02-19 09:06:51 +08:00
|
|
|
# define __cpp_lib_atomic_float 201711L
|
2021-11-17 10:59:31 -05:00
|
|
|
# define __cpp_lib_atomic_lock_free_type_aliases 201907L
|
2024-07-09 10:08:29 -05:00
|
|
|
# define __cpp_lib_atomic_ref 201806L
|
2021-11-17 10:59:31 -05:00
|
|
|
// # define __cpp_lib_atomic_shared_ptr 201711L
|
|
|
|
# define __cpp_lib_atomic_value_initialization 201911L
|
2023-11-24 23:45:17 +01:00
|
|
|
# if _LIBCPP_AVAILABILITY_HAS_SYNC
|
2020-09-09 10:00:09 -07:00
|
|
|
# define __cpp_lib_atomic_wait 201907L
|
|
|
|
# endif
|
2024-11-06 10:39:19 +01:00
|
|
|
# if _LIBCPP_HAS_THREADS && _LIBCPP_AVAILABILITY_HAS_SYNC
|
2021-01-07 18:21:07 -05:00
|
|
|
# define __cpp_lib_barrier 201907L
|
|
|
|
# endif
|
2021-03-02 16:17:22 -08:00
|
|
|
# define __cpp_lib_bind_front 201907L
|
2020-05-28 14:28:38 -04:00
|
|
|
# define __cpp_lib_bit_cast 201806L
|
2023-06-18 12:35:44 +02:00
|
|
|
# define __cpp_lib_bitops 201907L
|
2021-01-07 18:21:07 -05:00
|
|
|
# define __cpp_lib_bounded_array_traits 201902L
|
2024-10-12 09:49:52 +02:00
|
|
|
# if _LIBCPP_HAS_CHAR8_T
|
2022-07-19 02:03:10 +02:00
|
|
|
# define __cpp_lib_char8_t 201907L
|
2019-01-16 01:37:43 +00:00
|
|
|
# endif
|
2021-04-02 18:07:31 +00:00
|
|
|
# define __cpp_lib_concepts 202002L
|
2020-12-20 15:21:42 -05:00
|
|
|
# define __cpp_lib_constexpr_algorithms 201806L
|
[libc++] [C++20] [P0415] Constexpr for std::complex.
This patch adds constexpr to <complex> header: operators, member operators, and member functions (real, imag, norm, conj).
https://eel.is/c++draft/complex.numbers
https://wg21.link/p0415
Reviewed By: ldionne, #libc
Spies: philnik, danilaml, Quuxplusone, wmaxey, arichardson, libcxx-commits
Differential Revision: https://reviews.llvm.org/D79555
2022-12-15 02:19:59 +01:00
|
|
|
# define __cpp_lib_constexpr_complex 201711L
|
2020-09-17 12:06:13 -04:00
|
|
|
# define __cpp_lib_constexpr_dynamic_alloc 201907L
|
2021-01-08 17:28:19 -05:00
|
|
|
# define __cpp_lib_constexpr_functional 201907L
|
2021-02-09 19:12:16 -05:00
|
|
|
# define __cpp_lib_constexpr_iterator 201811L
|
2021-02-15 15:26:29 -05:00
|
|
|
# define __cpp_lib_constexpr_memory 201811L
|
2020-11-28 14:50:53 +01:00
|
|
|
# define __cpp_lib_constexpr_numeric 201911L
|
[libc++] Implement P0980R1 (constexpr std::string)
Reviewed By: #libc, ldionne
Spies: daltenty, sdasgup3, ldionne, arichardson, MTC, ChuanqiXu, mehdi_amini, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, stephenneuendorffer, Joonsoo, grosul1, Kayjukh, jurahul, msifontes, tatianashp, rdzhabarov, teijeong, cota, dcaballe, Chia-hungDuan, wrengr, wenzhicui, arphaman, Mordante, miscco, Quuxplusone, smeenai, libcxx-commits
Differential Revision: https://reviews.llvm.org/D110598
2022-04-27 10:11:44 +02:00
|
|
|
# define __cpp_lib_constexpr_string 201907L
|
2021-02-09 19:12:16 -05:00
|
|
|
# define __cpp_lib_constexpr_string_view 201811L
|
|
|
|
# define __cpp_lib_constexpr_tuple 201811L
|
2020-09-02 21:20:33 +02:00
|
|
|
# define __cpp_lib_constexpr_utility 201811L
|
2022-11-09 21:01:42 +01:00
|
|
|
# define __cpp_lib_constexpr_vector 201907L
|
2021-11-16 14:05:34 +08:00
|
|
|
# define __cpp_lib_coroutine 201902L
|
2023-02-14 00:56:09 +01:00
|
|
|
# if _LIBCPP_STD_VER >= 20 && defined(__cpp_impl_destroying_delete) && __cpp_impl_destroying_delete >= 201806L
|
P0722R3: Implement library support for destroying delete
Summary:
This provides the `std::destroying_delete_t` declaration in C++2a and after. (Even when the compiler doesn't support the language feature).
However, the feature test macro `__cpp_lib_destroying_delete` is only defined when we have both language support and C++2a.
Reviewers: ldionne, ckennelly, serge-sans-paille, EricWF
Reviewed By: EricWF
Subscribers: dexonsmith, riccibruno, christof, jwakely, jdoerfert, mclow.lists, ldionne, libcxx-commits
Differential Revision: https://reviews.llvm.org/D55840
llvm-svn: 361572
2019-05-23 23:46:44 +00:00
|
|
|
# define __cpp_lib_destroying_delete 201806L
|
|
|
|
# endif
|
2019-11-14 08:54:23 -05:00
|
|
|
# define __cpp_lib_endian 201907L
|
2020-05-02 13:58:03 +02:00
|
|
|
# define __cpp_lib_erase_if 202002L
|
2021-01-07 18:21:07 -05:00
|
|
|
# undef __cpp_lib_execution
|
|
|
|
// # define __cpp_lib_execution 201902L
|
2025-02-14 18:27:54 +01:00
|
|
|
# if _LIBCPP_AVAILABILITY_HAS_TO_CHARS_FLOATING_POINT
|
|
|
|
# define __cpp_lib_format 202110L
|
|
|
|
# endif
|
2023-11-29 17:55:09 +01:00
|
|
|
# define __cpp_lib_format_uchar 202311L
|
2020-11-10 07:49:55 -05:00
|
|
|
# define __cpp_lib_generic_unordered_lookup 201811L
|
2020-11-24 14:50:49 +01:00
|
|
|
# define __cpp_lib_int_pow2 202002L
|
2022-03-12 10:46:57 -05:00
|
|
|
# define __cpp_lib_integer_comparison_functions 202002L
|
2019-04-25 12:11:43 +00:00
|
|
|
# define __cpp_lib_interpolate 201902L
|
2021-08-01 20:01:51 +02:00
|
|
|
# define __cpp_lib_is_constant_evaluated 201811L
|
2021-01-07 18:21:07 -05:00
|
|
|
// # define __cpp_lib_is_layout_compatible 201907L
|
|
|
|
# define __cpp_lib_is_nothrow_convertible 201806L
|
|
|
|
// # define __cpp_lib_is_pointer_interconvertible 201907L
|
2024-11-06 10:39:19 +01:00
|
|
|
# if _LIBCPP_HAS_THREADS && _LIBCPP_AVAILABILITY_HAS_SYNC
|
2023-06-21 17:40:07 +01:00
|
|
|
# define __cpp_lib_jthread 201911L
|
2021-01-07 18:21:07 -05:00
|
|
|
# endif
|
2024-11-06 10:39:19 +01:00
|
|
|
# if _LIBCPP_HAS_THREADS && _LIBCPP_AVAILABILITY_HAS_SYNC
|
2021-01-07 18:21:07 -05:00
|
|
|
# define __cpp_lib_latch 201907L
|
|
|
|
# endif
|
2019-11-14 23:20:24 +01:00
|
|
|
# define __cpp_lib_list_remove_return_type 201806L
|
2022-03-12 10:46:57 -05:00
|
|
|
# define __cpp_lib_math_constants 201907L
|
2023-03-01 23:41:36 +05:30
|
|
|
# define __cpp_lib_move_iterator_concept 202207L
|
2024-10-26 07:38:52 +08:00
|
|
|
# undef __cpp_lib_optional
|
|
|
|
# define __cpp_lib_optional 202106L
|
2023-11-24 23:45:17 +01:00
|
|
|
# if _LIBCPP_AVAILABILITY_HAS_PMR
|
2023-03-29 16:48:20 -04:00
|
|
|
# define __cpp_lib_polymorphic_allocator 201902L
|
|
|
|
# endif
|
2024-08-28 20:55:44 +08:00
|
|
|
# define __cpp_lib_ranges 202110L
|
2021-01-07 18:21:07 -05:00
|
|
|
# define __cpp_lib_remove_cvref 201711L
|
2024-11-06 10:39:19 +01:00
|
|
|
# if _LIBCPP_HAS_THREADS && _LIBCPP_AVAILABILITY_HAS_SYNC
|
2021-01-07 18:21:07 -05:00
|
|
|
# define __cpp_lib_semaphore 201907L
|
|
|
|
# endif
|
2021-10-26 13:12:12 -04:00
|
|
|
# undef __cpp_lib_shared_ptr_arrays
|
|
|
|
# define __cpp_lib_shared_ptr_arrays 201707L
|
2020-12-26 01:39:03 -05:00
|
|
|
# define __cpp_lib_shift 201806L
|
2024-11-05 13:27:40 +08:00
|
|
|
# define __cpp_lib_smart_ptr_for_overwrite 202002L
|
2023-12-06 06:04:06 -08:00
|
|
|
# define __cpp_lib_source_location 201907L
|
2020-05-13 09:50:06 -04:00
|
|
|
# define __cpp_lib_span 202002L
|
2021-01-07 18:21:07 -05:00
|
|
|
# define __cpp_lib_ssize 201902L
|
|
|
|
# define __cpp_lib_starts_ends_with 201711L
|
|
|
|
# undef __cpp_lib_string_view
|
|
|
|
# define __cpp_lib_string_view 201803L
|
2025-01-24 09:34:42 +01:00
|
|
|
# if _LIBCPP_HAS_EXPERIMENTAL_SYNCSTREAM
|
2023-09-05 20:10:38 +02:00
|
|
|
# define __cpp_lib_syncbuf 201803L
|
|
|
|
# endif
|
2024-07-25 18:37:36 +02:00
|
|
|
# define __cpp_lib_three_way_comparison 201907L
|
2021-01-07 18:21:07 -05:00
|
|
|
# define __cpp_lib_to_address 201711L
|
2020-05-13 09:50:06 -04:00
|
|
|
# define __cpp_lib_to_array 201907L
|
2021-12-30 23:28:12 -05:00
|
|
|
# define __cpp_lib_type_identity 201806L
|
2021-01-07 18:21:07 -05:00
|
|
|
# define __cpp_lib_unwrap_ref 201811L
|
2024-10-26 07:38:52 +08:00
|
|
|
# undef __cpp_lib_variant
|
|
|
|
# define __cpp_lib_variant 202106L
|
2018-09-12 19:41:40 +00:00
|
|
|
#endif
|
|
|
|
|
2023-02-14 00:56:09 +01:00
|
|
|
#if _LIBCPP_STD_VER >= 23
|
2022-01-06 12:36:07 +01:00
|
|
|
# define __cpp_lib_adaptor_iterator_pair_constructor 202106L
|
2024-02-01 13:31:25 +02:00
|
|
|
# define __cpp_lib_allocate_at_least 202302L
|
2021-12-30 23:28:12 -05:00
|
|
|
// # define __cpp_lib_associative_heterogeneous_erasure 202110L
|
2024-04-09 17:10:20 +02:00
|
|
|
# define __cpp_lib_bind_back 202202L
|
2021-11-22 00:22:55 +01:00
|
|
|
# define __cpp_lib_byteswap 202110L
|
2022-08-13 13:52:35 +02:00
|
|
|
# define __cpp_lib_constexpr_bitset 202207L
|
2022-08-06 10:47:53 +02:00
|
|
|
# define __cpp_lib_constexpr_charconv 202207L
|
2022-02-09 00:07:14 +01:00
|
|
|
// # define __cpp_lib_constexpr_cmath 202202L
|
2022-09-03 18:49:50 +07:00
|
|
|
# undef __cpp_lib_constexpr_memory
|
|
|
|
# define __cpp_lib_constexpr_memory 202202L
|
2023-02-06 17:08:19 -08:00
|
|
|
# define __cpp_lib_constexpr_typeinfo 202106L
|
2024-05-04 16:23:49 +00:00
|
|
|
# define __cpp_lib_containers_ranges 202202L
|
2023-05-18 01:05:13 +08:00
|
|
|
# define __cpp_lib_expected 202211L
|
2025-01-25 18:30:00 +00:00
|
|
|
# define __cpp_lib_flat_map 202207L
|
2025-04-06 10:50:55 +01:00
|
|
|
# define __cpp_lib_flat_set 202207L
|
2023-05-17 19:17:52 +02:00
|
|
|
# define __cpp_lib_format_ranges 202207L
|
|
|
|
// # define __cpp_lib_formatters 202302L
|
2022-08-21 22:21:08 +07:00
|
|
|
# define __cpp_lib_forward_like 202207L
|
2023-02-07 09:20:35 -08:00
|
|
|
# define __cpp_lib_invoke_r 202106L
|
2023-09-18 16:32:02 -04:00
|
|
|
# define __cpp_lib_ios_noreplace 202207L
|
2024-10-09 09:19:14 +03:00
|
|
|
# if __has_builtin(__builtin_is_implicit_lifetime)
|
|
|
|
# define __cpp_lib_is_implicit_lifetime 202302L
|
|
|
|
# endif
|
2021-01-12 17:06:58 +01:00
|
|
|
# define __cpp_lib_is_scoped_enum 202011L
|
2023-10-20 08:13:52 -06:00
|
|
|
# define __cpp_lib_mdspan 202207L
|
2024-06-12 19:01:27 +02:00
|
|
|
# define __cpp_lib_modules 202207L
|
2021-12-30 23:28:12 -05:00
|
|
|
// # define __cpp_lib_move_only_function 202110L
|
2022-05-17 19:15:18 +02:00
|
|
|
# undef __cpp_lib_optional
|
|
|
|
# define __cpp_lib_optional 202110L
|
2024-07-19 06:38:02 +03:00
|
|
|
# define __cpp_lib_out_ptr 202106L
|
2025-02-14 18:27:54 +01:00
|
|
|
# if _LIBCPP_AVAILABILITY_HAS_TO_CHARS_FLOATING_POINT
|
|
|
|
# define __cpp_lib_print 202207L
|
|
|
|
# endif
|
2024-08-28 20:55:44 +08:00
|
|
|
# undef __cpp_lib_ranges
|
|
|
|
# define __cpp_lib_ranges 202406L
|
2023-11-16 10:17:19 +01:00
|
|
|
// # define __cpp_lib_ranges_as_const 202207L
|
2023-02-25 10:26:28 +01:00
|
|
|
# define __cpp_lib_ranges_as_rvalue 202207L
|
2022-02-09 00:07:14 +01:00
|
|
|
// # define __cpp_lib_ranges_chunk 202202L
|
2023-09-05 16:09:53 -07:00
|
|
|
# define __cpp_lib_ranges_chunk_by 202202L
|
2024-02-29 16:06:32 -08:00
|
|
|
# define __cpp_lib_ranges_contains 202207L
|
2024-07-19 09:42:16 -07:00
|
|
|
# define __cpp_lib_ranges_find_last 202207L
|
2025-04-05 07:46:11 -04:00
|
|
|
# define __cpp_lib_ranges_iota 202202L
|
2022-02-09 00:07:14 +01:00
|
|
|
// # define __cpp_lib_ranges_join_with 202202L
|
2023-07-20 20:00:10 +08:00
|
|
|
# define __cpp_lib_ranges_repeat 202207L
|
2022-02-09 00:07:14 +01:00
|
|
|
// # define __cpp_lib_ranges_slide 202202L
|
2024-02-29 16:06:32 -08:00
|
|
|
# define __cpp_lib_ranges_starts_ends_with 202106L
|
2023-07-14 20:54:38 -07:00
|
|
|
# define __cpp_lib_ranges_to_container 202202L
|
2021-12-30 23:28:12 -05:00
|
|
|
// # define __cpp_lib_ranges_zip 202110L
|
2022-02-09 00:07:14 +01:00
|
|
|
// # define __cpp_lib_reference_from_temporary 202202L
|
2021-12-30 23:28:12 -05:00
|
|
|
// # define __cpp_lib_spanstream 202106L
|
2021-01-08 18:40:42 +01:00
|
|
|
// # define __cpp_lib_stacktrace 202011L
|
2022-04-11 10:42:45 -04:00
|
|
|
# define __cpp_lib_stdatomic_h 202011L
|
2021-01-19 14:33:30 -05:00
|
|
|
# define __cpp_lib_string_contains 202011L
|
2022-01-06 21:43:26 +01:00
|
|
|
# define __cpp_lib_string_resize_and_overwrite 202110L
|
2021-03-05 09:19:39 +01:00
|
|
|
# define __cpp_lib_to_underlying 202102L
|
2023-11-16 10:17:19 +01:00
|
|
|
// # define __cpp_lib_tuple_like 202207L
|
2022-02-14 18:26:02 +01:00
|
|
|
# define __cpp_lib_unreachable 202202L
|
2021-01-08 18:40:42 +01:00
|
|
|
#endif
|
|
|
|
|
2023-05-20 12:38:57 +02:00
|
|
|
#if _LIBCPP_STD_VER >= 26
|
2025-04-14 17:33:57 -04:00
|
|
|
# define __cpp_lib_aligned_accessor 202411L
|
2023-06-17 12:00:23 +02:00
|
|
|
// # define __cpp_lib_associative_heterogeneous_insertion 202306L
|
2024-04-03 08:21:11 -04:00
|
|
|
// # define __cpp_lib_atomic_min_max 202403L
|
2023-06-17 12:00:23 +02:00
|
|
|
# undef __cpp_lib_bind_front
|
|
|
|
# define __cpp_lib_bind_front 202306L
|
2023-06-17 18:06:55 +02:00
|
|
|
# define __cpp_lib_bitset 202306L
|
2025-03-21 07:33:52 +08:00
|
|
|
# undef __cpp_lib_constexpr_algorithms
|
|
|
|
# define __cpp_lib_constexpr_algorithms 202306L
|
2024-08-28 21:35:57 +08:00
|
|
|
# if !defined(_LIBCPP_ABI_VCRUNTIME)
|
|
|
|
# define __cpp_lib_constexpr_new 202406L
|
|
|
|
# endif
|
2024-04-03 08:21:11 -04:00
|
|
|
// # define __cpp_lib_constrained_equality 202403L
|
2023-06-17 12:00:23 +02:00
|
|
|
// # define __cpp_lib_copyable_function 202306L
|
2023-11-16 10:17:19 +01:00
|
|
|
// # define __cpp_lib_debugging 202311L
|
2024-04-03 08:21:11 -04:00
|
|
|
// # define __cpp_lib_default_template_type_for_algorithm_values 202403L
|
2024-05-28 12:15:50 -07:00
|
|
|
// # define __cpp_lib_format_path 202403L
|
2023-11-16 10:17:19 +01:00
|
|
|
// # define __cpp_lib_freestanding_algorithm 202311L
|
|
|
|
// # define __cpp_lib_freestanding_array 202311L
|
|
|
|
// # define __cpp_lib_freestanding_cstring 202306L
|
|
|
|
// # define __cpp_lib_freestanding_expected 202311L
|
|
|
|
// # define __cpp_lib_freestanding_mdspan 202311L
|
|
|
|
// # define __cpp_lib_freestanding_optional 202311L
|
|
|
|
// # define __cpp_lib_freestanding_string_view 202311L
|
|
|
|
// # define __cpp_lib_freestanding_variant 202311L
|
2024-11-06 10:39:19 +01:00
|
|
|
# if _LIBCPP_HAS_FILESYSTEM && _LIBCPP_HAS_LOCALIZATION
|
2024-02-05 11:05:46 -05:00
|
|
|
# define __cpp_lib_fstream_native_handle 202306L
|
|
|
|
# endif
|
2023-06-17 12:00:23 +02:00
|
|
|
// # define __cpp_lib_function_ref 202306L
|
2024-04-03 08:21:11 -04:00
|
|
|
// # define __cpp_lib_generate_random 202403L
|
2023-06-17 12:00:23 +02:00
|
|
|
// # define __cpp_lib_hazard_pointer 202306L
|
2024-07-08 19:35:31 +02:00
|
|
|
// # define __cpp_lib_inplace_vector 202406L
|
2025-04-14 17:33:57 -04:00
|
|
|
# define __cpp_lib_is_sufficiently_aligned 202411L
|
2024-08-26 09:58:19 -04:00
|
|
|
# if __has_builtin(__builtin_is_virtual_base_of)
|
|
|
|
# define __cpp_lib_is_virtual_base_of 202406L
|
|
|
|
# endif
|
2024-05-16 08:45:45 +01:00
|
|
|
// # define __cpp_lib_is_within_lifetime 202306L
|
2023-11-16 10:17:19 +01:00
|
|
|
// # define __cpp_lib_linalg 202311L
|
2024-07-15 23:23:34 +08:00
|
|
|
# undef __cpp_lib_mdspan
|
|
|
|
# define __cpp_lib_mdspan 202406L
|
2025-01-10 20:14:14 +01:00
|
|
|
# undef __cpp_lib_not_fn
|
|
|
|
# define __cpp_lib_not_fn 202306L
|
2024-07-08 19:35:31 +02:00
|
|
|
// # define __cpp_lib_optional_range_support 202406L
|
2023-11-16 10:17:19 +01:00
|
|
|
# undef __cpp_lib_out_ptr
|
2024-07-19 06:38:02 +03:00
|
|
|
# define __cpp_lib_out_ptr 202311L
|
2024-07-08 19:35:31 +02:00
|
|
|
// # define __cpp_lib_philox_engine 202406L
|
2024-04-03 08:21:11 -04:00
|
|
|
// # define __cpp_lib_ranges_concat 202403L
|
2023-06-17 15:50:50 +02:00
|
|
|
# define __cpp_lib_ratio 202306L
|
2023-06-17 12:00:23 +02:00
|
|
|
// # define __cpp_lib_rcu 202306L
|
2024-05-09 12:48:37 +03:00
|
|
|
# define __cpp_lib_reference_wrapper 202403L
|
2024-01-22 06:57:45 +02:00
|
|
|
# define __cpp_lib_saturation_arithmetic 202311L
|
2024-07-08 19:35:31 +02:00
|
|
|
// # define __cpp_lib_senders 202406L
|
2023-06-17 12:00:23 +02:00
|
|
|
// # define __cpp_lib_smart_ptr_owner_equality 202306L
|
2024-01-05 11:41:22 +02:00
|
|
|
# define __cpp_lib_span_at 202311L
|
2024-01-20 06:09:46 +02:00
|
|
|
# define __cpp_lib_span_initializer_list 202311L
|
2024-03-05 08:49:49 +02:00
|
|
|
# define __cpp_lib_sstream_from_string_view 202306L
|
2024-07-18 13:26:37 +03:00
|
|
|
# undef __cpp_lib_string_view
|
|
|
|
# define __cpp_lib_string_view 202403L
|
2023-06-17 12:00:23 +02:00
|
|
|
// # define __cpp_lib_submdspan 202306L
|
|
|
|
// # define __cpp_lib_text_encoding 202306L
|
2023-06-17 13:19:58 +02:00
|
|
|
# undef __cpp_lib_to_chars
|
|
|
|
// # define __cpp_lib_to_chars 202306L
|
2024-05-28 12:15:50 -07:00
|
|
|
// # define __cpp_lib_to_string 202306L
|
2023-11-16 10:17:19 +01:00
|
|
|
# undef __cpp_lib_tuple_like
|
|
|
|
// # define __cpp_lib_tuple_like 202311L
|
2024-10-26 07:38:52 +08:00
|
|
|
# undef __cpp_lib_variant
|
|
|
|
# define __cpp_lib_variant 202306L
|
2023-05-20 12:38:57 +02:00
|
|
|
#endif
|
|
|
|
|
2024-12-21 13:01:48 +01:00
|
|
|
#endif // __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
|
|
|
|
|
2021-02-19 14:10:12 +01:00
|
|
|
// clang-format on
|
|
|
|
|
2019-01-16 01:37:43 +00:00
|
|
|
#endif // _LIBCPP_VERSIONH
|