Same as std.typetyple.staticMap, but passes two arguments to the first template.
Example
1 template Test(T...) 2 { 3 enum Test = T[0] && T[1]; 4 } 5 6 static assert([staticMap2!(Test, true, true, true, false)] == [true, false]);
See Implementation
Same as std.typetyple.staticMap, but passes two arguments to the first template.