Boost C++ Libraries: Ticket #7989: [string_algo] find_iterator broken in 1.53? https://svn.boost.org/trac10/ticket/7989 <p> The find_iterator uses in its increment function the plus operator. This compiles for random access iterators but not for iterators with less capabilities, e.g.: </p> <p> std::list&lt;char&gt; lst; std::vector&lt;char&gt; vec; std::string str; </p> <p> <em>ok boost::make_find_iterator(str, boost::first_finder(str)); </em></p> <p> <em>ok boost::make_find_iterator(vec, boost::first_finder(str)); </em></p> <p> <em>not ok boost::make_find_iterator(lst, boost::first_finder(str)); </em></p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7989 Trac 1.4.3 Marshall Clow Fri, 08 Feb 2013 17:32:12 GMT <link>https://svn.boost.org/trac10/ticket/7989#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7989#comment:1</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/82788" title="Make find_iterator work with forward iterators; refs #7989">[82788]</a>) Make find_iterator work with forward iterators; refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7989" title="#7989: Bugs: [string_algo] find_iterator broken in 1.53? (closed: fixed)">#7989</a> </p> </description> <category>Ticket</category> </item> <item> <author>gast128@…</author> <pubDate>Sat, 09 Feb 2013 16:11:40 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/7989#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7989#comment:2</guid> <description> <p> I was actually using the find_iterator on a file with a std::istream_iterator which is -I think- an input iterator. Those are ruled out then? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Marshall Clow</dc:creator> <pubDate>Mon, 11 Feb 2013 16:23:36 GMT</pubDate> <title>milestone changed https://svn.boost.org/trac10/ticket/7989#comment:3 https://svn.boost.org/trac10/ticket/7989#comment:3 <ul> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.54.0</span> </li> </ul> <p> No<sub> they should work as well </sub></p> Ticket Marshall Clow Wed, 27 Feb 2013 23:37:24 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/7989#comment:4 https://svn.boost.org/trac10/ticket/7989#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> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/83193" title="Merge bug fix to release; Fixes #7989">[83193]</a>) Merge bug fix to release; Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7989" title="#7989: Bugs: [string_algo] find_iterator broken in 1.53? (closed: fixed)">#7989</a> </p> Ticket