// -*- C++ -*-
//===----------------------------------------------------------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//

#ifndef _LIBCPP_TYPE_TRAITS
#define _LIBCPP_TYPE_TRAITS

/*
    type_traits synopsis

namespace std
{

    // helper class:
    template <class T, T v> struct integral_constant;
    typedef integral_constant<bool, true>  true_type;           // since C++11
    typedef integral_constant<bool, false> false_type;          // since C++11

    template <bool B>
    using bool_constant = integral_constant<bool, B>;           // since C++17

    // helper traits
    template <bool, class T = void> struct enable_if;
    template <bool, class T, class F> struct conditional;

    // Primary classification traits:
    template <class T> struct is_void;
    template <class T> struct is_null_pointer;                  // since C++14
    template <class T> struct is_integral;
    template <class T> struct is_floating_point;
    template <class T> struct is_array;
    template <class T> struct is_pointer;
    template <class T> struct is_lvalue_reference;
    template <class T> struct is_rvalue_reference;
    template <class T> struct is_member_object_pointer;
    template <class T> struct is_member_function_pointer;
    template <class T> struct is_enum;
    template <class T> struct is_union;
    template <class T> struct is_class;
    template <class T> struct is_function;

    // Secondary classification traits:
    template <class T> struct is_reference;
    template <class T> struct is_arithmetic;
    template <class T> struct is_fundamental;
    template <class T> struct is_member_pointer;
    template <class T> struct is_scoped_enum;                   // since C++23
    template <class T> struct is_scalar;
    template <class T> struct is_object;
    template <class T> struct is_compound;

    // Const-volatile properties and transformations:
    template <class T> struct is_const;
    template <class T> struct is_volatile;
    template <class T> struct remove_const;
    template <class T> struct remove_volatile;
    template <class T> struct remove_cv;
    template <class T> struct add_const;
    template <class T> struct add_volatile;
    template <class T> struct add_cv;

    // Reference transformations:
    template <class T> struct remove_reference;
    template <class T> struct add_lvalue_reference;
    template <class T> struct add_rvalue_reference;

    // Pointer transformations:
    template <class T> struct remove_pointer;
    template <class T> struct add_pointer;

    template<class T> struct type_identity;                     // since C++20
    template<class T>
      using type_identity_t = typename type_identity<T>::type;  // since C++20

    // Integral properties:
    template <class T> struct is_signed;
    template <class T> struct is_unsigned;
    template <class T> struct make_signed;
    template <class T> struct make_unsigned;

    // Array properties and transformations:
    template <class T> struct rank;
    template <class T, unsigned I = 0> struct extent;
    template <class T> struct remove_extent;
    template <class T> struct remove_all_extents;

    template <class T> struct is_bounded_array;                 // since C++20
    template <class T> struct is_unbounded_array;               // since C++20

    // Member introspection:
    template <class T> struct is_trivial;                       // deprecated in C++26
    template <class T> struct is_pod;                           // deprecated in C++20
    template <class T> struct is_trivially_copyable;
    template <class T> struct is_standard_layout;
    template <class T> struct is_literal_type;                  // deprecated in C++17; removed in C++20
    template <class T> struct is_empty;
    template <class T> struct is_polymorphic;
    template <class T> struct is_abstract;
    template <class T> struct is_final;                         // since C++14
    template <class T> struct is_aggregate;                     // since C++17

    template <class T, class... Args> struct is_constructible;
    template <class T>                struct is_default_constructible;
    template <class T>                struct is_copy_constructible;
    template <class T>                struct is_move_constructible;
    template <class T, class U>       struct is_assignable;
    template <class T>                struct is_copy_assignable;
    template <class T>                struct is_move_assignable;
    template <class T, class U>       struct is_swappable_with; // since C++17
    template <class T>                struct is_swappable;      // since C++17
    template <class T>                struct is_destructible;

    template <class T, class... Args> struct is_trivially_constructible;
    template <class T>                struct is_trivially_default_constructible;
    template <class T>                struct is_trivially_copy_constructible;
    template <class T>                struct is_trivially_move_constructible;
    template <class T, class U>       struct is_trivially_assignable;
    template <class T>                struct is_trivially_copy_assignable;
    template <class T>                struct is_trivially_move_assignable;
    template <class T>                struct is_trivially_destructible;

    template <class T, class... Args> struct is_nothrow_constructible;
    template <class T>                struct is_nothrow_default_constructible;
    template <class T>                struct is_nothrow_copy_constructible;
    template <class T>                struct is_nothrow_move_constructible;
    template <class T, class U>       struct is_nothrow_assignable;
    template <class T>                struct is_nothrow_copy_assignable;
    template <class T>                struct is_nothrow_move_assignable;
    template <class T, class U>
      struct is_nothrow_swappable_with;                         // since C++17
    template <class T>
      struct is_nothrow_swappable;                              // since C++17
    template <class T>                struct is_nothrow_destructible;

    template <class T> struct is_implicit_lifetime;             // since C++23

    template <class T> struct has_virtual_destructor;

    template <class T>
      struct has_unique_object_representations;                 // since C++17

    template<class T, class U>
      struct reference_constructs_from_temporary;               // since C++23
    template<class T, class U>
      struct reference_converts_from_temporary;                 // since C++23

    // Relationships between types:
    template <class T, class U> struct is_same;
    template <class Base, class Derived> struct is_base_of;
    template <class Base, class Derived>
      struct is_virtual_base_of;                                // since C++26

    template <class From, class To> struct is_convertible;
    template <class From, class To>
      struct is_nothrow_convertible;                            // since C++20

    template <class Fn, class... ArgTypes> struct is_invocable; // since C++17
    template <class R, class Fn, class... ArgTypes>
      struct is_invocable_r;                                    // since C++17

    template <class Fn, class... ArgTypes>
      struct is_nothrow_invocable;                              // since C++17
    template <class R, class Fn, class... ArgTypes>
      struct is_nothrow_invocable_r;                            // since C++17

    // Alignment properties and transformations:
    template <class T> struct alignment_of;
    template <size_t Len, size_t Align = most_stringent_alignment_requirement>
      struct aligned_storage;                                   // deprecated in C++23
    template <size_t Len, class... Types> struct aligned_union; // deprecated in C++23
    template <class T> struct remove_cvref;                     // since C++20

    template <class T> struct decay;
    template <class... T> struct common_type;
    template <class T> struct underlying_type;
    template <class> struct result_of;                          // undefined; deprecated in C++17; removed in C++20
    template <class Fn, class... ArgTypes>
      struct result_of<Fn(ArgTypes...)>;                        // deprecated in C++17; removed in C++20
    template <class Fn, class... ArgTypes>
      struct invoke_result;                                     // since C++17

    // const-volatile modifications:
    template <class T>
      using remove_const_t = typename remove_const<T>::type;    // since C++14
    template <class T>
      using remove_volatile_t
        = typename remove_volatile<T>::type;                    // since C++14
    template <class T>
      using remove_cv_t    = typename remove_cv<T>::type;       // since C++14
    template <class T>
      using add_const_t    = typename add_const<T>::type;       // since C++14
    template <class T>
      using add_volatile_t = typename add_volatile<T>::type;    // since C++14
    template <class T>
      using add_cv_t       = typename add_cv<T>::type;          // since C++14

    // reference modifications:
    template <class T>
      using remove_reference_t
        = typename remove_reference<T>::type;                   // since C++14
    template <class T>
      using add_lvalue_reference_t
        = typename add_lvalue_reference<T>::type;               // since C++14
    template <class T>
      using add_rvalue_reference_t
        = typename add_rvalue_reference<T>::type;               // since C++14

    // sign modifications:
    template <class T>
      using make_signed_t   = typename make_signed<T>::type;    // since C++14
    template <class T>
      using make_unsigned_t = typename make_unsigned<T>::type;  // since C++14

    // array modifications:
    template <class T>
      using remove_extent_t
        = typename remove_extent<T>::type;                      // since C++14
    template <class T>
      using remove_all_extents_t
        = typename remove_all_extents<T>::type;                 // since C++14

    template <class T>
      inline constexpr bool is_bounded_array_v
        = is_bounded_array<T>::value;                           // since C++20
      inline constexpr bool is_unbounded_array_v
        = is_unbounded_array<T>::value;                         // since C++20

    // pointer modifications:
    template <class T>
      using remove_pointer_t
        = typename remove_pointer<T>::type;                     // since C++14
    template <class T>
      using add_pointer_t = typename add_pointer<T>::type;      // since C++14

    // other transformations:
    template <size_t Len, size_t Align=default-alignment>
      using aligned_storage_t
        = typename aligned_storage<Len,Align>::type;            // since C++14
    template <size_t Len, class... Types>
      using aligned_union_t
        = typename aligned_union<Len,Types...>::type;           // since C++14
    template <class T>
      using remove_cvref_t
        = typename remove_cvref<T>::type;                       // since C++20
    template <class T>
      using decay_t     = typename decay<T>::type;              // since C++14
    template <bool b, class T=void>
      using enable_if_t = typename enable_if<b,T>::type;        // since C++14
    template <bool b, class T, class F>
      using conditional_t
        = typename conditional<b,T,F>::type;                    // since C++14
    template <class... T>
      using common_type_t
        = typename common_type<T...>::type;                     // since C++14
    template <class T>
      using underlying_type_t
        = typename underlying_type<T>::type;                    // since C++14
    template <class T>
      using result_of_t = typename result_of<T>::type;          // since C++14; deprecated in C++17; removed in C++20
    template <class Fn, class... ArgTypes>
      using invoke_result_t
       = typename invoke_result<Fn, ArgTypes...>::type;         // since C++17

    template <class...>
      using void_t = void;                                      // since C++17

      // See C++14 20.10.4.1, primary type categories
      template <class T> inline constexpr bool is_void_v
        = is_void<T>::value;                                    // since C++17
      template <class T> inline constexpr bool is_null_pointer_v
        = is_null_pointer<T>::value;                            // since C++17
      template <class T> inline constexpr bool is_integral_v
        = is_integral<T>::value;                                // since C++17
      template <class T> inline constexpr bool is_floating_point_v
        = is_floating_point<T>::value;                          // since C++17
      template <class T> inline constexpr bool is_array_v
        = is_array<T>::value;                                   // since C++17
      template <class T> inline constexpr bool is_pointer_v
        = is_pointer<T>::value;                                 // since C++17
      template <class T> inline constexpr bool is_lvalue_reference_v
        = is_lvalue_reference<T>::value;                        // since C++17
      template <class T> inline constexpr bool is_rvalue_reference_v
        = is_rvalue_reference<T>::value;                        // since C++17
      template <class T> inline constexpr bool is_member_object_pointer_v
        = is_member_object_pointer<T>::value;                   // since C++17
      template <class T> inline constexpr bool is_member_function_pointer_v
        = is_member_function_pointer<T>::value;                 // since C++17
      template <class T> inline constexpr bool is_enum_v
        = is_enum<T>::value;                                    // since C++17
      template <class T> inline constexpr bool is_union_v
        = is_union<T>::value;                                   // since C++17
      template <class T> inline constexpr bool is_class_v
        = is_class<T>::value;                                   // since C++17
      template <class T> inline constexpr bool is_function_v
        = is_function<T>::value;                                // since C++17

      // See C++14 20.10.4.2, composite type categories
      template <class T> inline constexpr bool is_reference_v
        = is_reference<T>::value;                               // since C++17
      template <class T> inline constexpr bool is_arithmetic_v
        = is_arithmetic<T>::value;                              // since C++17
      template <class T> inline constexpr bool is_fundamental_v
        = is_fundamental<T>::value;                             // since C++17
      template <class T> inline constexpr bool is_object_v
        = is_object<T>::value;                                  // since C++17
      template <class T> inline constexpr bool is_scalar_v
        = is_scalar<T>::value;                                  // since C++17
      template <class T> inline constexpr bool is_compound_v
        = is_compound<T>::value;                                // since C++17
      template <class T> inline constexpr bool is_member_pointer_v
        = is_member_pointer<T>::value;                          // since C++17
      template <class T> inline constexpr bool is_scoped_enum_v
        = is_scoped_enum<T>::value;                             // since C++23

      // See C++14 20.10.4.3, type properties
      template <class T> inline constexpr bool is_const_v
        = is_const<T>::value;                                   // since C++17
      template <class T> inline constexpr bool is_volatile_v
        = is_volatile<T>::value;                                // since C++17
      template <class T> inline constexpr bool is_trivial_v
        = is_trivial<T>::value;                                 // since C++17; deprecated in C++26
      template <class T> inline constexpr bool is_trivially_copyable_v
        = is_trivially_copyable<T>::value;                      // since C++17
      template <class T> inline constexpr bool is_standard_layout_v
        = is_standard_layout<T>::value;                         // since C++17
      template <class T> inline constexpr bool is_pod_v
        = is_pod<T>::value;                                     // since C++17; deprecated in C++20
      template <class T> inline constexpr bool is_literal_type_v
        = is_literal_type<T>::value;                            // since C++17; deprecated in C++17; removed in C++20
      template <class T> inline constexpr bool is_empty_v
        = is_empty<T>::value;                                   // since C++17
      template <class T> inline constexpr bool is_polymorphic_v
        = is_polymorphic<T>::value;                             // since C++17
      template <class T> inline constexpr bool is_abstract_v
        = is_abstract<T>::value;                                // since C++17
      template <class T> inline constexpr bool is_final_v
        = is_final<T>::value;                                   // since C++17
      template <class T> inline constexpr bool is_aggregate_v
        = is_aggregate<T>::value;                               // since C++17
      template <class T> inline constexpr bool is_signed_v
        = is_signed<T>::value;                                  // since C++17
      template <class T> inline constexpr bool is_unsigned_v
        = is_unsigned<T>::value;                                // since C++17
      template <class T, class... Args> inline constexpr bool is_constructible_v
        = is_constructible<T, Args...>::value;                  // since C++17
      template <class T> inline constexpr bool is_default_constructible_v
        = is_default_constructible<T>::value;                   // since C++17
      template <class T> inline constexpr bool is_copy_constructible_v
        = is_copy_constructible<T>::value;                      // since C++17
      template <class T> inline constexpr bool is_move_constructible_v
        = is_move_constructible<T>::value;                      // since C++17
      template <class T, class U> inline constexpr bool is_assignable_v
        = is_assignable<T, U>::value;                           // since C++17
      template <class T> inline constexpr bool is_copy_assignable_v
        = is_copy_assignable<T>::value;                         // since C++17
      template <class T> inline constexpr bool is_move_assignable_v
        = is_move_assignable<T>::value;                         // since C++17
      template <class T, class U> inline constexpr bool is_swappable_with_v
        = is_swappable_with<T, U>::value;                       // since C++17
      template <class T> inline constexpr bool is_swappable_v
        = is_swappable<T>::value;                               // since C++17
      template <class T> inline constexpr bool is_destructible_v
        = is_destructible<T>::value;                            // since C++17
      template <class T, class... Args> inline constexpr bool is_trivially_constructible_v
        = is_trivially_constructible<T, Args...>::value;        // since C++17
      template <class T> inline constexpr bool is_trivially_default_constructible_v
        = is_trivially_default_constructible<T>::value;         // since C++17
      template <class T> inline constexpr bool is_trivially_copy_constructible_v
        = is_trivially_copy_constructible<T>::value;            // since C++17
      template <class T> inline constexpr bool is_trivially_move_constructible_v
        = is_trivially_move_constructible<T>::value;            // since C++17
      template <class T, class U> inline constexpr bool is_trivially_assignable_v
        = is_trivially_assignable<T, U>::value;                 // since C++17
      template <class T> inline constexpr bool is_trivially_copy_assignable_v
        = is_trivially_copy_assignable<T>::value;               // since C++17
      template <class T> inline constexpr bool is_trivially_move_assignable_v
        = is_trivially_move_assignable<T>::value;               // since C++17
      template <class T> inline constexpr bool is_trivially_destructible_v
        = is_trivially_destructible<T>::value;                  // since C++17
      template <class T, class... Args> inline constexpr bool is_nothrow_constructible_v
        = is_nothrow_constructible<T, Args...>::value;          // since C++17
      template <class T> inline constexpr bool is_nothrow_default_constructible_v
        = is_nothrow_default_constructible<T>::value;           // since C++17
      template <class T> inline constexpr bool is_nothrow_copy_constructible_v
        = is_nothrow_copy_constructible<T>::value;              // since C++17
      template <class T> inline constexpr bool is_nothrow_move_constructible_v
        = is_nothrow_move_constructible<T>::value;              // since C++17
      template <class T, class U> inline constexpr bool is_nothrow_assignable_v
        = is_nothrow_assignable<T, U>::value;                   // since C++17
      template <class T> inline constexpr bool is_nothrow_copy_assignable_v
        = is_nothrow_copy_assignable<T>::value;                 // since C++17
      template <class T> inline constexpr bool is_nothrow_move_assignable_v
        = is_nothrow_move_assignable<T>::value;                 // since C++17
      template <class T, class U> inline constexpr bool is_nothrow_swappable_with_v
        = is_nothrow_swappable_with<T, U>::value;               // since C++17
      template <class T> inline constexpr bool is_nothrow_swappable_v
        = is_nothrow_swappable<T>::value;                       // since C++17
      template <class T> inline constexpr bool is_nothrow_destructible_v
        = is_nothrow_destructible<T>::value;                    // since C++17
      template <class T> inline constexpr bool is_implicit_lifetime_v
        = is_implicit_lifetime<T>::value;                       // since C++23
      template <class T> inline constexpr bool has_virtual_destructor_v
        = has_virtual_destructor<T>::value;                     // since C++17
      template<class T> inline constexpr bool has_unique_object_representations_v
        = has_unique_object_representations<T>::value;          // since C++17
      template<class T, class U>
        constexpr bool reference_constructs_from_temporary_v
          = reference_constructs_from_temporary<T, U>::value;   // since C++23
      template<class T, class U>
        constexpr bool reference_converts_from_temporary_v
          = reference_converts_from_temporary<T, U>::value;     // since C++23

      // See C++14 20.10.5, type property queries
      template <class T> inline constexpr size_t alignment_of_v
        = alignment_of<T>::value;                               // since C++17
      template <class T> inline constexpr size_t rank_v
        = rank<T>::value;                                       // since C++17
      template <class T, unsigned I = 0> inline constexpr size_t extent_v
        = extent<T, I>::value;                                  // since C++17

      // See C++14 20.10.6, type relations
      template <class T, class U> inline constexpr bool is_same_v
        = is_same<T, U>::value;                                 // since C++17
      template <class Base, class Derived> inline constexpr bool is_base_of_v
        = is_base_of<Base, Derived>::value;                     // since C++17
      template <class Base, class Derived> inline constexpr bool is_virtual_base_of_v
        = is_virtual_base_of<Base, Derived>::value;             // since C++26
      template <class From, class To> inline constexpr bool is_convertible_v
        = is_convertible<From, To>::value;                      // since C++17
      template <class From, class To> inline constexpr bool is_nothrow_convertible_v
        = is_nothrow_convertible<From, To>::value;              // since C++20
      template <class Fn, class... ArgTypes> inline constexpr bool is_invocable_v
        = is_invocable<Fn, ArgTypes...>::value;                 // since C++17
      template <class R, class Fn, class... ArgTypes> inline constexpr bool is_invocable_r_v
        = is_invocable_r<R, Fn, ArgTypes...>::value;            // since C++17
      template <class Fn, class... ArgTypes> inline constexpr bool is_nothrow_invocable_v
        = is_nothrow_invocable<Fn, ArgTypes...>::value;         // since C++17
      template <class R, class Fn, class... ArgTypes> inline constexpr bool is_nothrow_invocable_r_v
        = is_nothrow_invocable_r<R, Fn, ArgTypes...>::value;    // since C++17

      // [meta.logical], logical operator traits:
      template<class... B> struct conjunction;                  // since C++17
      template<class... B> inline constexpr bool conjunction_v
        = conjunction<B...>::value;                             // since C++17
      template<class... B> struct disjunction;                  // since C++17
      template<class... B> inline constexpr bool disjunction_v
        = disjunction<B...>::value;                             // since C++17
      template<class B> struct negation;                        // since C++17
      template<class B> inline constexpr bool negation_v
        = negation<B>::value;                                   // since C++17

      // [meta.const.eval], constant evaluation context
      constexpr bool is_constant_evaluated() noexcept;                   // C++20
      template<class T>
        consteval bool is_within_lifetime(const T*) noexcept;            // C++26
}

*/

#if __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
#  include <__cxx03/type_traits>
#else
#  include <__config>
#  include <__type_traits/add_cv_quals.h>
#  include <__type_traits/add_pointer.h>
#  include <__type_traits/add_reference.h>
#  include <__type_traits/aligned_storage.h>
#  include <__type_traits/aligned_union.h>
#  include <__type_traits/alignment_of.h>
#  include <__type_traits/common_type.h>
#  include <__type_traits/conditional.h>
#  include <__type_traits/decay.h>
#  include <__type_traits/enable_if.h>
#  include <__type_traits/extent.h>
#  include <__type_traits/has_virtual_destructor.h>
#  include <__type_traits/integral_constant.h>
#  include <__type_traits/is_abstract.h>
#  include <__type_traits/is_arithmetic.h>
#  include <__type_traits/is_array.h>
#  include <__type_traits/is_assignable.h>
#  include <__type_traits/is_base_of.h>
#  include <__type_traits/is_class.h>
#  include <__type_traits/is_compound.h>
#  include <__type_traits/is_const.h>
#  include <__type_traits/is_constructible.h>
#  include <__type_traits/is_convertible.h>
#  include <__type_traits/is_destructible.h>
#  include <__type_traits/is_empty.h>
#  include <__type_traits/is_enum.h>
#  include <__type_traits/is_floating_point.h>
#  include <__type_traits/is_function.h>
#  include <__type_traits/is_fundamental.h>
#  include <__type_traits/is_integral.h>
#  include <__type_traits/is_literal_type.h>
#  include <__type_traits/is_member_pointer.h>
#  include <__type_traits/is_nothrow_assignable.h>
#  include <__type_traits/is_nothrow_constructible.h>
#  include <__type_traits/is_nothrow_destructible.h>
#  include <__type_traits/is_object.h>
#  include <__type_traits/is_pod.h>
#  include <__type_traits/is_pointer.h>
#  include <__type_traits/is_polymorphic.h>
#  include <__type_traits/is_reference.h>
#  include <__type_traits/is_same.h>
#  include <__type_traits/is_scalar.h>
#  include <__type_traits/is_signed.h>
#  include <__type_traits/is_standard_layout.h>
#  include <__type_traits/is_trivial.h>
#  include <__type_traits/is_trivially_assignable.h>
#  include <__type_traits/is_trivially_constructible.h>
#  include <__type_traits/is_trivially_copyable.h>
#  include <__type_traits/is_trivially_destructible.h>
#  include <__type_traits/is_union.h>
#  include <__type_traits/is_unsigned.h>
#  include <__type_traits/is_void.h>
#  include <__type_traits/is_volatile.h>
#  include <__type_traits/make_signed.h>
#  include <__type_traits/make_unsigned.h>
#  include <__type_traits/rank.h>
#  include <__type_traits/remove_all_extents.h>
#  include <__type_traits/remove_const.h>
#  include <__type_traits/remove_cv.h>
#  include <__type_traits/remove_extent.h>
#  include <__type_traits/remove_pointer.h>
#  include <__type_traits/remove_reference.h>
#  include <__type_traits/remove_volatile.h>
#  include <__type_traits/result_of.h>
#  include <__type_traits/underlying_type.h>

