The deprecated C++ function template std::bind2nd() generates an unary function object from a binary function object by fixing the second parameter.