
1 Jun
2010
1 Jun
'10
7:58 p.m.
At Tue, 1 Jun 2010 20:08:20 +0200, Christophe Henry wrote:
Hi Michael,
As already explained in another thread, it is possible to pass constructor arguments to msm state machines (to the front end).
Is it also possible to pass constructor arguments to submachines of a msm state machine?
Unfortunately, not yet. There was a proposal made during the review to allow states (including submachines) to be cloned from an existing one, but it is not implemented yet.
The Parameter library can sometimes be used to make this sort of thing work nicely. See Boost.Accumulators, for example. -- Dave Abrahams BoostPro Computing http://www.boostpro.com