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

Removes duplicate types from a parameter pack. More...

Detailed Description

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

Removes duplicate types from a parameter pack.

Recursively deduplicates types while preserving the order of first occurrence.

Example

using input = type_list<int, float, int, char, float>;
// result = type_list<int, float, char>
Removes duplicate types from a parameter pack.
Definition type_list.hpp:435

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