Boost C++ Libraries: Ticket #11036: make sub_match a Range https://svn.boost.org/trac10/ticket/11036 <p> boost::sub_match is conceptually already a Range. It already provides the correct typedefs and only misses the <code>begin()</code> and <code>end()</code> iterator retrieval functions. </p> <p> Alternatively implementing the <code>range_begin(sub_match&amp;)</code> and <code>range_end(sub_match&amp;)</code> functions would achieve the same: <a href="http://www.boost.org/doc/libs/1_57_0/libs/range/doc/html/range/reference/extending/method_2.html">http://www.boost.org/doc/libs/1_57_0/libs/range/doc/html/range/reference/extending/method_2.html</a>. That however would not permit direct usage with C++11's foreach, member methods <code>begin()</code> and <code>end()</code> would. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11036 Trac 1.4.3 giel@… Fri, 06 Mar 2015 09:06:47 GMT <link>https://svn.boost.org/trac10/ticket/11036#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11036#comment:1</guid> <description> <p> A patch is available in pull request 11 on boostorg/regex (not putting a link here because it complains about spam and asks me to fill out a captcha which it refuses to display). </p> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Thu, 19 Mar 2015 19:50:44 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/11036#comment:2 https://svn.boost.org/trac10/ticket/11036#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Fixed in Git develop. </p> Ticket