The deprecated C++ function template std::bind2nd() generates an unary function object from a binary function object by fixing the second parameter.
std::bind2nd
is (as part of the c++11 standard, INCITS/ISO/IEC 14882-2011) a deprecated function template in the C++ general utilities library (function objects; header <functional>
).
It can (but should -in C++11- no longer) be used to perform Partial function application by creating an unary function object from a binary function object by binding the second parameter to a certain value.
In C++11, it's functionality can be shaped with the help of std::bind
/ stdbind instead.