Subject: Re: [boost] scoped_allocator_ptr
From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2009-09-11 09:37:07
On Fri, Sep 11, 2009 at 10:33 AM, Frank Mori Hess <frank.hess_at_[hidden]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> unique_ptr has deleter and move support. Maybe a boost::unique_ptr would be
> better to have than an enhanced scoped_ptr and a move_ptr?
Though a scoped_ptr has a more restrict meaning, so it is useful too.
But I'm not very strong about it.
Also, it is easier to create a make_unique_ptr with a Allocator
parameter because of the move support.
Where is unique_ptr? I can't find it in the documentation.
-- Felipe Magno de Almeida
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk