Subject: Re: [boost] [MSM] Is there any interest in C++14 Boost.MSM-eUML like library which compiles up to 60x quicker whilst being a slightly faster too?
From: Krzysztof Jusiak (krzysztof_at_[hidden])
Date: 2016-02-02 16:18:35
On Tue, Feb 2, 2016 at 6:41 PM, Vicente J. Botet Escriba <
> Oh, I see that you have anonymous transitions.
> I see that MSM eUML defines the transitions like
> target == source + event [guard] / action
> but MSM-lite reverse the source and target
> src_state == dst_state + event[ guard ] / action This is confusing.
> Why have you chosen this syntax? Vicente
Well, I read it from left to right and therefore I found it more natural
for me to do it this way. However, msm-lite supports both syntaxes.
You change it to dst_state == src_state by setting
up BOOST_MSM_DSL_DST_STATE_FIRST. Currently the default is src == dst but
it might be changed
to the, less confusing, one if that what devs are more comfortable with.
You can find an example here ->
Cheers for the question, Kris
> Unsubscribe & other changes:
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk