|
PolyBoRi
|
Compose a binary function with two default constructable unary functions. More...
#include <pbori_func.h>
Public Types | |
| typedef base::result_type | result_type |
| Getting inherited types. More... | |
| typedef BinaryOp | base |
| Define types corresponding to template arguments. More... | |
| 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. More... | |
| template<class FirstType , class SecondType > | |
| result_type | operator() (FirstType &first, const SecondType &second) const |
| The composed operation for constant second argument. More... | |
| template<class FirstType , class SecondType > | |
| result_type | operator() (const FirstType &first, SecondType &second) const |
| The composed operation for constant first argument. More... | |
Protected Attributes | |
| first_op_type | first_op |
| second_op_type | second_op |
Compose a binary function with two default constructable unary functions.
| typedef BinaryOp polybori::binary_composition< BinaryOp, FirstOp, SecondOp >::base |
Define types corresponding to template arguments.
| typedef FirstOp polybori::binary_composition< BinaryOp, FirstOp, SecondOp >::first_op_type |
| typedef base::result_type polybori::binary_composition< BinaryOp, FirstOp, SecondOp >::result_type |
Getting inherited types.
| typedef SecondOp polybori::binary_composition< BinaryOp, FirstOp, SecondOp >::second_op_type |
|
inline |
|
inline |
The composed operation for constant arguments.
|
inline |
The composed operation for constant second argument.
|
inline |
The composed operation for constant first argument.
|
protected |
|
protected |
1.8.9.1