Boost logo

Boost :

Subject: Re: [boost] scoped_allocator_ptr
From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2009-09-11 08:42:58

On Fri, Sep 11, 2009 at 9:38 AM, Frank Mori Hess <frank.hess_at_[hidden]> wrote:
> Hash: SHA1
> On Friday 11 September 2009, Felipe Magno de Almeida wrote:
>> Hi,
>> Is there an interest in a scoped_ptr that receives a Allocator parameter?
> I don't understand.  I didn't think scoped_ptr did any allocations.

It doesn't, but it calls delete. Which is not appropriate when using
an Allocator.
Though a make_scoped_ptr would be quite handy too for a scoped_ptr
with Allocator


Felipe Magno de Almeida

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