
26 Sep
2011
26 Sep
'11
12:46 p.m.
On 26/09/2011 14:42, Olaf van der Spek wrote:
On Mon, Sep 26, 2011 at 2:11 PM, Mathias Gaunard <mathias.gaunard@ens-lyon.org> wrote:
Ah. BTW, why doesn't shared_array provide size()? IMO it'd be quite useful to have.
Because it's not storing that information.
So why is it not storing that info?
Because it doesn't have it to begin with, and doesn't aim at having it. It's just a shared_ptr variant that calls delete[] instead of delete.