Boost logo

Boost :

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: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2016-02-16 17:15:51


Le 16/02/2016 17:44, Krzysztof Jusiak a écrit :
> Yea, but that would mean that guard has to be evaluated before exit of the
> state or any action, so the order would be.
>
> 1. guard [to enable transition]
> 2. exit src state
> 3. actions...
> 4. entry dst state
>
> When the actual state change should happen in above sequence it's not
> stated in the document as well.
>
> I would assume following order according to the spec + a bit of rationality?
>
> 1. guard [to enable transition]
> 2. exit src state
> 3. actions...
> 4. CHANGE THE STATE TO DST HERE?
> 5. entry dst state
>
I agree. It was evident to me, but I can not point to any wording.

Vicente


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