EnTT: entt::type_list_transform< type_list< Type... >, Op > Struct Template Reference

EnTT 3.16.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

  Type | Types provided by the type list.
  Op | Unary operation as template class with a type member named type.

Definition at line 347 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 350 of file type_traits.hpp.

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

- src/entt/core/type_traits.hpp