Boost C++ Libraries: Ticket #12166: multi_pass_iterator comparisons should be const https://svn.boost.org/trac10/ticket/12166 <p> Some, but not all, comparison operators of multi_pass_iterator are const. Specifically == and &lt; are const, but !=, &gt;, &gt;=, and &lt;= are not. You can see this <a class="ext-link" href="https://github.com/boostorg/spirit/blob/develop/include/boost/spirit/home/support/iterators/multi_pass.hpp#L137-166"><span class="icon">​</span>here</a> </p> <p> This causes compile errors when multi_pass_iterator users try the common (it != end) idiom. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12166 Trac 1.4.3 Joel de Guzman Thu, 28 Apr 2016 06:30:29 GMT <link>https://svn.boost.org/trac10/ticket/12166#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12166#comment:1</guid> <description> <p> Can you please file a PR for this? </p> </description> <category>Ticket</category> </item> <item> <author>edaskel@…</author> <pubDate>Mon, 16 May 2016 20:43:06 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/12166#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12166#comment:2</guid> <description> <p> PR filed, thank you. </p> <p> (I fixed only != because in retrospect I could not see what operator&lt; etc. were for, given this is a forward iterator) </p> </description> <category>Ticket</category> </item> <item> <author>Nikita Kniazev <nok.raven@…></author> <pubDate>Sun, 10 Dec 2017 14:02:35 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/12166#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12166#comment:3</guid> <description> <p> Fixed in <a class="ext-link" href="https://github.com/boostorg/spirit/pull/190"><span class="icon">​</span>https://github.com/boostorg/spirit/pull/190</a> plus <a class="ext-link" href="https://github.com/boostorg/spirit/pull/192"><span class="icon">​</span>https://github.com/boostorg/spirit/pull/192</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Joel de Guzman</dc:creator> <pubDate>Wed, 13 Dec 2017 22:57:13 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/12166#comment:4 https://svn.boost.org/trac10/ticket/12166#comment:4 <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