Boost logo

Boost :

Subject: Re: [boost] Is there a way to specialize how a smart_ptr<T> releases the T?
From: Francois Duranleau (xiao.bai.xiong_at_[hidden])
Date: 2012-10-24 09:41:54

On Wed, Oct 24, 2012 at 8:42 AM, Rutger ter Borg <rutger_at_[hidden]> wrote:
> On 2012-10-24 13:21, David Hagood wrote:
>> I guess what I can do to avoid the risk would be to derive from
>> shared_ptr and provide the destructor in my ctor.
> Maybe you might be interested in using an intrusive_ptr<> instead, then?

That, or what about defining operators new and delete for those types?

François Duranleau

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