
Alexander Nasonov <alnsn@yandex.ru> 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