cmoon::meta::unique_types


Defined in module <cmoon.meta>


template<typename... Ts>
using unique_types = /* see below */;


(1)

Type alias for a type_list<Ts2...> where Ts2... is a set of unique types.

Example



import <concepts>;

import cmoon.meta;

int main()
{
    using tl = cmoon::meta::unique_types<float, int, double, int, double, char>;

    static_assert(std::same_as<tl, cmoon::meta::type_list<float, int, double, char>>);
}