Subject: [Boost-bugs] [Boost C++ Libraries] #7439: flat_map/set::insert(ordered_unique_range_t, ...) not work correctly
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-09-28 07:41:55
#7439: flat_map/set::insert(ordered_unique_range_t, ...) not work correctly
------------------------------+---------------------------------------------
Reporter: Jamboree | Owner: igaztanaga
Type: Bugs | Status: new
Milestone: To Be Determined | Component: container
Version: Boost 1.51.0 | Severity: Problem
Keywords: |
------------------------------+---------------------------------------------
The special ordered_unique_range insertion doesn't work as expected.
For example, inserting {2, 3} into {1, 4} should result in {1, 2, 3, 4},
but we get {1, 4}.
[[BR]]
While inserting {2, 4} into {1, 3} give us {1, 3, 4}, 2 is lost somewhere.
[[BR]]
It seems that you can only insert elements ordered after the range.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7439> 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:10 UTC