Boost logo

Boost Users :

Subject: Re: [Boost-users] [boost][msm] std::vector<MyStateMachine> generate stack overflow
From: Christophe Henry (christophe.j.henry_at_[hidden])
Date: 2011-05-20 17:06:20


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

There are quite a few ones, yes. But I'd suspect a problem with
inheriting. I got quite a few problems with getting a wrong type when
inheriting from state_machine. Specifically, the compiler saw the
derived type (we call it Derived) sometimes as Derived, sometimes as
state_machine<Derived...>.

Regards,
Christophe

> Stephan T. Lavavej
> Visual C++ Libraries Developer


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