Re: [boost] [msm] eUML guard/action location

You could declare those instances at namespace scope, in the same way most Proto terminals are declared, non?
The user could. But not the library writer AFAIU, since these state types are created by the user.
Exactly. Of course the library could predefine some state names (the way I understand arg1, arg2, etc. are defined) but I'm afraid it'd barely be an improvement. Christophe

At Sun, 10 Jan 2010 17:49:46 +0100, Christophe Henry wrote:
You could declare those instances at namespace scope, in the same way most Proto terminals are declared, non?
The user could. But not the library writer AFAIU, since these state types are created by the user.
Exactly. Of course the library could predefine some state names (the way I understand arg1, arg2, etc. are defined) but I'm afraid it'd barely be an improvement.
IMO making it easy for the user to declare these things (maybe with a macro) and documenting that as the normal approach, dropping all the parens, could be a big improvement. -- Dave Abrahams Meet me at BoostCon: http://www.boostcon.com BoostPro Computing http://www.boostpro.com
participants (2)
-
Christophe Henry
-
David Abrahams