EraseAll

Returns an AliasSeq created from args[1 .. $] with all occurrences, if any, of args[0] removed.

template EraseAll (
args...
) if (
args.length >= 1
) {}

Examples

alias Types = AliasSeq!(int, long, long, int);
static assert(is(EraseAll!(long, Types) == AliasSeq!(int, int)));

Meta