Boost C++ Libraries: Ticket #3385: Specifications of bool opeartor==(path, string) is changed. https://svn.boost.org/trac10/ticket/3385 <pre class="wiki">Before: path("c:\\file") == "c:\\file" //true path("c:\\file") == "c:/file" //true Current: path("c:\\file") == "c:\\file" //false path("c:\\file") == "c:/file" //true I found the comment in path.hpp: // operator == uses string compare rather than !(lhs &lt; rhs) &amp;&amp; !(rhs &lt; lhs) because // the result is the same yet the direct string compare is much more efficient that // lexicographical_compare, and lexicographical_compare used twice at that. Is it intended? </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3385 Trac 1.4.3 Beman Dawes Thu, 10 Sep 2009 17:25:22 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3385#comment:1 https://svn.boost.org/trac10/ticket/3385#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/56139" title="Fix #3385, add test cases">[56139]</a>) Fix <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3385" title="#3385: Bugs: Specifications of bool opeartor==(path, string) is changed. (closed: fixed)">#3385</a>, add test cases </p> Ticket