[Boost-bugs] [Boost C++ Libraries] #7237: Make sub_match a proper range

Subject: [Boost-bugs] [Boost C++ Libraries] #7237: Make sub_match a proper range
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-08-16 02:19:19


#7237: Make sub_match a proper range
------------------------------------+---------------------------------------
 Reporter: zeratul976@… | Owner: eric_niebler
     Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: xpressive
  Version: Boost 1.51.0 | Severity: Problem
 Keywords: |
------------------------------------+---------------------------------------
 boost::xpressive::sub_match comes close to being a proper Range, but it's
 not quite. It has a nested type named 'iterator', but not one named
 'const_iterator', and it lacks begin() and end() functions.

 It should be very straightforward to add these missing bits and make it a
 proper range. Alternately, it could derive from
 boost::iterator_range<BidiIter> rather than std::pair<BidiIter, BidiIter>.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7237>
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:10 UTC