bind2nd function template — Creates a binder2nd function object
template <typename Operation, typename T>
binder2nd<Operation> bind2nd(const Operation& op, const T& x);
The bind2nd
function is a
convenient way to construct a binder2nd
object. Use bind2nd
when you have a binary function
and always want to supply the same value as the first argument to
the function.