Template Class BinaryFunction
Defined in File function_objects.hpp
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.
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()