#include <func.h>
Public Types | |
typedef Res(T::* | FuncType) () |
Public Member Functions | |
Functor0Mem (T *t, const FuncType &func) | |
bool | isValid () const |
Res | operator() () const |
Functor object for a class member function without parameter.
Example creation:
Foo bar; Functor0Mem<void, Foo> myFunctor(&bar, &Foo::myFunc);
Example usage:
myFunctor();