Boost C++ Libraries: Ticket #7439: flat_map/set::insert(ordered_unique_range_t, ...) not work correctly https://svn.boost.org/trac10/ticket/7439 <p> The special ordered_unique_range insertion doesn't work as expected. </p> <p> 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. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7439 Trac 1.4.3 Jamboree Fri, 28 Sep 2012 07:43:09 GMT attachment set https://svn.boost.org/trac10/ticket/7439 https://svn.boost.org/trac10/ticket/7439 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">main.cpp</span> </li> </ul> <p> demo </p> Ticket tongari95@… Fri, 28 Sep 2012 07:46:51 GMT cc set https://svn.boost.org/trac10/ticket/7439#comment:1 https://svn.boost.org/trac10/ticket/7439#comment:1 <ul> <li><strong>cc</strong> <span class="trac-author">tongari95@…</span> added </li> </ul> Ticket Vladislav <phprus@…> Fri, 28 Sep 2012 07:58:44 GMT cc changed https://svn.boost.org/trac10/ticket/7439#comment:2 https://svn.boost.org/trac10/ticket/7439#comment:2 <ul> <li><strong>cc</strong> <span class="trac-author">phprus@…</span> added </li> </ul> Ticket Ion Gaztañaga Fri, 28 Sep 2012 21:08:28 GMT status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/7439#comment:3 https://svn.boost.org/trac10/ticket/7439#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.52.0</span> </li> </ul> <p> Added fix in trunk, at revision 80743, I'll merge to the release branch in a couple of days for Boost 1.52. </p> Ticket