> 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() {}
>

Ok, now it's almost ok :). One minor issue is that machine_base is a private typedef, so I substituted it by the explicit type:
 
void MyClassName::initiate_impl()
{
  state_machine<MyClassName, MyInitialState>::initiate();
}

This way it compiles well.
 
Thanks again!


Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! Try it!