
2 Sep
2004
2 Sep
'04
11:24 a.m.
No, we don't have a macro for that; BTW I think the Visual C++ is about
Hi John. the
only compiler that doesn't enable it by default :-(
Would it be possible to add this to boost? Something like BOOST_HAS_RTTI? It seems like the best place to put such a macro. The question is just whether enough people would find this useful. Currently I am doing a dynamic_cast if RTTI is available in a debug build in order to assert that the cast is valid. Otherwise a static_cast is used. Regards, Jurko