Erase

Removes the first occurrence of T from the alias sequence $(D_PARAL L).

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

Members

Aliases

Erase
alias Erase = EraseOne!(T, L)
Undocumented in source.

Parameters

T

The item to be removed.

L

Alias sequence.

Return Value

L with the first occurrence of T removed.

Examples

static assert(is(Erase!(int, short, int, int, uint) == AliasSeq!(short, int, uint)));
static assert(is(Erase!(int, short, uint) == AliasSeq!(short, uint)));

Meta