
Hello The variant library does not rely in any way on RTTI. That should solve your problem :-) Each variant instance stores an additional field describing the type of the contained object. Benoît Casoetto 2007/6/29, Michael Marcin <mmarcin@method-solutions.com>:
I need something similar to variant to optimize dynamic dispatches in my application much like what GIL uses. Unfortunately one of my target platforms does not support RTTI.
How much does variant rely on the facilities of RTTI?
Is it reasonable/possible to consider replacing RTTI to remove that dependency? I had to add a BOOST_NO_RTTI config macro locally several months ago in order to use lexical_cast. Perhaps RTTI could be used conditionally based on something similar.
Thanks,
Michael Marcin
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
-- Benoît "When you have a hammer, everything else looks like a nail"