|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2005-03-06 18:26:56
Alexander Nasonov <alnsn_at_[hidden]> writes:
> Nicolas Fleury wrote:
>> As someone working in the game industry, I can say that right now, even
>> if we use fully use Boost in our tools, in our engine we use Boost with
>> parsimony (typically libraries .hpp without .lib; easier to control code
>> size) and also disable RTTI since the memory overhead is not worth the
>> cost. A performant state machine mechanism working without RTTI would
>> be interesting.
>
> I always suspected that -fno-rtti is still widely used :)
>
> This example seems to work with g++ -fno-exceptions -fno-rtti
> http://boost-consulting.com/boost/libs/mpl/example/fsm/player2.cpp
That one is the 2nd of two dave-style FSMs. The first is attached.
I should really stick this in the Boost tree.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk