Hi Igor
I'd like to define some events of my state machine as templates that would be instantiated just before posting to the state machine. However, it seems that there is no way to define reactions with unspecialized templates, so I have to specialize them at the stage of reaction definition.
Right, for a reaction you have to specify a actual type, not a template.
The way to do this I can think about is to parametrize the state machine itself. But this means parametrizing *all* the states:
Exactly.
Besides, all the state machine then should be defined in the header file.. Do I miss something? Is there some less weird way to do this?
I'm afraid, I don't see any good way how you could do this. May I ask why you'd need to define a reaction for a templated event? Regards, -- Andreas Huber When replying by private email, please remove the words spam and trap from the address shown in the header.