Virtual interface definition for binary function objects. More...
#include <function_objects.hpp>
Public Types | |
typedef A1 | first_argument_type |
The first argument type. More... | |
typedef R | result_type |
The result type. More... | |
typedef A2 | second_argument_type |
The second argument type. More... | |
Public Member Functions | |
virtual result_type | operator() (first_argument_type arg1, second_argument_type arg2)=0 |
Virtual function call required by binary function objects. More... | |
virtual | ~BinaryFunction () |
Virtual interface definition for binary function objects.
Virtual interface definition for binary function objects (i.e. functions that take a pair of arguments).
R | : the return type. |
A1 | : the first argument type. |
A2 | : the second argument type. |
Definition at line 103 of file function_objects.hpp.
typedef A1 ecl::BinaryFunction< A1, A2, R >::first_argument_type |
The first argument type.
Definition at line 108 of file function_objects.hpp.
typedef R ecl::BinaryFunction< A1, A2, R >::result_type |
The result type.
Definition at line 107 of file function_objects.hpp.
typedef A2 ecl::BinaryFunction< A1, A2, R >::second_argument_type |
The second argument type.
Definition at line 109 of file function_objects.hpp.
|
inlinevirtual |
Definition at line 118 of file function_objects.hpp.
|
pure virtual |
Virtual function call required by binary function objects.
Virtual function call required by binary function objects.
arg1 | : the first argument. |
arg2 | : the second argument. |
Virtual function call required by binary function objects.
Implemented in ecl::UnaryMemberFunction< C, A, void >, ecl::UnaryMemberFunction< C, A, R >, and ecl::PartiallyBoundBinaryMemberFunction< C, A, B, R >.