Struct value_list_element< 0u, value_list< Value, Other... > >
Synopsis
#include <src/entt/core/type_traits.hpp>
template<auto Value, auto... Other>
struct value_list_element<0u, value_list<Value, Other...>>
Description
Provides compile-time indexed access to the types of a type list.
- Template Parameters
Value
- First value provided by the value list.Other
- Other values provided by the value list.
Source
Lines 328-332 in src/entt/core/type_traits.hpp.
template<auto Value, auto... Other>
struct value_list_element<0u, value_list<Value, Other...>> {
/*! @brief Searched value. */
static constexpr auto value = Value;
};