The OpenD Programming Language

Replace

Returns an AliasSeq created from TList with the first occurrence of T, if found, replaced with U.

Examples

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

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

Meta