Modify

Ticket #7439 (closed Bugs: fixed)

Opened 19 months ago

Last modified 19 months ago

flat_map/set::insert(ordered_unique_range_t, ...) not work correctly

Reported by: Jamboree Owned by: igaztanaga
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

main.cpp Download (406 bytes) - added by Jamboree 19 months ago.
demo

Change History

Changed 19 months ago by Jamboree

demo

comment:1 Changed 19 months ago by tongari95@…

  • Cc tongari95@… added

comment:2 Changed 19 months ago by Vladislav <phprus@…>

  • Cc phprus@… added

comment:3 Changed 19 months ago by igaztanaga

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from To Be Determined to Boost 1.52.0

Added fix in trunk, at revision 80743, I'll merge to the release branch in a couple of days for Boost 1.52.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.