Boost logo

Boost Users :

Subject: Re: [Boost-users] [msm] exit points & favor compile time policy
From: Christophe Henry (christophe.j.henry_at_[hidden])
Date: 2013-08-08 16:39:34


>Hi,
>
>I faced to a strange problem. I'm working with root fsm & child fsm.
>Child fsm has an exit point called "End".
>I use vs2012u3, boost 1.54
>
>transition table from root looks like that:
>
>struct Waiting : state<> {};
>
>// Child is typedef for back-end
>
>struct transition_table : public boost::mpl::vector<
>...
>Row < Waiting, begin, Child >,
>Row < Child::exit_pt<Child::End>, none, Waiting >,
>...
> > {};

>So, when I use F-C-T- policy, the Child fsm is stuck in Child::End
>state, the root fsm never moves to Waiting again.
>It doesn't happen with default policy.
>
>I noticed, that there is a note in msm's changelog
> From V2.24 to V2.25 (Boost 1.54)
>• Bugfix: Exit points broken for the favor_compile_time policy.
>
>looks similar to my case.
>
>Christophe, can you check that bugfix?

Hi,

hmmm that's strange because yes there was a bug, and it has been fixed and
tested by the one who reported it. I also just checked again my tests and
they're ok.
I could not reproduce your problem. Can you post the complete code? I'm
missing the definition of End, I suspect something with "none".

Unfortunately I'm on the way to vacations so I don't know if I'll manage to
debug as good as at home, it could take a little longer.

Cheers,
Christophe


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