Boost C++ Libraries: Ticket #10808: compare equal operator of vector is broken https://svn.boost.org/trac10/ticket/10808 <p> Please find attached patch for details. I think this patch is self-explanatory, so i pass on an example program. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10808 Trac 1.4.3 Dirk Reinbach <dirk.reinbach@…> Thu, 20 Nov 2014 13:23:19 GMT attachment set https://svn.boost.org/trac10/ticket/10808 https://svn.boost.org/trac10/ticket/10808 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">container.vector.patch</span> </li> </ul> Ticket Ion Gaztañaga Sat, 22 Nov 2014 11:27:22 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/10808#comment:1 https://svn.boost.org/trac10/ticket/10808#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> Thanks for the report. It was recently fixed in develop: </p> <p> SHA-1: e6d19fb408237696b65e871ec78d3220c908dcef </p> <ul><li>Fixed in bug in vector::operator== </li></ul><p> <a class="ext-link" href="https://github.com/boostorg/container/commit/e6d19fb408237696b65e871ec78d3220c908dcef"><span class="icon">​</span>https://github.com/boostorg/container/commit/e6d19fb408237696b65e871ec78d3220c908dcef</a> </p> Ticket Dirk Reinbach <dirk.reinbach@…> Sat, 22 Nov 2014 11:57:15 GMT <link>https://svn.boost.org/trac10/ticket/10808#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10808#comment:2</guid> <description> <p> Thanx. I was in a hurry and missed a look at the developer version (I was too clumsy for the web interface and I have no git on my machine). </p> <p> However, according to your patch you are now using <code>operator!=</code> in your implementation. Actually this is the only reason I stumbled upon this bug due to operator ambiguities. If you want to get rid of dependencies to <code>equal()</code> you should at least copy their implementation IMHO (<code>!(*a==*b)</code>). </p> </description> <category>Ticket</category> </item> <item> <author>Dirk Reinbach <dirk.reinbach@…></author> <pubDate>Mon, 01 Dec 2014 12:54:56 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/10808#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10808#comment:3</guid> <description> <p> In the meantime you switched to <code>algo_equal()</code> from <em>intrusive</em> module. Thank you very much :-D </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Ion Gaztañaga</dc:creator> <pubDate>Wed, 03 Dec 2014 21:52:41 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/10808#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10808#comment:4</guid> <description> <p> Sorry, I forgot to document the change in this bug. Thanks for your comment. </p> </description> <category>Ticket</category> </item> </channel> </rss>