Defined in header <functional> template<
class Arg1,
class Arg2,
class Result
> struct binary_function; (until C++17)(deprecated since c++11)
binary_function is a base class for creating function objects with two arguments.
binary_function does not define operator(); it is expected that derived classes will define this. binary_function provides only three types - first_argument_type, second_argument_type and result_type - defined by the template parameter