The OpenD Programming Language

NoDuplicates

Returns an AliasSeq created from args with all duplicate types removed.

template NoDuplicates (
args...
) {}

Examples

alias Types = AliasSeq!(int, long, long, int, float);

alias TL = NoDuplicates!(Types);
static assert(is(TL == AliasSeq!(int, long, float)));

Meta