$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Loïc Joly (loic.actarus.joly_at_[hidden])
Date: 2008-07-12 18:32:40
Sid Sacek a écrit :
> Isn't the 'unique_ptr<>' a replacement for the standard C++ auto_ptr<> that's going to be deprecated in the next standard?
>
It is both a replacement for std::auto_ptr & for boost::scoped_ptr :
- It has single ownership, like scoped_ptr
- It can transfert its ownership, like auto_ptr (but does so by move
semantic, not by a a copy with a strange semantic).
- It also has custom deleter semantic
-- Loïc