From: Benoit (benoit.casoetto_at_[hidden])
Date: 2007-06-29 03:10:28
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.
2007/6/29, Michael Marcin <mmarcin_at_[hidden]>:
> 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.
> 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"
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk