Boost logo

Boost :

Subject: Re: [boost] [msm] eUML guard/action location
From: David Abrahams (dave_at_[hidden])
Date: 2010-01-12 08:04:56


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

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk