Boost C++ Libraries: Ticket #8299: deque::insert(const_iterator, Iterator, Iterator) misbehavior https://svn.boost.org/trac10/ticket/8299 <p> When the const_iterator argument points to a valid position in the boost::container::deque that is not past-the-end, the range-variant insert() method places the element copies in the wrong order. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8299 Trac 1.4.3 expaler Sat, 16 Mar 2013 22:11:36 GMT attachment set https://svn.boost.org/trac10/ticket/8299 https://svn.boost.org/trac10/ticket/8299 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">deque_insert_range.cpp</span> </li> </ul> <p> This test program compares the behavior of boost::container::deque::insert() with that of std::deque::insert(). Currently it reports errors on lines 40 and 41. Note that using the single-element variant of boost::container::deque::insert() to achieve the same desired result works as intended. </p> Ticket Ion Gaztañaga Sun, 17 Mar 2013 00:01:15 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/8299#comment:1 https://svn.boost.org/trac10/ticket/8299#comment:1 <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">duplicate</span> </li> </ul> <p> Duplicate of bug <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8294" title="#8294: Bugs: deque::insert(const_iterator, Itr, Itr) misbehavior (closed: fixed)">#8294</a> </p> Ticket