Struct type_list_cat< type_list< Type... >, type_list< Other... >, List... >

Synopsis

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

template<typename... Type, typename... Other, typename... List>
struct type_list_cat<type_list<Type...>, type_list<Other...>, List...>

Description

Concatenates multiple type lists.

Template Parameters

Type - Types provided by the first type list.

Other - Types provided by the second type list.

List - Other type lists, if any.

Source

Lines 141-145 in src/entt/core/type_traits.hpp.

template<typename... Type, typename... Other, typename... List>
struct type_list_cat<type_list<Type...>, type_list<Other...>, List...> {
    /*! @brief A type list composed by the types of all the type lists. */
    using type = typename type_list_cat<type_list<Type..., Other...>, List...>::type;
};





Add Discussion

Log in to comment