Noeud:Function Adaptor Reference, Noeud « Previous »:Standard Function Objects, Noeud « Up »:Function Object Summary
This completes the adaptors given in Function Adaptors.
Expression | Effect
|
mem_fun(op) | calls op as a constant member function for an object
|
mem_fun_ref(op) | calls op as a constant member function for an object that has a
pointer to it
|
bind1st(op, val) | takes a binary function object op and a value val , and
returns a unary function object with the first argument of op bound
to val . Thus bind1st(op, val) becomes op(val, param) .
|
bind2nd(op, val) | takes a binary function object op and a value val , and
returns a unary function object with the second argument of op
bound to val . Thus bind2nd(op, val) becomes op(param,
val) .
|