A
Angus
I have this typedef:
typedef CInterface::IFStatus (CInterface::*Action)();
It is used in a state machine function to call a pertinent function
It is used like this:
static const Action actiontable [] =
Which is an array of the functions to call (in particular states.
I am having trouble working out what the typedef is doing? Eg to use
without the typedef what would I substitute for Action?
Can someone explain what is going on here please.
typedef CInterface::IFStatus (CInterface::*Action)();
It is used in a state machine function to call a pertinent function
It is used like this:
static const Action actiontable [] =
Which is an array of the functions to call (in particular states.
I am having trouble working out what the typedef is doing? Eg to use
without the typedef what would I substitute for Action?
Can someone explain what is going on here please.