Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2004-09-02 06:42:41

Jurko Gospodnetiæ wrote:
> Hi all.
> I was wondering if boost has any portable way for detecting whether
> RTTI is enabled? (For instance a macro expanding to _CPPRTTI in
> Visual Studio). If there is, I have not been able to find it.

No, there is no BOOST_NO_RTTI. BTW "no RTTI" on g++ means no RTTI, period.
On MSVC, it means "no dynamic_cast or typeid on polymorphic types, but
everything else (f.ex. typeid(T) for a type) works".

Boost list run by bdawes at, gregod at, cpdaniel at, john at