Struct value_list_cat< value_list< Value... >, value_list< Other... >, List... >

Synopsis

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

template<auto... Value, auto... Other, typename... List>
struct value_list_cat<value_list<Value...>, value_list<Other...>, List...>

Description

Concatenates multiple value lists.

Template Parameters

Value - Values provided by the first value list.

Other - Values provided by the second value list.

List - Other value lists, if any.

Source

Lines 373-377 in src/entt/core/type_traits.hpp.

template<auto... Value, auto... Other, typename... List>
struct value_list_cat<value_list<Value...>, value_list<Other...>, List...> {
    /*! @brief A value list composed by the values of all the value lists. */
    using type = typename value_list_cat<value_list<Value..., Other...>, List...>::type;
};





Add Discussion

Log in to comment