staticMap2

Same as std.typetyple.staticMap, but passes two arguments to the first template.

Members

Aliases

staticMap2
alias staticMap2 = ExpressionList!()
Undocumented in source.
staticMap2
alias staticMap2 = ExpressionList!(F!(T[0], T[1]))
Undocumented in source.
staticMap2
alias staticMap2 = ExpressionList!(F!(T[0], T[1]), staticMap2!(F, T[2..$]))
Undocumented in source.

Examples

Example

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

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

Meta