|
| Functor () |
| Default constructor.
|
|
R | operator() (const A1 &p1, const A2 &p2) const |
| Binary function call.
|
|
template<class C , typename M > |
| Functor (C *instance, M method) |
| Construct from a class instance and binary method.
|
|
template<class C , typename M > |
| Functor (const C &instance, M method) |
| Construct from a class instance and binary method.
|
|
template<typename F > |
| Functor (F function) |
| Construct from a binary function.
|
|
template<class C , typename M > |
void | set (C *instance, M method) |
| Set equal to a class instance and binary method.
|
|
template<typename F > |
void | set (F function) |
| Set equal to a binary function.
|
|
bool | operator! () const |
| Return true if functor is not defined.
|
|
| operator bool () const |
| Return true if functor is defined.
|
|
const FunctorBase * | get_functor () const |
| Get the pointer to the functor implementation.
|
|
template<typename R, typename A1, typename A2>
class Functor< R(A1, A2) >
Template specialization of binary functions.
This class satisfies the STL definition of an Adaptable Binary Function