
15 Mar
2011
15 Mar
'11
8:33 a.m.
Thank you for your quick respond. I'm sorry for the small errors in my code, below is a code that compiles, but as I try to run ./statemachine I get the following error:
Probably this crash is related to the fact that you're already in FSM destructor, so dynamic_cast fails to cast to the FSM. It's worth seeing what standard says about dynamic_cast applicability in such a case...