EnTT 3.13.0
Loading...
Searching...
No Matches
Public Types | List of all members
entt::type_list_transform< type_list< Type... >, Op > Struct Template Reference

Applies a given function to a type list and generate a new list. More...

#include <type_traits.hpp>

Public Types

using type = type_list< typename Op< Type >::type... >
 Resulting type list after applying the transform function.
 

Detailed Description

template<typename... Type, template< typename... > class Op>
struct entt::type_list_transform< type_list< Type... >, Op >

Applies a given function to a type list and generate a new list.

Template Parameters
TypeTypes provided by the type list.
OpUnary operation as template class with a type member named type.

Definition at line 346 of file type_traits.hpp.

Member Typedef Documentation

◆ type

template<typename... Type, template< typename... > class Op>
using entt::type_list_transform< type_list< Type... >, Op >::type = type_list<typename Op<Type>::type...>

Resulting type list after applying the transform function.

Definition at line 348 of file type_traits.hpp.


The documentation for this struct was generated from the following file: