Function operator+

Synopsis

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

template <typename... Type, typename... Other>
constexpr type_list< Type..., Other... > operator+(type_list< Type... >, type_list< Other... >)

Description

Concatenates multiple type lists.

Template Parameters

Type - Types provided by the first type list.

Other - Types provided by the second type list.

Return
A type list composed by the types of both the type lists.

Source

Lines 118-119 in src/entt/core/type_traits.hpp.

template<typename... Type, typename... Other>
constexpr type_list<Type..., Other...> operator+(type_list<Type...>, type_list<Other...>) { return {}; }





Add Discussion

Log in to comment