Boost C++ Libraries: Ticket #8067: basic_string_ref::find(basic_string_ref) typo '=' instead of '==' https://svn.boost.org/trac10/ticket/8067 <p> size_type find(basic_string_ref s) const { </p> <blockquote> <p> const_iterator iter = std::search ( this-&gt;cbegin (), this-&gt;cend (), </p> <blockquote> <p> s.cbegin (), s.cend (), traits::eq ); </p> </blockquote> <p> return iter = this-&gt;cend () ? npos : std::distance ( this-&gt;cbegin (), iter ); } </p> </blockquote> <p> Should be: </p> <blockquote> <p> return iter == this-&gt;cend () ? npos : std::distance ( this- </p> </blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8067 Trac 1.4.3 Marshall Clow Fri, 15 Feb 2013 16:07:09 GMT <link>https://svn.boost.org/trac10/ticket/8067#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8067#comment:1</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/82901" title="Fixed bug in string_ref::find; Refs #8067">[82901]</a>) Fixed bug in string_ref::find; Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8067" title="#8067: Bugs: basic_string_ref::find(basic_string_ref) typo '=' instead of '==' (closed: fixed)">#8067</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Marshall Clow</dc:creator> <pubDate>Tue, 26 Feb 2013 14:45:02 GMT</pubDate> <title>owner changed https://svn.boost.org/trac10/ticket/8067#comment:2 https://svn.boost.org/trac10/ticket/8067#comment:2 <ul> <li><strong>owner</strong> changed from <span class="trac-author">No-Maintainer</span> to <span class="trac-author">Marshall Clow</span> </li> </ul> Ticket Marshall Clow Thu, 23 May 2013 18:40:47 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/8067#comment:3 https://svn.boost.org/trac10/ticket/8067#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> <p> This was merged to release in <a class="changeset" href="https://svn.boost.org/trac10/changeset/83403" title="merge [82901], [82902], and [83147] from trunk">[83403]</a> </p> Ticket