Boost logo

Boost Users :

Subject: Re: [Boost-users] [StateChart] pass objectpointer to FSM?
From: Igor R (boost.lists_at_[hidden])
Date: 2011-03-15 04:33:21


> 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...


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net