ReplaceAll

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

template ReplaceAll (
args...
) {}

Examples

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

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

Meta