Boost logo

Boost Users :

Subject: Re: [Boost-users] [Test] Making use ofboost::exception_diagnostic_information and friends
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2009-08-11 02:33:57


On Mon, Aug 10, 2009 at 9:45 PM, Robert Ramey<ramey_at_[hidden]> wrote:
> Emil Dotchevski wrote:
>> On Mon, Aug 10, 2009 at 5:37 PM, Gennadiy Rozental<rogeeff_at_[hidden]>
>> wrote:
>>> Does this require some kind of RTTI?
>>
>> Some kind, yes, to provide type safety. If the built-in RTTI is
>> disabled, Boost Exception uses the same workaround used by shared_ptr.
>
> I'm curious as to what the statement above refers to. I don't
> remember anything in the shared_ptr documentation which
> refers to that.

It isn't a documented feature, it's only used internally by both
libraries. See boost/detail/sp_typeinfo.hpp, and
boost/exception/detail/type_info.hpp.

Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net