NoDuplicates

Removes all duplicates from the alias sequence L.

Members

Aliases

NoDuplicates
alias NoDuplicates = AliasSeq!()
Undocumented in source.
NoDuplicates
alias NoDuplicates = AliasSeq!(L[0], Rest)
Undocumented in source.

Parameters

L

Alias sequence.

Return Value

L containing only unique items.

Examples

alias Given = AliasSeq!(int, uint, int, short, short, uint);
static assert(is(NoDuplicates!Given == AliasSeq!(int, uint, short)));

Meta