libstdc++: Variable template for type traits

libstdc++

Variable template for type traits
Technical Specifications » Library Fundamentals TS
Collaboration diagram for Variable template for type traits:

#define | __cpp_lib_experimental_type_trait_variable_templates
template<typename _Tp>
constexpr bool | std::experimental::is_void_v
template<typename _Tp>
constexpr bool | std::experimental::is_null_pointer_v
template<typename _Tp>
constexpr bool | std::experimental::is_integral_v
template<typename _Tp>
constexpr bool | std::experimental::is_floating_point_v
template<typename _Tp>
constexpr bool | std::experimental::is_array_v
template<typename _Tp>
constexpr bool | std::experimental::is_pointer_v
template<typename _Tp>
constexpr bool | std::experimental::is_lvalue_reference_v
template<typename _Tp>
constexpr bool | std::experimental::is_rvalue_reference_v
template<typename _Tp>
constexpr bool | std::experimental::is_member_object_pointer_v
template<typename _Tp>
constexpr bool | std::experimental::is_member_function_pointer_v
template<typename _Tp>
constexpr bool | std::experimental::is_enum_v
template<typename _Tp>
constexpr bool | std::experimental::is_union_v
template<typename _Tp>
constexpr bool | std::experimental::is_class_v
template<typename _Tp>
constexpr bool | std::experimental::is_function_v
template<typename _Tp>
constexpr bool | std::experimental::is_reference_v
template<typename _Tp>
constexpr bool | std::experimental::is_arithmetic_v
template<typename _Tp>
constexpr bool | std::experimental::is_fundamental_v
template<typename _Tp>
constexpr bool | std::experimental::is_object_v
template<typename _Tp>
constexpr bool | std::experimental::is_scalar_v
template<typename _Tp>
constexpr bool | std::experimental::is_compound_v
template<typename _Tp>
constexpr bool | std::experimental::is_member_pointer_v
template<typename _Tp>
constexpr bool | std::experimental::is_const_v
template<typename _Tp>
constexpr bool | std::experimental::is_volatile_v
template<typename _Tp>
constexpr bool | std::experimental::is_trivial_v
template<typename _Tp>
constexpr bool | std::experimental::is_trivially_copyable_v
template<typename _Tp>
constexpr bool | std::experimental::is_standard_layout_v
template<typename _Tp>
constexpr bool | std::experimental::is_pod_v
template<typename _Tp>
constexpr bool | std::experimental::is_literal_type_v
template<typename _Tp>
constexpr bool | std::experimental::is_empty_v
template<typename _Tp>
constexpr bool | std::experimental::is_polymorphic_v
template<typename _Tp>
constexpr bool | std::experimental::is_abstract_v
template<typename _Tp>
constexpr bool | std::experimental::is_final_v
template<typename _Tp>
constexpr bool | std::experimental::is_signed_v
template<typename _Tp>
constexpr bool | std::experimental::is_unsigned_v
template<typename _Tp, typename... _Args>
constexpr bool | std::experimental::is_constructible_v
template<typename _Tp>
constexpr bool | std::experimental::is_default_constructible_v
template<typename _Tp>
constexpr bool | std::experimental::is_copy_constructible_v
template<typename _Tp>
constexpr bool | std::experimental::is_move_constructible_v
template<typename _Tp, typename _Up>
constexpr bool | std::experimental::is_assignable_v
template<typename _Tp>
constexpr bool | std::experimental::is_copy_assignable_v
template<typename _Tp>
constexpr bool | std::experimental::is_move_assignable_v
template<typename _Tp>
constexpr bool | std::experimental::is_destructible_v
template<typename _Tp, typename... _Args>
constexpr bool | std::experimental::is_trivially_constructible_v
template<typename _Tp>
constexpr bool | std::experimental::is_trivially_default_constructible_v
template<typename _Tp>
constexpr bool | std::experimental::is_trivially_copy_constructible_v
template<typename _Tp>
constexpr bool | std::experimental::is_trivially_move_constructible_v
template<typename _Tp, typename _Up>
constexpr bool | std::experimental::is_trivially_assignable_v
template<typename _Tp>
constexpr bool | std::experimental::is_trivially_copy_assignable_v
template<typename _Tp>
constexpr bool | std::experimental::is_trivially_move_assignable_v
template<typename _Tp>
constexpr bool | std::experimental::is_trivially_destructible_v
template<typename _Tp, typename... _Args>
constexpr bool | std::experimental::is_nothrow_constructible_v
template<typename _Tp>
constexpr bool | std::experimental::is_nothrow_default_constructible_v
template<typename _Tp>
constexpr bool | std::experimental::is_nothrow_copy_constructible_v
template<typename _Tp>
constexpr bool | std::experimental::is_nothrow_move_constructible_v
template<typename _Tp, typename _Up>
constexpr bool | std::experimental::is_nothrow_assignable_v
template<typename _Tp>
constexpr bool | std::experimental::is_nothrow_copy_assignable_v
template<typename _Tp>
constexpr bool | std::experimental::is_nothrow_move_assignable_v
template<typename _Tp>
constexpr bool | std::experimental::is_nothrow_destructible_v
template<typename _Tp>
constexpr bool | std::experimental::has_virtual_destructor_v
template<typename _Tp>
constexpr size_t | std::experimental::alignment_of_v
template<typename _Tp>
constexpr size_t | std::experimental::rank_v
template<typename _Tp, unsigned _Idx = 0>
constexpr size_t | std::experimental::extent_v
template<typename _Tp, typename _Up>
constexpr bool | std::experimental::is_same_v
template<typename _Tp>
constexpr bool | std::experimental::is_same_v< _Tp, _Tp >
template<typename _Base, typename _Derived>
constexpr bool | std::experimental::is_base_of_v
template<typename _From, typename _To>
constexpr bool | std::experimental::is_convertible_v

