EnTT 3.13.0
|
Provides compile-time type access to the types of a type list. More...
#include <type_traits.hpp>
Public Types | |
using | value_type = std::size_t |
Unsigned integer type. | |
Static Public Attributes | |
static constexpr value_type | value = 1u + type_list_index<Type, type_list<Other...>>::value |
Compile-time position of the given type in the sublist. | |
Provides compile-time type access to the types of a type list.
Type | Type to look for and for which to return the index. |
First | First type provided by the type list. |
Other | Other types provided by the type list. |
Definition at line 161 of file type_traits.hpp.
using entt::type_list_index< Type, type_list< First, Other... > >::value_type = std::size_t |
Unsigned integer type.
Definition at line 163 of file type_traits.hpp.
|
staticconstexpr |
Compile-time position of the given type in the sublist.
Definition at line 165 of file type_traits.hpp.