Boost C++ Libraries: Ticket #5472: u32regex_token_iterator broken for int submatch[] and vector<int> submatch https://svn.boost.org/trac10/ticket/5472 <p> In u32regex_token_iterator.hpp, a couple of the make_u32regex_token_iterator templates do not pass submatch along to the underlying constructor. </p> <p> In particular, the int[] and vector&lt;int&gt; flavors are broken, so you can't get simultaneous matches/nonmatches. </p> <p> Since there is no version of the constructor omitting submatch, the bug may be more insidious for certain values of match_flag_type being auto type converted! </p> <p> I noticed this in 1.45.0, and still broken in trunk. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5472 Trac 1.4.3 John Maddock Mon, 25 Apr 2011 10:49:29 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/5472#comment:1 https://svn.boost.org/trac10/ticket/5472#comment:1 <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> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/71478" title="Pass submatches along to token-iterator constructor. Fixes #5472.">[71478]</a>) Pass submatches along to token-iterator constructor. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5472" title="#5472: Bugs: u32regex_token_iterator broken for int submatch[] and vector&lt;int&gt; submatch (closed: fixed)">#5472</a>. </p> Ticket