The OpenD Programming Language

Erase

Returns an AliasSeq created from args[1 .. $] with the first occurrence, if any, of args[0] removed.

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

Examples

alias Types = AliasSeq!(int, long, double, char);
alias TL = Erase!(long, Types);
static assert(is(TL == AliasSeq!(int, double, char)));

Meta