Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7237: Make sub_match a proper range
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-08-29 02:23:59
#7237: Make sub_match a proper range
-------------------------------------+--------------------------------------
Reporter: zeratul976@⦠| Owner: eric_niebler
Type: Feature Requests | Status: assigned
Milestone: To Be Determined | Component: xpressive
Version: Boost 1.51.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------------+--------------------------------------
Changes (by eric_niebler):
* status: new => assigned
Comment:
xpressive's `sub_match` is closely modeled on `std::sub_match`, which
doesn't have the members you refer to. But xpressive doesn't slavishly
follow the standard, and what you suggest is reasonable. I would prefer to
non-intrusively make `sub_match` a valid range by hooking Boost.Range's
customization points.
But would `sub_match`'s `const_iterator` be a typedef for `iterator`, or
would it const-ify the iterator (if necessary)? And do I need
`rbegin`/`rend`, `cbegin`/`cend`, `crbegin`/`crend` and the associated
typedefs, too? Sheesh! Opinions?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7237#comment:1> 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