$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Michael Marcin (mike.marcin_at_[hidden])
Date: 2008-08-28 12:27:58
Sebastian Redl wrote:
> Phil Bouchard wrote:
>> As it turns out I think a release() member function should be added to
>> the smart pointer.
> Which smart_ptr?
>
> I think scoped_ptr should have a release(). It's technically impossible
> to add a useful one to the refcounted smart pointers.
>
It works for refcounted smart pointers iff p.unique() == true.
Thanks,
Micahel Marcin