EraseAll

Returns an AliasSeq created from TList with the all occurrences, if any, of T removed.

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

Examples

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

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