コード例 #1
0
int main(int argc,char *arv[]) {
    BinaryIntType f = binary_function('+');

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

    return 0;
}
コード例 #2
0
ファイル: property.hpp プロジェクト: phlipsi/sudoku
 typename BinaryFunction::result_type operator () (const typename Property1::Type& item) {
   return binary_function(property1(item), property2(item));
 }