Struct type_list

Synopsis

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

template<typename... Type>
struct type_list

Description

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

Template Parameters

Type - Types provided by the type list.

Mentioned in

Source

Lines 127-133 in src/entt/core/type_traits.hpp.

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





Add Discussion

Log in to comment