Standard C++ Library Class Reference

objects are required to provide the typedefs first_argument_type, second_argument_type, and
result_type. The binary_function class makes the task of creating templated binary function
objects easier by providing the necessary typedefs for a binary function object. You can create
your own binary function objects by inheriting from binary_function.
See Also
Function Objects, unary_function, the Function Objects section of the User's Guide.