Boost logo

Boost :

Subject: Re: [boost] Rationale for shared_ptr/array including both ptr to control and ptr to data in class
From: Robert Kawulak (robert.kawulak_at_[hidden])
Date: 2011-09-26 16:02:19


> From: Olaf van der Spek
> Not having size() and others like begin, end, etc, is a serious
> drawback IMO.

Then why not simply use either shared_ptr<array<T, N>> or
shared_ptr<vector<T>>?

Best regards,
Robert


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