Subject: [Boost-bugs] [Boost C++ Libraries] #9092: Unique insertion with hint bug when inserting ordered non-unique sequence
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-09-08 18:56:07
#9092: Unique insertion with hint bug when inserting ordered non-unique sequence
-------------------------------------------+------------------------
Reporter: igaztanaga | Owner: igaztanaga
Type: Bugs | Status: new
Milestone: Boost 1.55.0 | Component: container
Version: Boost 1.54.0 | Severity: Problem
Keywords: flat_tree insertion with hint |
-------------------------------------------+------------------------
As reported in
http://permalink.gmane.org/gmane.comp.lib.boost.devel/243830, inserting an
ordered non-unique sequence in flat_set provokes a crash. The problem lies
in function
priv_insert_unique_prepare
(const_iterator pos, const value_type& val, insert_commit_data
&commit_data)
where an incorrect iterator is returned when the hint points to a one-past
an equivalent element.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9092> 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:14 UTC