Struct value_list

Synopsis

#include <src/entt/core/type_traits.hpp>

template<auto... Value>
struct value_list

Description

A class to use to push around lists of constant values, nothing more.

Template Parameters

Value - Values provided by the value list.

Mentioned in

Source

Lines 297-303 in src/entt/core/type_traits.hpp.

template<auto... Value>
struct value_list {
    /*! @brief Value list type. */
    using type = value_list;
    /*! @brief Compile-time number of elements in the value list. */
    static constexpr auto size = sizeof...(Value);
};





Add Discussion

Log in to comment