
26 Oct
2011
26 Oct
'11
9:14 p.m.
On Wed, Oct 26, 2011 at 11:02 PM, Ivan Sorokin <vanyacpp@gmail.com> 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 doesn't. -- Olaf