PolyBoRi
|
Compose a binary function with a default constructable unary function for both arguments. More...
#include <pbori_func.h>
Public Types | |
typedef BinaryOp | binary_op_type |
Define types corresponding to template arguments. More... | |
typedef UnaryOperation | unary_op_type |
typedef binary_composition < binary_op_type, unary_op_type, unary_op_type > | base |
![]() | |
typedef base::result_type | result_type |
Getting inherited types. More... | |
typedef BinaryOp | base |
Define types corresponding to template arguments. More... | |
typedef UnaryOperation | first_op_type |
typedef UnaryOperation | second_op_type |
Public Member Functions | |
symmetric_composition (const binary_op_type &binop=binary_op_type(), const unary_op_type &unop=unary_op_type()) | |
![]() | |
binary_composition (const base &binop=base(), const first_op_type &unop1=first_op_type(), const second_op_type &unop2=second_op_type()) | |
result_type | operator() (const FirstType &first, const SecondType &second) const |
The composed operation for constant arguments. More... | |
result_type | operator() (FirstType &first, const SecondType &second) const |
The composed operation for constant second argument. More... | |
result_type | operator() (const FirstType &first, SecondType &second) const |
The composed operation for constant first argument. More... | |
Additional Inherited Members | |
![]() | |
first_op_type | first_op |
second_op_type | second_op |
Compose a binary function with a default constructable unary function for both arguments.
typedef binary_composition<binary_op_type, unary_op_type, unary_op_type> polybori::symmetric_composition< BinaryOp, UnaryOperation >::base |
typedef BinaryOp polybori::symmetric_composition< BinaryOp, UnaryOperation >::binary_op_type |
Define types corresponding to template arguments.
typedef UnaryOperation polybori::symmetric_composition< BinaryOp, UnaryOperation >::unary_op_type |
|
inline |