Templa 0.0.1-alpha
C++ Metaprogramming Utilities
Loading...
Searching...
No Matches
templa::type_list_flatten< Ts > Struct Template Reference

Recursively flattens nested type_lists into a single flat type_list. More...

Detailed Description

template<typename... Ts>
struct templa::type_list_flatten< Ts >

Recursively flattens nested type_lists into a single flat type_list.

Given arbitrarily nested type_list<Ts...> structures, this metafunction produces a single-level type list containing all inner types.

Example

using flat = flatten<t2>::type; // type_list<char, int, float, double>
A compile-time list of types.
Definition pack.hpp:46

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