Template Class BinaryFunction
Defined in File function_objects.hpp
Inheritance Relationships
Derived Types
public ecl::PartiallyBoundBinaryMemberFunction< C, A, B, R >
(Template Class PartiallyBoundBinaryMemberFunction)public ecl::UnaryMemberFunction< C, A, R >
(Template Class UnaryMemberFunction)
Class Documentation
-
template<typename A1, typename A2, typename R = void>
class BinaryFunction Virtual interface definition for binary function objects.
Virtual interface definition for binary function objects (i.e. functions that take a pair of arguments).
See also
FunctionObjects.
- Template Parameters:
R – : the return type.
A1 – : the first argument type.
A2 – : the second argument type.
Subclassed by ecl::PartiallyBoundBinaryMemberFunction< C, A, B, R >, ecl::UnaryMemberFunction< C, A, R >
Public Types
Public Functions
-
virtual result_type operator()(first_argument_type arg1, second_argument_type arg2) = 0
Virtual function call required by binary function objects.
Virtual function call required by binary function objects.
Virtual function call required by binary function objects.
- Parameters:
arg1 – : the first argument.
arg2 – : the second argument.
-
inline virtual ~BinaryFunction()