binder1st, bind1st |
A unary function object that
applies a binary function to an operand and a predefined value. Use the
associated adapter function bind1st() to
conveniently construct a binder1st object directly
from a function and a value. This object is called binder1st
because the operand is used as the first parameter to the binary function. The
second parameter is supplied. Use binder2nd if you
want the operand to be used as the second parameter.
#include <functional>
template< class Operation >
class binder1st : public unary_function
<
typename Operation::second_argument_type,
typename Operation::result_type
>
binder1st
object associated with operation op and value value
.( value ,
x ) .Copyright©1994-2026 Recursion Software LLC
All Rights Reserved - For use by licensed users only.