$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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...