blob: 2641801b1e4f52076e59fbf94aa971d447829d0a [file] [log] [blame]
// PR c++/30108
class BaseRobot {
typedef void (BaseRobot::*PseudoState)(void);
typedef PseudoState STATE;
STATE initial ();
int ready ();
STATE stpOtherTask ();
STATE commonEventProcessing (STATE pIdleTarget=(STATE)&BaseRobot::ready);
};
BaseRobot::STATE BaseRobot::initial ()
{
return commonEventProcessing ();
}
BaseRobot::STATE BaseRobot::stpOtherTask ()
{
return commonEventProcessing ();
}