Re: [Boost-bugs] [Boost C++ Libraries] #5930: data() for iterator_range

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5930: data() for iterator_range
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-11-07 15:43:32


#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:5 rhys.ulerich@…]:
> How can a member method be provided only under certain runtime
 conditions?

 It's not a runtime condition.

> It seems the existing class methods do what one needs and that data()
 could be written as a free function.

 A free function that'd work for all containers / ranges that support
 random access would be fine too.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5930#comment:6>
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