#include <function.h>
apply metaprogramming predicate to all arguments of a functional, and reduce by && or ||