Boost C++ Libraries: Ticket #12817: Too strong iterator requirements in qi::parse and qi::phrase_parse https://svn.boost.org/trac10/ticket/12817 <p> qi::parse and qi::phrase_parse currently check that the provided iterator type implements <a class="missing wiki">ForwardIterator</a> concept. This seems to be a stronger check than necessary. In particular, <a class="missing wiki">ForwardIterator</a> requires that *it returns a reference, which does not seem to be needed by the parsing functions. </p> <p> I propose to replace the check with the check that the iterator type implements <a class="missing wiki">ReadableIterator</a> and <a class="missing wiki">SinglePassIterator</a> concepts. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12817 Trac 1.4.3 yegor.derevenets@… Tue, 07 Feb 2017 16:23:50 GMT <link>https://svn.boost.org/trac10/ticket/12817#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12817#comment:1</guid> <description> <p> A possible fix: <a class="ext-link" href="https://github.com/boostorg/spirit/pull/230"><span class="icon">​</span>https://github.com/boostorg/spirit/pull/230</a> </p> </description> <category>Ticket</category> </item> <item> <author>Nikita Kniazev <nok.raven@…></author> <pubDate>Mon, 11 Dec 2017 00:26:06 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/12817#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12817#comment:2</guid> <description> <p> Fixed in <a class="ext-link" href="https://github.com/boostorg/spirit/pull/320"><span class="icon">​</span>https://github.com/boostorg/spirit/pull/320</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Joel de Guzman</dc:creator> <pubDate>Wed, 13 Dec 2017 22:55:44 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/12817#comment:3 https://svn.boost.org/trac10/ticket/12817#comment:3 <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> Ticket