Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2008-08-17 19:16:33


on Sun Aug 17 2008, Andrey Semashev <andrey.semashev-AT-gmail.com> wrote:

>>> Please, have a look at my reply to Phil. I've attached a code snippet
>>> with a transition map. Does that look more declarative?
>>
>> Not really, to me. It's very difficult for me to see the transitions in
>> that code. Compare that with either of my player examples.
>
> Hmm... I don't see much difference, except for comments markup. Both
> code samples use transition maps, both use vectors... Is it because the
> transition map in your code is a member of the complete FSM?

No state transition table (STT) is immediately apparent to me in your
code. Could you post just that fragment?

-- 
Dave Abrahams
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