Back to home page

EIC code displayed by LXR

 
 

    


Warning, /include/c++/v1/type_traits is written in an unsupported language. File is not indexed.

0001 // -*- C++ -*-
0002 //===----------------------------------------------------------------------===//
0003 //
0004 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0005 // See https://llvm.org/LICENSE.txt for license information.
0006 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0007 //
0008 //===----------------------------------------------------------------------===//
0009 
0010 #ifndef _LIBCPP_TYPE_TRAITS
0011 #define _LIBCPP_TYPE_TRAITS
0012 
0013 /*
0014     type_traits synopsis
0015 
0016 namespace std
0017 {
0018 
0019     // helper class:
0020     template <class T, T v> struct integral_constant;
0021     typedef integral_constant<bool, true>  true_type;   // C++11
0022     typedef integral_constant<bool, false> false_type;  // C++11
0023 
0024     template <bool B>                                   // C++14
0025     using bool_constant = integral_constant<bool, B>;   // C++14
0026     typedef bool_constant<true> true_type;              // C++14
0027     typedef bool_constant<false> false_type;            // C++14
0028 
0029     // helper traits
0030     template <bool, class T = void> struct enable_if;
0031     template <bool, class T, class F> struct conditional;
0032 
0033     // Primary classification traits:
0034     template <class T> struct is_void;
0035     template <class T> struct is_null_pointer;  // C++14
0036     template <class T> struct is_integral;
0037     template <class T> struct is_floating_point;
0038     template <class T> struct is_array;
0039     template <class T> struct is_pointer;
0040     template <class T> struct is_lvalue_reference;
0041     template <class T> struct is_rvalue_reference;
0042     template <class T> struct is_member_object_pointer;
0043     template <class T> struct is_member_function_pointer;
0044     template <class T> struct is_enum;
0045     template <class T> struct is_union;
0046     template <class T> struct is_class;
0047     template <class T> struct is_function;
0048 
0049     // Secondary classification traits:
0050     template <class T> struct is_reference;
0051     template <class T> struct is_arithmetic;
0052     template <class T> struct is_fundamental;
0053     template <class T> struct is_member_pointer;
0054     template <class T> struct is_scoped_enum; // C++23
0055     template <class T> struct is_scalar;
0056     template <class T> struct is_object;
0057     template <class T> struct is_compound;
0058 
0059     // Const-volatile properties and transformations:
0060     template <class T> struct is_const;
0061     template <class T> struct is_volatile;
0062     template <class T> struct remove_const;
0063     template <class T> struct remove_volatile;
0064     template <class T> struct remove_cv;
0065     template <class T> struct add_const;
0066     template <class T> struct add_volatile;
0067     template <class T> struct add_cv;
0068 
0069     // Reference transformations:
0070     template <class T> struct remove_reference;
0071     template <class T> struct add_lvalue_reference;
0072     template <class T> struct add_rvalue_reference;
0073 
0074     // Pointer transformations:
0075     template <class T> struct remove_pointer;
0076     template <class T> struct add_pointer;
0077 
0078     template<class T> struct type_identity;                     // C++20
0079     template<class T>
0080       using type_identity_t = typename type_identity<T>::type;  // C++20
0081 
0082     // Integral properties:
0083     template <class T> struct is_signed;
0084     template <class T> struct is_unsigned;
0085     template <class T> struct make_signed;
0086     template <class T> struct make_unsigned;
0087 
0088     // Array properties and transformations:
0089     template <class T> struct rank;
0090     template <class T, unsigned I = 0> struct extent;
0091     template <class T> struct remove_extent;
0092     template <class T> struct remove_all_extents;
0093 
0094     template <class T> struct is_bounded_array;                 // C++20
0095     template <class T> struct is_unbounded_array;               // C++20
0096 
0097     // Member introspection:
0098     template <class T> struct is_pod;
0099     template <class T> struct is_trivial;
0100     template <class T> struct is_trivially_copyable;
0101     template <class T> struct is_standard_layout;
0102     template <class T> struct is_literal_type; // Deprecated in C++17; removed in C++20
0103     template <class T> struct is_empty;
0104     template <class T> struct is_polymorphic;
0105     template <class T> struct is_abstract;
0106     template <class T> struct is_final; // C++14
0107     template <class T> struct is_aggregate; // C++17
0108 
0109     template <class T, class... Args> struct is_constructible;
0110     template <class T>                struct is_default_constructible;
0111     template <class T>                struct is_copy_constructible;
0112     template <class T>                struct is_move_constructible;
0113     template <class T, class U>       struct is_assignable;
0114     template <class T>                struct is_copy_assignable;
0115     template <class T>                struct is_move_assignable;
0116     template <class T, class U>       struct is_swappable_with;       // C++17
0117     template <class T>                struct is_swappable;            // C++17
0118     template <class T>                struct is_destructible;
0119 
0120     template <class T, class... Args> struct is_trivially_constructible;
0121     template <class T>                struct is_trivially_default_constructible;
0122     template <class T>                struct is_trivially_copy_constructible;
0123     template <class T>                struct is_trivially_move_constructible;
0124     template <class T, class U>       struct is_trivially_assignable;
0125     template <class T>                struct is_trivially_copy_assignable;
0126     template <class T>                struct is_trivially_move_assignable;
0127     template <class T>                struct is_trivially_destructible;
0128 
0129     template <class T, class... Args> struct is_nothrow_constructible;
0130     template <class T>                struct is_nothrow_default_constructible;
0131     template <class T>                struct is_nothrow_copy_constructible;
0132     template <class T>                struct is_nothrow_move_constructible;
0133     template <class T, class U>       struct is_nothrow_assignable;
0134     template <class T>                struct is_nothrow_copy_assignable;
0135     template <class T>                struct is_nothrow_move_assignable;
0136     template <class T, class U>       struct is_nothrow_swappable_with; // C++17
0137     template <class T>                struct is_nothrow_swappable;      // C++17
0138     template <class T>                struct is_nothrow_destructible;
0139 
0140     template<class T> struct is_implicit_lifetime;                     // Since C++23
0141 
0142     template <class T> struct has_virtual_destructor;
0143 
0144     template<class T> struct has_unique_object_representations;         // C++17
0145 
0146     // Relationships between types:
0147     template <class T, class U> struct is_same;
0148     template <class Base, class Derived> struct is_base_of;
0149     template <class Base, class Derived> struct is_virtual_base_of;     // C++26
0150 
0151     template <class From, class To> struct is_convertible;
0152     template <typename From, typename To> struct is_nothrow_convertible;                  // C++20
0153     template <typename From, typename To> inline constexpr bool is_nothrow_convertible_v; // C++20
0154 
0155     template <class Fn, class... ArgTypes> struct is_invocable;
0156     template <class R, class Fn, class... ArgTypes> struct is_invocable_r;
0157 
0158     template <class Fn, class... ArgTypes> struct is_nothrow_invocable;
0159     template <class R, class Fn, class... ArgTypes> struct is_nothrow_invocable_r;
0160 
0161     // Alignment properties and transformations:
0162     template <class T> struct alignment_of;
0163     template <size_t Len, size_t Align = most_stringent_alignment_requirement>
0164         struct aligned_storage;                                 // deprecated in C++23
0165     template <size_t Len, class... Types> struct aligned_union; // deprecated in C++23
0166     template <class T> struct remove_cvref; // C++20
0167 
0168     template <class T> struct decay;
0169     template <class... T> struct common_type;
0170     template <class T> struct underlying_type;
0171     template <class> class result_of; // undefined; deprecated in C++17; removed in C++20
0172     template <class Fn, class... ArgTypes> class result_of<Fn(ArgTypes...)>; // deprecated in C++17; removed in C++20
0173     template <class Fn, class... ArgTypes> struct invoke_result;  // C++17
0174 
0175     // const-volatile modifications:
0176     template <class T>
0177       using remove_const_t    = typename remove_const<T>::type;  // C++14
0178     template <class T>
0179       using remove_volatile_t = typename remove_volatile<T>::type;  // C++14
0180     template <class T>
0181       using remove_cv_t       = typename remove_cv<T>::type;  // C++14
0182     template <class T>
0183       using add_const_t       = typename add_const<T>::type;  // C++14
0184     template <class T>
0185       using add_volatile_t    = typename add_volatile<T>::type;  // C++14
0186     template <class T>
0187       using add_cv_t          = typename add_cv<T>::type;  // C++14
0188 
0189     // reference modifications:
0190     template <class T>
0191       using remove_reference_t     = typename remove_reference<T>::type;  // C++14
0192     template <class T>
0193       using add_lvalue_reference_t = typename add_lvalue_reference<T>::type;  // C++14
0194     template <class T>
0195       using add_rvalue_reference_t = typename add_rvalue_reference<T>::type;  // C++14
0196 
0197     // sign modifications:
0198     template <class T>
0199       using make_signed_t   = typename make_signed<T>::type;  // C++14
0200     template <class T>
0201       using make_unsigned_t = typename make_unsigned<T>::type;  // C++14
0202 
0203     // array modifications:
0204     template <class T>
0205       using remove_extent_t      = typename remove_extent<T>::type;  // C++14
0206     template <class T>
0207       using remove_all_extents_t = typename remove_all_extents<T>::type;  // C++14
0208 
0209     template <class T>
0210       inline constexpr bool is_bounded_array_v
0211         = is_bounded_array<T>::value;                                     // C++20
0212       inline constexpr bool is_unbounded_array_v
0213         = is_unbounded_array<T>::value;                                   // C++20
0214 
0215     // pointer modifications:
0216     template <class T>
0217       using remove_pointer_t = typename remove_pointer<T>::type;  // C++14
0218     template <class T>
0219       using add_pointer_t    = typename add_pointer<T>::type;  // C++14
0220 
0221     // other transformations:
0222     template <size_t Len, size_t Align=default-alignment>
0223       using aligned_storage_t = typename aligned_storage<Len,Align>::type;  // C++14
0224     template <size_t Len, class... Types>
0225       using aligned_union_t   = typename aligned_union<Len,Types...>::type;  // C++14
0226     template <class T>
0227       using remove_cvref_t    = typename remove_cvref<T>::type;  // C++20
0228     template <class T>
0229       using decay_t           = typename decay<T>::type;  // C++14
0230     template <bool b, class T=void>
0231       using enable_if_t       = typename enable_if<b,T>::type;  // C++14
0232     template <bool b, class T, class F>
0233       using conditional_t     = typename conditional<b,T,F>::type;  // C++14
0234     template <class... T>
0235       using common_type_t     = typename common_type<T...>::type;  // C++14
0236     template <class T>
0237       using underlying_type_t = typename underlying_type<T>::type;  // C++14
0238     template <class T>
0239       using result_of_t       = typename result_of<T>::type;  // C++14; deprecated in C++17; removed in C++20
0240     template <class Fn, class... ArgTypes>
0241       using invoke_result_t   = typename invoke_result<Fn, ArgTypes...>::type;  // C++17
0242 
0243     template <class...>
0244       using void_t = void;   // C++17
0245 
0246       // See C++14 20.10.4.1, primary type categories
0247       template <class T> inline constexpr bool is_void_v
0248         = is_void<T>::value;                                             // C++17
0249       template <class T> inline constexpr bool is_null_pointer_v
0250         = is_null_pointer<T>::value;                                     // C++17
0251       template <class T> inline constexpr bool is_integral_v
0252         = is_integral<T>::value;                                         // C++17
0253       template <class T> inline constexpr bool is_floating_point_v
0254         = is_floating_point<T>::value;                                   // C++17
0255       template <class T> inline constexpr bool is_array_v
0256         = is_array<T>::value;                                            // C++17
0257       template <class T> inline constexpr bool is_pointer_v
0258         = is_pointer<T>::value;                                          // C++17
0259       template <class T> inline constexpr bool is_lvalue_reference_v
0260         = is_lvalue_reference<T>::value;                                 // C++17
0261       template <class T> inline constexpr bool is_rvalue_reference_v
0262         = is_rvalue_reference<T>::value;                                 // C++17
0263       template <class T> inline constexpr bool is_member_object_pointer_v
0264         = is_member_object_pointer<T>::value;                            // C++17
0265       template <class T> inline constexpr bool is_member_function_pointer_v
0266         = is_member_function_pointer<T>::value;                          // C++17
0267       template <class T> inline constexpr bool is_enum_v
0268         = is_enum<T>::value;                                             // C++17
0269       template <class T> inline constexpr bool is_union_v
0270         = is_union<T>::value;                                            // C++17
0271       template <class T> inline constexpr bool is_class_v
0272         = is_class<T>::value;                                            // C++17
0273       template <class T> inline constexpr bool is_function_v
0274         = is_function<T>::value;                                         // C++17
0275 
0276       // See C++14 20.10.4.2, composite type categories
0277       template <class T> inline constexpr bool is_reference_v
0278         = is_reference<T>::value;                                        // C++17
0279       template <class T> inline constexpr bool is_arithmetic_v
0280         = is_arithmetic<T>::value;                                       // C++17
0281       template <class T> inline constexpr bool is_fundamental_v
0282         = is_fundamental<T>::value;                                      // C++17
0283       template <class T> inline constexpr bool is_object_v
0284         = is_object<T>::value;                                           // C++17
0285       template <class T> inline constexpr bool is_scalar_v
0286         = is_scalar<T>::value;                                           // C++17
0287       template <class T> inline constexpr bool is_compound_v
0288         = is_compound<T>::value;                                         // C++17
0289       template <class T> inline constexpr bool is_member_pointer_v
0290         = is_member_pointer<T>::value;                                   // C++17
0291       template <class T> inline constexpr bool is_scoped_enum_v
0292         = is_scoped_enum<T>::value;                                      // C++23
0293 
0294       // See C++14 20.10.4.3, type properties
0295       template <class T> inline constexpr bool is_const_v
0296         = is_const<T>::value;                                            // C++17
0297       template <class T> inline constexpr bool is_volatile_v
0298         = is_volatile<T>::value;                                         // C++17
0299       template <class T> inline constexpr bool is_trivial_v
0300         = is_trivial<T>::value;                                          // C++17
0301       template <class T> inline constexpr bool is_trivially_copyable_v
0302         = is_trivially_copyable<T>::value;                               // C++17
0303       template <class T> inline constexpr bool is_standard_layout_v
0304         = is_standard_layout<T>::value;                                  // C++17
0305       template <class T> inline constexpr bool is_pod_v
0306         = is_pod<T>::value;                                              // C++17
0307       template <class T> inline constexpr bool is_literal_type_v
0308         = is_literal_type<T>::value;                                     // C++17; deprecated in C++17; removed in C++20
0309       template <class T> inline constexpr bool is_empty_v
0310         = is_empty<T>::value;                                            // C++17
0311       template <class T> inline constexpr bool is_polymorphic_v
0312         = is_polymorphic<T>::value;                                      // C++17
0313       template <class T> inline constexpr bool is_abstract_v
0314         = is_abstract<T>::value;                                         // C++17
0315       template <class T> inline constexpr bool is_final_v
0316         = is_final<T>::value;                                            // C++17
0317       template <class T> inline constexpr bool is_aggregate_v
0318         = is_aggregate<T>::value;                                        // C++17
0319       template <class T> inline constexpr bool is_signed_v
0320         = is_signed<T>::value;                                           // C++17
0321       template <class T> inline constexpr bool is_unsigned_v
0322         = is_unsigned<T>::value;                                         // C++17
0323       template <class T, class... Args> inline constexpr bool is_constructible_v
0324         = is_constructible<T, Args...>::value;                           // C++17
0325       template <class T> inline constexpr bool is_default_constructible_v
0326         = is_default_constructible<T>::value;                            // C++17
0327       template <class T> inline constexpr bool is_copy_constructible_v
0328         = is_copy_constructible<T>::value;                               // C++17
0329       template <class T> inline constexpr bool is_move_constructible_v
0330         = is_move_constructible<T>::value;                               // C++17
0331       template <class T, class U> inline constexpr bool is_assignable_v
0332         = is_assignable<T, U>::value;                                    // C++17
0333       template <class T> inline constexpr bool is_copy_assignable_v
0334         = is_copy_assignable<T>::value;                                  // C++17
0335       template <class T> inline constexpr bool is_move_assignable_v
0336         = is_move_assignable<T>::value;                                  // C++17
0337       template <class T, class U> inline constexpr bool is_swappable_with_v
0338         = is_swappable_with<T, U>::value;                                // C++17
0339       template <class T> inline constexpr bool is_swappable_v
0340         = is_swappable<T>::value;                                        // C++17
0341       template <class T> inline constexpr bool is_destructible_v
0342         = is_destructible<T>::value;                                     // C++17
0343       template <class T, class... Args> inline constexpr bool is_trivially_constructible_v
0344         = is_trivially_constructible<T, Args...>::value;                 // C++17
0345       template <class T> inline constexpr bool is_trivially_default_constructible_v
0346         = is_trivially_default_constructible<T>::value;                  // C++17
0347       template <class T> inline constexpr bool is_trivially_copy_constructible_v
0348         = is_trivially_copy_constructible<T>::value;                     // C++17
0349       template <class T> inline constexpr bool is_trivially_move_constructible_v
0350         = is_trivially_move_constructible<T>::value;                     // C++17
0351       template <class T, class U> inline constexpr bool is_trivially_assignable_v
0352         = is_trivially_assignable<T, U>::value;                          // C++17
0353       template <class T> inline constexpr bool is_trivially_copy_assignable_v
0354         = is_trivially_copy_assignable<T>::value;                        // C++17
0355       template <class T> inline constexpr bool is_trivially_move_assignable_v
0356         = is_trivially_move_assignable<T>::value;                        // C++17
0357       template <class T> inline constexpr bool is_trivially_destructible_v
0358         = is_trivially_destructible<T>::value;                           // C++17
0359       template <class T, class... Args> inline constexpr bool is_nothrow_constructible_v
0360         = is_nothrow_constructible<T, Args...>::value;                   // C++17
0361       template <class T> inline constexpr bool is_nothrow_default_constructible_v
0362         = is_nothrow_default_constructible<T>::value;                    // C++17
0363       template <class T> inline constexpr bool is_nothrow_copy_constructible_v
0364         = is_nothrow_copy_constructible<T>::value;                       // C++17
0365       template <class T> inline constexpr bool is_nothrow_move_constructible_v
0366         = is_nothrow_move_constructible<T>::value;                       // C++17
0367       template <class T, class U> inline constexpr bool is_nothrow_assignable_v
0368         = is_nothrow_assignable<T, U>::value;                            // C++17
0369       template <class T> inline constexpr bool is_nothrow_copy_assignable_v
0370         = is_nothrow_copy_assignable<T>::value;                          // C++17
0371       template <class T> inline constexpr bool is_nothrow_move_assignable_v
0372         = is_nothrow_move_assignable<T>::value;                          // C++17
0373       template <class T, class U> inline constexpr bool is_nothrow_swappable_with_v
0374         = is_nothrow_swappable_with<T, U>::value;                       // C++17
0375       template <class T> inline constexpr bool is_nothrow_swappable_v
0376         = is_nothrow_swappable<T>::value;                               // C++17
0377       template <class T> inline constexpr bool is_nothrow_destructible_v
0378         = is_nothrow_destructible<T>::value;                             // C++17
0379       template<class T>
0380         constexpr bool is_implicit_lifetime_v = is_implicit_lifetime<T>::value;   // Since C++23
0381       template <class T> inline constexpr bool has_virtual_destructor_v
0382         = has_virtual_destructor<T>::value;                              // C++17
0383       template<class T> inline constexpr bool has_unique_object_representations_v // C++17
0384         = has_unique_object_representations<T>::value;
0385 
0386       // See C++14 20.10.5, type property queries
0387       template <class T> inline constexpr size_t alignment_of_v
0388         = alignment_of<T>::value;                                        // C++17
0389       template <class T> inline constexpr size_t rank_v
0390         = rank<T>::value;                                                // C++17
0391       template <class T, unsigned I = 0> inline constexpr size_t extent_v
0392         = extent<T, I>::value;                                           // C++17
0393 
0394       // See C++14 20.10.6, type relations
0395       template <class T, class U> inline constexpr bool is_same_v
0396         = is_same<T, U>::value;                                          // C++17
0397       template <class Base, class Derived> inline constexpr bool is_base_of_v
0398         = is_base_of<Base, Derived>::value;                              // C++17
0399       template <class Base, class Derived> inline constexpr bool is_virtual_base_of_v
0400         = is_virtual_base_of<Base, Derived>::value;                      // C++26
0401       template <class From, class To> inline constexpr bool is_convertible_v
0402         = is_convertible<From, To>::value;                               // C++17
0403       template <class Fn, class... ArgTypes> inline constexpr bool is_invocable_v
0404         = is_invocable<Fn, ArgTypes...>::value;                          // C++17
0405       template <class R, class Fn, class... ArgTypes> inline constexpr bool is_invocable_r_v
0406         = is_invocable_r<R, Fn, ArgTypes...>::value;                     // C++17
0407       template <class Fn, class... ArgTypes> inline constexpr bool is_nothrow_invocable_v
0408         = is_nothrow_invocable<Fn, ArgTypes...>::value;                  // C++17
0409       template <class R, class Fn, class... ArgTypes> inline constexpr bool is_nothrow_invocable_r_v
0410         = is_nothrow_invocable_r<R, Fn, ArgTypes...>::value;             // C++17
0411 
0412       // [meta.logical], logical operator traits:
0413       template<class... B> struct conjunction;                           // C++17
0414       template<class... B>
0415         inline constexpr bool conjunction_v = conjunction<B...>::value;  // C++17
0416       template<class... B> struct disjunction;                           // C++17
0417       template<class... B>
0418         inline constexpr bool disjunction_v = disjunction<B...>::value;  // C++17
0419       template<class B> struct negation;                                 // C++17
0420       template<class B>
0421         inline constexpr bool negation_v = negation<B>::value;           // C++17
0422 
0423 }
0424 
0425 */
0426 
0427 #if __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
0428 #  include <__cxx03/type_traits>
0429 #else
0430 #  include <__config>
0431 #  include <__type_traits/add_cv_quals.h>
0432 #  include <__type_traits/add_lvalue_reference.h>
0433 #  include <__type_traits/add_pointer.h>
0434 #  include <__type_traits/add_rvalue_reference.h>
0435 #  include <__type_traits/aligned_storage.h>
0436 #  include <__type_traits/aligned_union.h>
0437 #  include <__type_traits/alignment_of.h>
0438 #  include <__type_traits/common_type.h>
0439 #  include <__type_traits/conditional.h>
0440 #  include <__type_traits/decay.h>
0441 #  include <__type_traits/enable_if.h>
0442 #  include <__type_traits/extent.h>
0443 #  include <__type_traits/has_virtual_destructor.h>
0444 #  include <__type_traits/integral_constant.h>
0445 #  include <__type_traits/is_abstract.h>
0446 #  include <__type_traits/is_arithmetic.h>
0447 #  include <__type_traits/is_array.h>
0448 #  include <__type_traits/is_assignable.h>
0449 #  include <__type_traits/is_base_of.h>
0450 #  include <__type_traits/is_class.h>
0451 #  include <__type_traits/is_compound.h>
0452 #  include <__type_traits/is_const.h>
0453 #  include <__type_traits/is_constructible.h>
0454 #  include <__type_traits/is_convertible.h>
0455 #  include <__type_traits/is_destructible.h>
0456 #  include <__type_traits/is_empty.h>
0457 #  include <__type_traits/is_enum.h>
0458 #  include <__type_traits/is_floating_point.h>
0459 #  include <__type_traits/is_function.h>
0460 #  include <__type_traits/is_fundamental.h>
0461 #  include <__type_traits/is_integral.h>
0462 #  include <__type_traits/is_literal_type.h>
0463 #  include <__type_traits/is_member_pointer.h>
0464 #  include <__type_traits/is_nothrow_assignable.h>
0465 #  include <__type_traits/is_nothrow_constructible.h>
0466 #  include <__type_traits/is_nothrow_destructible.h>
0467 #  include <__type_traits/is_object.h>
0468 #  include <__type_traits/is_pod.h>
0469 #  include <__type_traits/is_pointer.h>
0470 #  include <__type_traits/is_polymorphic.h>
0471 #  include <__type_traits/is_reference.h>
0472 #  include <__type_traits/is_same.h>
0473 #  include <__type_traits/is_scalar.h>
0474 #  include <__type_traits/is_signed.h>
0475 #  include <__type_traits/is_standard_layout.h>
0476 #  include <__type_traits/is_trivial.h>
0477 #  include <__type_traits/is_trivially_assignable.h>
0478 #  include <__type_traits/is_trivially_constructible.h>
0479 #  include <__type_traits/is_trivially_copyable.h>
0480 #  include <__type_traits/is_trivially_destructible.h>
0481 #  include <__type_traits/is_union.h>
0482 #  include <__type_traits/is_unsigned.h>
0483 #  include <__type_traits/is_void.h>
0484 #  include <__type_traits/is_volatile.h>
0485 #  include <__type_traits/make_signed.h>
0486 #  include <__type_traits/make_unsigned.h>
0487 #  include <__type_traits/rank.h>
0488 #  include <__type_traits/remove_all_extents.h>
0489 #  include <__type_traits/remove_const.h>
0490 #  include <__type_traits/remove_cv.h>
0491 #  include <__type_traits/remove_extent.h>
0492 #  include <__type_traits/remove_pointer.h>
0493 #  include <__type_traits/remove_reference.h>
0494 #  include <__type_traits/remove_volatile.h>
0495 #  include <__type_traits/result_of.h>
0496 #  include <__type_traits/underlying_type.h>
0497 
0498 #  if _LIBCPP_STD_VER >= 14
0499 #    include <__type_traits/is_final.h>
0500 #    include <__type_traits/is_null_pointer.h>
0501 #  endif
0502 
0503 #  if _LIBCPP_STD_VER >= 17
0504 #    include <__type_traits/conjunction.h>
0505 #    include <__type_traits/disjunction.h>
0506 #    include <__type_traits/has_unique_object_representation.h>
0507 #    include <__type_traits/invoke.h>
0508 #    include <__type_traits/is_aggregate.h>
0509 #    include <__type_traits/is_swappable.h>
0510 #    include <__type_traits/negation.h>
0511 #    include <__type_traits/void_t.h>
0512 #  endif
0513 
0514 #  if _LIBCPP_STD_VER >= 20
0515 #    include <__type_traits/common_reference.h>
0516 #    include <__type_traits/is_bounded_array.h>
0517 #    include <__type_traits/is_constant_evaluated.h>
0518 #    include <__type_traits/is_nothrow_convertible.h>
0519 #    include <__type_traits/is_unbounded_array.h>
0520 #    include <__type_traits/type_identity.h>
0521 #    include <__type_traits/unwrap_ref.h>
0522 #  endif
0523 
0524 #  if _LIBCPP_STD_VER >= 23
0525 #    include <__type_traits/is_implicit_lifetime.h>
0526 #  endif
0527 
0528 #  include <version>
0529 
0530 #  if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
0531 #    pragma GCC system_header
0532 #  endif
0533 #endif // __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
0534 
0535 #endif // _LIBCPP_TYPE_TRAITS