Subject: Re: [boost] Is there a way to specialize how a smart_ptr<T> releases the T?
From: Rutger ter Borg (rutger_at_[hidden])
Date: 2012-10-24 08:42:30


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?

Regards,

Rutger