Boost logo

Boost Users :

Subject: [Boost-users] [msm] exit points & favor compile time policy
From: Alexander Mingalev (infest21h_at_[hidden])
Date: 2013-08-07 06:41:53


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?




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