
4 Dec
2009
4 Dec
'09
1:25 p.m.
Hi Christophe, Another question, WRT the member-function template <class Machine, class Event> void no_transition(Event const& e, Machine&, int state) { std::cout << "no transition from state " << state << " on event " << typeid(e).name() << std::endl; } All my states are structs. Why is the state an integer here? How can I (humanly or with MSM) translate that state to one of the states defined? It works, I get a message, but still don't know which transition was not provided... Regards, Barend