|
Boost : |
From: Simon Meiklejohn (Simon.Meiklejohn_at_[hidden])
Date: 2004-05-27 17:53:02
On the subject of Constructors/destructors for state entry/exit-
A consideration is that the state object also gets deleted on shutdown
(or deletion of the FSM), which is not a state-transition event as such.
Entry/Exit functions are more explicitly about state transitions,
whereas destructors/constructors make us need to think about state
object lifetimes and needlessly constrain implementation down a certain
path.
Simon
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk