|
Boost Users : |
Subject: Re: [Boost-users] [boost][msm] std::vector<MyStateMachine> generate stack overflow
From: Klaim - Joël Lamotte (mjklaim_at_[hidden])
Date: 2011-05-20 09:32:28
On Fri, May 20, 2011 at 06:51, Stephan T. Lavavej <
stl_at_[hidden]> wrote:
> [Christophe Henry]
> > Maybe Stephan is aware of this problem?
>
> I haven't heard of this problem before. (Is a templated constructor
> involved? They can be squirrely.)
>
>
I didn't write one, here is the state machine declaration (from my previous
email):
class StateMachine
: public boost::msm::front::state_machine_def< StateMachine >
{
public:
typedef State_HelloWorld initial_state;
struct transition_table : public boost::mpl::vector
<
_row< State_HelloWorld, event::exit, State_Exit >
>
{};
StateMachine();
~StateMachine();
};
class RealStateMachine
: public boost::msm::back::state_machine< StateMachine >
{
public:
};
A link to the email, there is a link to the full test project zip:
http://permalink.gmane.org/gmane.comp.lib.boost.user/67960
> If you can provide a self-contained test case in the form of a preprocessed
> file, I can file a compiler bug - but it would be better if you filed one
> through Microsoft Connect, since that way you can directly get feedback (and
> they can ask you for more info if necessary).
>
>
Ok, I will create provide that project to MS Connect then.
Joël Lamotte
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