|
| Functor () |
| Default constructor.
|
|
R | operator() (const A1 &p1) const |
| Unary function call.
|
|
template<class C , typename M > |
| Functor (C *instance, M method) |
| Construct from a class instance and unary method.
|
|
template<class C , typename M > |
| Functor (const C &instance, M method) |
| Construct from a class instance and unary method.
|
|
template<typename F > |
| Functor (F function) |
| Construct from a unary function.
|
|
template<class C , typename M > |
void | set (C *instance, M method) |
| Set equal to a class instance and unary method.
|
|
template<typename F > |
void | set (F function) |
| Set equal to a unary 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 unary functions.
This class satisfies the STL definition of an Adaptable Unary Function