Boost logo

Boost :

Subject: Re: [boost] [shifted_ptr] Review Request
From: Nevin Liber (nevin_at_[hidden])
Date: 2011-04-06 21:19:32


On 6 April 2011 13:12, Phil Bouchard <philippe_at_[hidden]> wrote:

> On 4/6/2011 10:24 AM, Olaf van der Spek wrote:
>
>>
>>> Does it use make_shared?
>>>>
>>>
>>> No.
>>>
>>
>> Not very meaningful either, I'm afraid.
>>
>
> I don't see the need for an intrusive_ptr<> anymore.
>

When using make_shared or allocate_shared, you cannot have a custom deleter
(although intrusive_ptr is more like the deleter in unique_ptr than
shared_ptr, being per type instead of per object).

-- 
 Nevin ":-)" Liber  <mailto:nevin_at_[hidden]>  (847) 691-1404

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk