
Hi Stefan [snip]
struct State : sc::simple_state< State<context>, context >
{ // Some application-specific things
};struct StateA : State< StateMachine > { typedef sc::transition< Event, StateB > reactions; }; struct StateB : State< StateMachine >
{ typedef sc::transition< Event, StateA > reactions; }; [snip]
May I be violating some prerequisites here?Thank you for any help you can provide, Stefan.
Yes, the first template argument passed to simple_state must be the *most-derived* simple_state<> subclass. Please see: http://www.boost.org/doc/libs/1_36_0/libs/statechart/doc/reference.html#Clas..., Class template simple_state parameters HTH, -- Andreas Huber When replying by private email, please remove the words spam and trap from the address shown in the header.