Boost logo

Boost :

Subject: Re: [boost] make_shared_array
From: Olaf van der Spek (ml_at_[hidden])
Date: 2012-11-03 08:11:23


On Sat, Nov 3, 2012 at 1:20 AM, Peter Dimov <lists_at_[hidden]> wrote:
> At the moment I'm inclined to leave shared_array as is, purely as a legacy,
> and focus on shared_ptr<T[]> as the spiffy new way forward.

What about a variant (of either shared_ptr<T[]> or shared_array) that
knows it's size and can thus be used as a range/sequence?
There's demand for it too.

-- 
Olaf

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk