From: Neal D. Becker (ndbecker2_at_[hidden])
Date: 2004-09-02 13:30:55
Stefan Seefeld wrote:
>> From: Jurko GospodnetiÃ¦ [mailto:jurko_at_[hidden]]
>> Sent: September 2, 2004 04:14
>> 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.
> Out of curiosity: why would anybody not use RTTI ? Why shouldn't
> compilers without RTTI just considered broken ?
Disable generation of information about every class with virtual
functions for use by the C++ runtime type identification features
(`dynamic_cast' and `typeid'). If you don't use those parts of
the language, you can save some space by using this flag. Note
that exception handling uses the same information, but it will
generate it as needed.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk