Boost C++ Libraries: Ticket #4980: Intrusive multiset: insert doesn't preserve size counter when comparator throws https://svn.boost.org/trac10/ticket/4980 <p> multiset::insert() doesn't seem to preserve the "constant time size" counter when comparator throws despite supposedly providing strong guarantee. </p> <p> Other containers and methods might also be affected, I haven't tested them. </p> <p> The problem definitely exists in 1.44 and, if I've configured my compiler properly, in svn. </p> <p> I'm going to attach a code sample which triggers the bug. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4980 Trac 1.4.3 michal.pecio@… Mon, 13 Dec 2010 22:48:54 GMT attachment set https://svn.boost.org/trac10/ticket/4980 https://svn.boost.org/trac10/ticket/4980 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">bug.cc</span> </li> </ul> <p> bug demonstration </p> Ticket Ion Gaztañaga Sun, 26 Dec 2010 10:12:01 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/4980#comment:1 https://svn.boost.org/trac10/ticket/4980#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> Updated SVN code, code sample works correctly. Thanks for the report. </p> Ticket