## Detailed Description

Since
  Library Fundamentals TS v1. C++14.

See also
  variable_templates

## Macro Definition Documentation

## ◆ __cpp_lib_experimental_type_trait_variable_templates

#define __cpp_lib_experimental_type_trait_variable_templates

Definition at line 69 of file experimental/type_traits.

## Variable Documentation

## ◆ alignment_of_v

template<typename _Tp>

size_t std::experimental::fundamentals_v1::alignment_of_v
| constexpr

Definition at line 223 of file experimental/type_traits.

## ◆ extent_v

template<typename _Tp, unsigned _Idx = 0>

size_t std::experimental::fundamentals_v1::extent_v
| constexpr

Definition at line 227 of file experimental/type_traits.

## ◆ has_virtual_destructor_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::has_virtual_destructor_v
| constexpr

Definition at line 218 of file experimental/type_traits.

## ◆ is_abstract_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_abstract_v
| constexpr

Definition at line 145 of file experimental/type_traits.

## ◆ is_arithmetic_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_arithmetic_v
| constexpr

Definition at line 107 of file experimental/type_traits.

## ◆ is_array_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_array_v
| constexpr

Definition at line 81 of file experimental/type_traits.

## ◆ is_assignable_v

template<typename _Tp, typename _Up>

bool std::experimental::fundamentals_v1::is_assignable_v
| constexpr

Definition at line 162 of file experimental/type_traits.

## ◆ is_base_of_v

template<typename _Base, typename _Derived>

bool std::experimental::fundamentals_v1::is_base_of_v
| constexpr

Definition at line 235 of file experimental/type_traits.

## ◆ is_class_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_class_v
| constexpr

Definition at line 99 of file experimental/type_traits.

## ◆ is_compound_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_compound_v
| constexpr

Definition at line 115 of file experimental/type_traits.

## ◆ is_const_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_const_v
| constexpr

Definition at line 121 of file experimental/type_traits.

## ◆ is_constructible_v

template<typename _Tp, typename... _Args>

bool std::experimental::fundamentals_v1::is_constructible_v
| constexpr

Definition at line 153 of file experimental/type_traits.

## ◆ is_convertible_v

template<typename _From, typename _To>

bool std::experimental::fundamentals_v1::is_convertible_v
| constexpr

Definition at line 237 of file experimental/type_traits.

## ◆ is_copy_assignable_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_copy_assignable_v
| constexpr

Definition at line 164 of file experimental/type_traits.

## ◆ is_copy_constructible_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_copy_constructible_v
| constexpr

Definition at line 158 of file experimental/type_traits.

## ◆ is_default_constructible_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_default_constructible_v
| constexpr

Definition at line 155 of file experimental/type_traits.

## ◆ is_destructible_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_destructible_v
| constexpr

Definition at line 168 of file experimental/type_traits.

## ◆ is_empty_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_empty_v
| constexpr

Definition at line 141 of file experimental/type_traits.

## ◆ is_enum_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_enum_v
| constexpr

Definition at line 95 of file experimental/type_traits.

## ◆ is_final_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_final_v
| constexpr

Definition at line 147 of file experimental/type_traits.

## ◆ is_floating_point_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_floating_point_v
| constexpr

Definition at line 79 of file experimental/type_traits.

## ◆ is_function_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_function_v
| constexpr

Definition at line 101 of file experimental/type_traits.

## ◆ is_fundamental_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_fundamental_v
| constexpr

Definition at line 109 of file experimental/type_traits.

## ◆ is_integral_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_integral_v
| constexpr

Definition at line 77 of file experimental/type_traits.

## ◆ is_literal_type_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_literal_type_v
| constexpr

Definition at line 138 of file experimental/type_traits.

## ◆ is_lvalue_reference_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_lvalue_reference_v
| constexpr

Definition at line 85 of file experimental/type_traits.

## ◆ is_member_function_pointer_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_member_function_pointer_v
| constexpr

Definition at line 92 of file experimental/type_traits.

## ◆ is_member_object_pointer_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_member_object_pointer_v
| constexpr

Definition at line 89 of file experimental/type_traits.

## ◆ is_member_pointer_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_member_pointer_v
| constexpr

Definition at line 117 of file experimental/type_traits.

## ◆ is_move_assignable_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_move_assignable_v
| constexpr

Definition at line 166 of file experimental/type_traits.

## ◆ is_move_constructible_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_move_constructible_v
| constexpr

