C++ function pointer to a class method:
class Giant {
public:
void method();
};
typedef void (Giant::*Action)();
Taken from Command - Design Pattern
http://www.vincehuston.org/dp/command.html
adventures in the land of coding
C++ function pointer to a class method:
class Giant {
public:
void method();
};
typedef void (Giant::*Action)();
No comments:
Post a Comment