Boost logo

Boost :

Subject: Re: [boost] [smart_ptr] scoped_array / shared_array (size_t) constructor
From: Olaf van der Spek (ml_at_[hidden])
Date: 2011-10-26 17:14:50

On Wed, Oct 26, 2011 at 11:02 PM, Ivan Sorokin <vanyacpp_at_[hidden]> wrote:
> Maybe off-topic, but why should one prefer scoped_array to vector? Just
> curious, I never used it myself.

Me neither, but scoped_array can take ownership of an existing array.
And it can be used when construction of elements (like int) is
unwanted. I expected it to also support release(), but it seems it


Boost list run by bdawes at, gregod at, cpdaniel at, john at