Performs filtering of expression tuple T by pairs by function or template F. If F returns true the resulted pair goes to returned expression tuple, else it is discarded.
Example
1 import std.conv; 2 3 bool testFunc(string val1, int val2) 4 { 5 return val1.to!int == val2; 6 } 7 8 static assert(staticFilter2!(testFunc, ExpressionList!("42", 42, "2", 108, "15", 15, "1", 2)) == ExpressionList!("42", 42, "15", 15));
See Implementation
Performs filtering of expression tuple T by pairs by function or template F. If F returns true the resulted pair goes to returned expression tuple, else it is discarded.