EnTT 3.13.0
Loading...
Searching...
No Matches
Public Types | Static Public Attributes | List of all members
entt::type_list_index< Type, type_list< Type, Other... > > Struct Template Reference

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 = 0u
 Compile-time position of the given type in the sublist.
 

Detailed Description

template<typename Type, typename... Other>
struct entt::type_list_index< Type, type_list< Type, Other... > >

Provides compile-time type access to the types of a type list.

Template Parameters
TypeType to look for and for which to return the index.
OtherOther types provided by the type list.

Definition at line 174 of file type_traits.hpp.

Member Typedef Documentation

◆ value_type

template<typename Type , typename... Other>
using entt::type_list_index< Type, type_list< Type, Other... > >::value_type = std::size_t

Unsigned integer type.

Definition at line 177 of file type_traits.hpp.

Member Data Documentation

◆ value

template<typename Type , typename... Other>
constexpr value_type entt::type_list_index< Type, type_list< Type, Other... > >::value = 0u
staticconstexpr

Compile-time position of the given type in the sublist.

Definition at line 179 of file type_traits.hpp.


The documentation for this struct was generated from the following file: