Re: [boost] shared_ptr and RTTI?

Foster Brereton wrote:
shared_ptr uses typeid(Type) in get_deleter. This functionality is available in most compilers even when RTTI is off, with g++ being the notable exception. In the spirit of being a notable exception, g++ also doesn't provide a predefined macro when -fno-rtti is used (or not used.) I can add BOOST_SP_DISABLE_GET_DELETER if this would help. If the review manager agrees that not having this macro is a bug in 1.33, it can even go into 1.34.

Adding BOOST_SP_DISABLE_GET_DELETER would be great, thanks. If there is a relatively simple back-port to 1.33.1 that is possible, too, it would be ideal. Thanks, Peter. Blessings, Foster On 4/27/06, Peter Dimov <pdimov@mmltd.net> wrote:
-- Foster T. Brereton - Computer Scientist Software Technology Lab, Adobe Systems Incorporated fbrereto@adobe.com -- http://opensource.adobe.com
participants (2)
-
Foster Brereton
-
Peter Dimov