EnTT: entt::type_list_element< Index, type_list< First, Other... > > Struct Template Reference

EnTT 3.15.0

Loading...
Searching...
No Matches
entt::type_list_element< Index, type_list< First, Other... > > Struct Template Reference

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

`#include <type_traits.hpp>`

Inheritance diagram for entt::type_list_element< Index, type_list< First, Other... > >:
[legend]
Collaboration diagram for entt::type_list_element< Index, type_list< First, Other... > >:
[legend]

## Detailed Description

template<std::size_t Index, typename First, typename... Other>
struct entt::type_list_element< Index, type_list< First, Other... > >

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

Template Parameters

  Index | Index of the type to return.
  First | First type provided by the type list.
  Other | Other types provided by the type list.

Definition at line 129 of file type_traits.hpp.

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

- src/entt/core/type_traits.hpp