Binder and Negator in C++

Binder:  A binder is used to bind an argument to a function object. In C++ there are two binders bind1st() and  bind2nd().

Syntax of bind1st():

bind1st(binfunction_object, value)

Syntax of bind2nd():

bind2nd(binfunction_object, value)

where, binfunction_object is the binary function object.

Negator: It is used to return the complement of a predicate. It is of two types not1() and not2().

Syntax of not1():


Syntax of not2():


Leave a Reply