Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5930: data() for iterator_range
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-11-07 15:50:43
#5930: data() for iterator_range
-----------------------------------+----------------------------------------
Reporter: olafvdspek@⦠| Owner: neilgroves
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: range
Version: Boost 1.47.0 | Severity: Problem
Resolution: | Keywords:
-----------------------------------+----------------------------------------
Comment (by Olaf van der Spek <olafvdspek@â¦>):
Replying to [comment:8 rhys.ulerich@â¦]:
> An iterator_range knowing that it represents a contiguous region of
memory seems like a runtime condition to me. What am I missing?
It's a compile time condition. True for pointers, arrays, array, vector
and string. False for a lot of other things.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5930#comment:9> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:07 UTC