golib
0.5
|
Function representation (not member function) for functions with 1 arguments. More...
#include <gofunctor2.h>
Public Types | |
typedef Tret(* | function_t) (Targ0 arg0) |
Function type represented by this class. | |
typedef Tret(* | function_t) (Targ0 arg0) |
Function type represented by this class. | |
Public Member Functions | |
goFunction1 (function_t function) | |
virtual Tret | operator() (Targ0 arg0) |
Calls the function set to this functor. More... | |
virtual Tret | operator() (Targ0 arg0) const |
virtual goFunctorBase1< Tret, Targ0 > * | createCopy () const |
goFunction1 (function_t function) | |
virtual Tret | operator() (Targ0 arg0) |
Calls the function set to this functor. More... | |
virtual Tret | operator() (Targ0 arg0) const |
Function representation (not member function) for functions with 1 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 goFunctorBase1< Tret, Targ0 >.
|
inlinevirtual |
Calls the function set to this functor.
p | Whatever parameter the represented function takes. |
Implements goFunctorBase1< Tret, Targ0 >.