|
Boost Users : |
From: Andreas Huber (ahd6974-spamboostorgtrap_at_[hidden])
Date: 2008-04-13 10:10:58
Hi Igor
> Unfortunately, it still produces compile-time error for the same reason...
> The error occures when void state_machine::initial_construct() is being
> compiled, since the InitialState is not defined yet.
Sorry, my bad. I forgot to mention that you need to add a class member
specialization as well, right after the declaration of your FSM:
template<>
void sc::asynchronous_state_machine<
YourClassName, YourInitialStateName >::initiate_impl() {}
> Probably you've got some example that compiles for sure?
Yes, please see the changed PingPong example in the SVN trunk. Verified with
VC++ 9.0.
HTH & Regards,
Andreas
-- Andreas Huber When replying by private email, please remove the words spam and trap from the address shown in the header.
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