
8 Jan
2005
8 Jan
'05
3:32 p.m.
On Jan 8, 2005, at 6:00 AM, John Maddock wrote:
Okay, so let's have BOOST_NO_RTTI defined when the compiler/environment does not support RTTI, and we can use it to turn off use of RTTI in some Boost components :)
But Peter is right, there are macros here... perhaps BOOST_NO_RTTI and BOOST_NO_DYNAMIC_RTTI, with the former implying the latter.
Sounds reasonable to me, but do we ever use RTTI in non-dynamic situations anyway?
Well, Function does. You can get the static type of the target function object. Doug