Boost logo

Boost :

Subject: Re: [boost] Rationale for shared_ptr/array including both ptr to control and ptr to data in class
From: Roman Perepelitsa (roman.perepelitsa_at_[hidden])
Date: 2011-09-26 08:47:31


2011/9/26 Olaf van der Spek <ml_at_[hidden]>

> On Mon, Sep 26, 2011 at 2:11 PM, Mathias Gaunard
> <mathias.gaunard_at_[hidden]> 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 shared_array doesn't have it.

Roman Perepelitsa.


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