Definition at line 160 of file experimental/type_traits.

## ◆ is_nothrow_assignable_v

template<typename _Tp, typename _Up>

bool std::experimental::fundamentals_v1::is_nothrow_assignable_v
| constexpr

Definition at line 206 of file experimental/type_traits.

## ◆ is_nothrow_constructible_v

template<typename _Tp, typename... _Args>

bool std::experimental::fundamentals_v1::is_nothrow_constructible_v
| constexpr

Definition at line 194 of file experimental/type_traits.

## ◆ is_nothrow_copy_assignable_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_nothrow_copy_assignable_v
| constexpr

Definition at line 209 of file experimental/type_traits.

## ◆ is_nothrow_copy_constructible_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_nothrow_copy_constructible_v
| constexpr

Definition at line 200 of file experimental/type_traits.

## ◆ is_nothrow_default_constructible_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_nothrow_default_constructible_v
| constexpr

Definition at line 197 of file experimental/type_traits.

## ◆ is_nothrow_destructible_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_nothrow_destructible_v
| constexpr

Definition at line 215 of file experimental/type_traits.

## ◆ is_nothrow_move_assignable_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_nothrow_move_assignable_v
| constexpr

Definition at line 212 of file experimental/type_traits.

## ◆ is_nothrow_move_constructible_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_nothrow_move_constructible_v
| constexpr

Definition at line 203 of file experimental/type_traits.

## ◆ is_null_pointer_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_null_pointer_v
| constexpr

Definition at line 75 of file experimental/type_traits.

## ◆ is_object_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_object_v
| constexpr

Definition at line 111 of file experimental/type_traits.

## ◆ is_pod_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_pod_v
| constexpr

Definition at line 136 of file experimental/type_traits.

## ◆ is_pointer_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_pointer_v
| constexpr

Definition at line 83 of file experimental/type_traits.

## ◆ is_polymorphic_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_polymorphic_v
| constexpr

Definition at line 143 of file experimental/type_traits.

## ◆ is_reference_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_reference_v
| constexpr

Definition at line 105 of file experimental/type_traits.

## ◆ is_rvalue_reference_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_rvalue_reference_v
| constexpr

Definition at line 87 of file experimental/type_traits.

## ◆ is_same_v

template<typename _Tp, typename _Up>

bool std::experimental::fundamentals_v1::is_same_v
| constexpr

Definition at line 231 of file experimental/type_traits.

## ◆ is_same_v< _Tp, _Tp >

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_same_v< _Tp, _Tp >
| constexpr

Definition at line 233 of file experimental/type_traits.

## ◆ is_scalar_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_scalar_v
| constexpr

Definition at line 113 of file experimental/type_traits.

## ◆ is_signed_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_signed_v
| constexpr

Definition at line 149 of file experimental/type_traits.

## ◆ is_standard_layout_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_standard_layout_v
| constexpr

Definition at line 132 of file experimental/type_traits.

## ◆ is_trivial_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_trivial_v
| constexpr

Definition at line 127 of file experimental/type_traits.

## ◆ is_trivially_assignable_v

template<typename _Tp, typename _Up>

bool std::experimental::fundamentals_v1::is_trivially_assignable_v
| constexpr

Definition at line 182 of file experimental/type_traits.

## ◆ is_trivially_constructible_v

template<typename _Tp, typename... _Args>

bool std::experimental::fundamentals_v1::is_trivially_constructible_v
| constexpr

Definition at line 170 of file experimental/type_traits.

## ◆ is_trivially_copy_assignable_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_trivially_copy_assignable_v
| constexpr

Definition at line 185 of file experimental/type_traits.

## ◆ is_trivially_copy_constructible_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_trivially_copy_constructible_v
| constexpr

Definition at line 176 of file experimental/type_traits.

## ◆ is_trivially_copyable_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_trivially_copyable_v
| constexpr

Definition at line 130 of file experimental/type_traits.

## ◆ is_trivially_default_constructible_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_trivially_default_constructible_v
| constexpr

Definition at line 173 of file experimental/type_traits.

## ◆ is_trivially_destructible_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_trivially_destructible_v
| constexpr

Definition at line 191 of file experimental/type_traits.

## ◆ is_trivially_move_assignable_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_trivially_move_assignable_v
| constexpr

Definition at line 188 of file experimental/type_traits.

## ◆ is_trivially_move_constructible_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_trivially_move_constructible_v
| constexpr

Definition at line 179 of file experimental/type_traits.

## ◆ is_union_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_union_v
| constexpr

Definition at line 97 of file experimental/type_traits.

## ◆ is_unsigned_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_unsigned_v
| constexpr

Definition at line 151 of file experimental/type_traits.

## ◆ is_void_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_void_v
| constexpr

Definition at line 73 of file experimental/type_traits.

## ◆ is_volatile_v

template<typename _Tp>

bool std::experimental::fundamentals_v1::is_volatile_v
| constexpr

Definition at line 123 of file experimental/type_traits.

## ◆ rank_v

template<typename _Tp>

size_t std::experimental::fundamentals_v1::rank_v
| constexpr

Definition at line 225 of file experimental/type_traits.