Erase

Returns an AliasSeq created from TList with the first occurrence, if any, of T removed.

  1. template Erase(T, TList...)
    template Erase (
    T
    TList...
    ) {}
  2. template Erase(alias T, TList...)

Examples

alias Types = AliasSeq!(int, long, double, char);
alias TL = Erase!(long, Types);
static assert(is(TL == AliasSeq!(int, double, char)));
Suggestion Box / Bug Report