$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [unique_ptr] So how is it used differently?
From: Michael Marcin (mike.marcin_at_[hidden])
Date: 2008-12-22 21:10:39
Mathias Gaunard wrote:
> Sid Sacek wrote:
>
>> 1) When would I choose unique_ptr<> over auto_ptr<> ?
>
> Always.
> auto_ptr is deprecated and is dangerous.
>
> unique_ptr, for example, perfectly works with containers.
>
With containers written to support unique_ptr or with any Container as
defined by the standard's concept?
-- Michael Marcin