|
Boost : |
Subject: Re: [boost] RFC: A better shared_array
From: Olaf van der Spek (ml_at_[hidden])
Date: 2011-10-19 18:29:07
On Wed, Oct 19, 2011 at 11:56 PM, Rhys Ulerich <rhys.ulerich_at_[hidden]> wrote:
>> No, data() returns a pointer, while begin() returns an iterator (which
>> might be, but doesn't have to be, a pointer).
>
> True in general. This implementation publicly inherits from
> iterator_range<T*>. Are there cases where iterator_range<T*>::begin()
> could return anything but a pointer?
No, but my request is for data()
-- Olaf
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk