Boost logo

Boost :

Subject: Re: [boost] Meta State Machine library review / MSM, question
From: Barend Gehrels (barend_at_[hidden])
Date: 2009-12-04 08:25:00

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

Regards, Barend

Boost list run by bdawes at, gregod at, cpdaniel at, john at