#  if _LIBCPP_STD_VER >= 14
#    include <__type_traits/is_final.h>
#    include <__type_traits/is_null_pointer.h>
#  endif

#  if _LIBCPP_STD_VER >= 17
#    include <__type_traits/conjunction.h>
#    include <__type_traits/disjunction.h>
#    include <__type_traits/has_unique_object_representation.h>
#    include <__type_traits/invoke.h>
#    include <__type_traits/is_aggregate.h>
#    include <__type_traits/is_swappable.h>
#    include <__type_traits/negation.h>
#    include <__type_traits/void_t.h>
#  endif

#  if _LIBCPP_STD_VER >= 20
#    include <__type_traits/common_reference.h>
#    include <__type_traits/is_constant_evaluated.h>
#    include <__type_traits/type_identity.h>
#    include <__type_traits/unwrap_ref.h>
#  endif

#  if _LIBCPP_STD_VER >= 23
#    include <__type_traits/is_implicit_lifetime.h>
#    include <__type_traits/reference_constructs_from_temporary.h>
#    include <__type_traits/reference_converts_from_temporary.h>
#  endif

#  if _LIBCPP_STD_VER >= 26
#    include <__type_traits/is_within_lifetime.h>
#  endif

#  include <version>

#  if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
#    pragma GCC system_header
#  endif
#endif // __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)

#endif // _LIBCPP_TYPE_TRAITS
