golib
0.5
|
Function representation (not member function) for functions with 0 arguments. More...
#include <gofunctor2.h>
Public Types | |
typedef Tret(* | function_t) () |
Function type represented by this class. | |
typedef Tret(* | function_t) () |
Function type represented by this class. | |
Public Member Functions | |
goFunction0 (function_t function) | |
virtual Tret | operator() () |
Calls the function set to this functor. More... | |
virtual Tret | operator() () const |
virtual goFunctorBase0< Tret > * | createCopy () const |
goFunction0 (function_t function) | |
virtual Tret | operator() () |
Calls the function set to this functor. More... | |
virtual Tret | operator() () const |
Function representation (not member function) for functions with 0 arguments.
The first template argument is the return type, the others are argument types.
|
inlinevirtual |
Calls the function set to this functor.
p | Whatever parameter the represented function takes. |
Implements goFunctorBase0< Tret >.
|
inlinevirtual |
Calls the function set to this functor.
p | Whatever parameter the represented function takes. |
Implements goFunctorBase0< Tret >.