Virtual interface definition for binary function objects. More...
#include <function_objects.hpp>
Public Types | |
typedef A1 | first_argument_type |
The first argument type. | |
typedef R | result_type |
The result type. | |
typedef A2 | second_argument_type |
The second argument type. | |
Public Member Functions | |
virtual result_type | operator() (first_argument_type arg1, second_argument_type arg2)=0 |
Virtual function call required by binary function objects. | |
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 97 of file function_objects.hpp.
typedef A1 ecl::BinaryFunction< A1, A2, R >::first_argument_type |
The first argument type.
Definition at line 100 of file function_objects.hpp.
typedef R ecl::BinaryFunction< A1, A2, R >::result_type |
The result type.
Definition at line 99 of file function_objects.hpp.
typedef A2 ecl::BinaryFunction< A1, A2, R >::second_argument_type |
The second argument type.
Definition at line 101 of file function_objects.hpp.
virtual ecl::BinaryFunction< A1, A2, R >::~BinaryFunction | ( | ) | [inline, virtual] |
Definition at line 110 of file function_objects.hpp.
virtual result_type ecl::BinaryFunction< A1, A2, R >::operator() | ( | first_argument_type | arg1, |
second_argument_type | arg2 | ||
) | [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::PartiallyBoundBinaryMemberFunction< C, A, B, R >, ecl::UnaryMemberFunction< C, A, void >, and ecl::UnaryMemberFunction< C, A, R >.