Opened 10 years ago
Closed 10 years ago
#8299 closed Bugs (duplicate)
deque::insert(const_iterator, Iterator, Iterator) misbehavior
Reported by: | expaler | Owned by: | Ion Gaztañaga |
---|---|---|---|
Milestone: | To Be Determined | Component: | container |
Version: | Boost 1.53.0 | Severity: | Problem |
Keywords: | Cc: |
Description
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.
Attachments (1)
Note:
See TracTickets
for help on using tickets.
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.