#include <pbori_func.h>
Public Types | |
typedef base::result_type | result_type |
Getting inherited types. | |
typedef BinaryOp | base |
Define types corresponding to template arguments. | |
typedef FirstOp | first_op_type |
typedef SecondOp | second_op_type |
Public Member Functions | |
binary_composition (const base &binop=base(), const first_op_type &unop1=first_op_type(), const second_op_type &unop2=second_op_type()) | |
template<class FirstType, class SecondType> | |
result_type | operator() (const FirstType &first, const SecondType &second) const |
The composed operation for constant arguments. | |
template<class FirstType, class SecondType> | |
result_type | operator() (FirstType &first, const SecondType &second) const |
The composed operation for constant second argument. | |
template<class FirstType, class SecondType> | |
result_type | operator() (const FirstType &first, SecondType &second) const |
The composed operation for constant first argument. | |
Protected Attributes | |
first_op_type | first_op |
second_op_type | second_op |
typedef BinaryOp polybori::binary_composition< BinaryOp, FirstOp, SecondOp >::base |
Define types corresponding to template arguments.
Reimplemented in polybori::symmetric_composition< BinaryOp, UnaryOperation >.
typedef FirstOp polybori::binary_composition< BinaryOp, FirstOp, SecondOp >::first_op_type |
typedef SecondOp polybori::binary_composition< BinaryOp, FirstOp, SecondOp >::second_op_type |
typedef base::result_type polybori::binary_composition< BinaryOp, FirstOp, SecondOp >::result_type |
Getting inherited types.
polybori::binary_composition< BinaryOp, FirstOp, SecondOp >::binary_composition | ( | const base & | binop = base() , |
|
const first_op_type & | unop1 = first_op_type() , |
|||
const second_op_type & | unop2 = second_op_type() | |||
) | [inline] |
result_type polybori::binary_composition< BinaryOp, FirstOp, SecondOp >::operator() | ( | const FirstType & | first, | |
const SecondType & | second | |||
) | const [inline] |
The composed operation for constant arguments.
result_type polybori::binary_composition< BinaryOp, FirstOp, SecondOp >::operator() | ( | FirstType & | first, | |
const SecondType & | second | |||
) | const [inline] |
The composed operation for constant second argument.
result_type polybori::binary_composition< BinaryOp, FirstOp, SecondOp >::operator() | ( | const FirstType & | first, | |
SecondType & | second | |||
) | const [inline] |
The composed operation for constant first argument.
first_op_type polybori::binary_composition< BinaryOp, FirstOp, SecondOp >::first_op [protected] |
second_op_type polybori::binary_composition< BinaryOp, FirstOp, SecondOp >::second_op [protected] |