
11 Sep
2009
11 Sep
'09
1:37 p.m.
On Fri, Sep 11, 2009 at 10:33 AM, Frank Mori Hess <frank.hess@nist.gov> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
[snip]
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?
Probably. 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