
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 while this does not http://boost-consulting.com/boost/libs/mpl/example/fsm/player.cpp (you can also find them in $BOOST_ROOT/libs/mpl/example/fsm). -- Alexander Nasonov