I've read the tutorial of boost.statechart library and its examples, and I've a question related to the transition and its action.
There are two ways to define the transition using transition<>
and custom_reaction
but what is the main difference between them and when to use anyone of this?