Opened 10 years ago
Closed 10 years ago
#7439 closed Bugs (fixed)
flat_map/set::insert(ordered_unique_range_t, ...) not work correctly
Reported by: | Jamboree | Owned by: | Ion Gaztañaga |
---|---|---|---|
Milestone: | Boost 1.52.0 | Component: | container |
Version: | Boost 1.51.0 | Severity: | Problem |
Keywords: | Cc: | tongari95@…, phprus@… |
Description
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}.
While inserting {2, 4} into {1, 3} give us {1, 3, 4}, 2 is lost somewhere.
It seems that you can only insert elements ordered after the range.
Attachments (1)
Change History (4)
by , 10 years ago
comment:1 by , 10 years ago
Cc: | added |
---|
comment:2 by , 10 years ago
Cc: | added |
---|
comment:3 by , 10 years ago
Milestone: | To Be Determined → Boost 1.52.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Added fix in trunk, at revision 80743, I'll merge to the release branch in a couple of days for Boost 1.52.
Note:
See TracTickets
for help on using tickets.
demo