Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::exception_detail::error_info_base does not have virtual destructor
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-03-18 16:16:35


AMDG

On 03/18/2011 12:33 PM, Ted Byers wrote:
> OK. Good. But how? I am not one to settle for 'it just works'. Rather, I
> like to dig into code to see precisely how it works. Though, when dealing
> with business admin types, whose eyes glaze over in incomprehension the
> moment the discussion begins to get technical, I too use the sentence "Trust
> me, it just works." ;-)
>
> I actually had the code for boost:shared_ptr open, as a result of Frank
> Hess' message, looking for where and how this capability was implemented.
>
> I don't suppose you can speed my examinatin of this code by giving me some
> line numbers ... ?

The code for managing destruction is in
boost/smart_ptr/detail/sp_counted_base.hpp
and boost/smart_ptr/detail/sp_counted_impl.hpp

In Christ,
Steven Watanabe


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