[Boost-bugs] [Boost C++ Libraries] #4980: Intrusive multiset: insert doesn't preserve size counter when comparator throws

Subject: [Boost-bugs] [Boost C++ Libraries] #4980: Intrusive multiset: insert doesn't preserve size counter when comparator throws
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-12-13 22:47:15


#4980: Intrusive multiset: insert doesn't preserve size counter when comparator
throws
-------------------------------------+--------------------------------------
 Reporter: michal.pecio@… | Owner: igaztanaga
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: intrusive
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------+--------------------------------------
 multiset::insert() doesn't seem to preserve the "constant time size"
 counter when comparator throws despite supposedly providing strong
 guarantee.

 Other containers and methods might also be affected, I haven't tested
 them.

 The problem definitely exists in 1.44 and, if I've configured my compiler
 properly, in svn.

 I'm going to attach a code sample which triggers the bug.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4980>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:05 UTC