Пример #1
0
int main(int argc,char *arv[]) {
    BinaryIntType f = binary_function('+');

    printf("%d\n",f(3,5));

    return 0;
}
Пример #2
0
 typename BinaryFunction::result_type operator () (const typename Property1::Type& item) {
   return binary_function(property1(item), property2(item));
 }