Boost logo

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-18 19:13:50


2011/5/19 Klaim - Joël Lamotte <mjklaim_at_[hidden]>

>
>> I'd be quite surprised that it has much to do with the vector.
>
>
It's not the vector, it's the copy constructor. You can see the same problem
with :

    RealStateMachine sma;
    RealStateMachine smb( sma );

At the moment I'm not sure exactly what makes it a recursive call. Was the
generated state machine not thought to be copied, or did I made a mistake?

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