staticMap2

Alias of staticMapN for 2 arguments

alias staticMap2(alias F, T...) = staticMapN!(2, F, T)

Examples

Example

template Test(T...)
{
    enum Test = T[0] && T[1];
}

static assert([staticMap2!(Test, true, true, true, false)] == [true, false]);

Meta