
11 Apr
2013
11 Apr
'13
5:54 p.m.
Hi,
I have shared data between states which are state machines themselves. I've
stored the shared data in the outer state machine and wish to initialize
each of the inner state machines with a reference to the shared data. Is
this the "right way" to do this? How would I do this?
Here's an example of what I'm doing:
struct Outer_ : state_machine_def