
29 Jun
2007
29 Jun
'07
6:29 a.m.
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