id summary reporter owner description type status milestone component version severity resolution keywords cc 7776 vector::assign(Iter first, Iter last) should be implemented more efficiently kariya_mitsuru@… Ion Gaztañaga "Current implementation of vector::assign(Iter first, Iter last) is same behavior whether Iter is ForwardIterator or not. (First, overwrite to current elements, then erase or insert) But if Iter is ForwardIterator and capacity() < distance(first, last), it is only necessary to discard old buffer (including its contents) and allocate new buffer which capacity is at least distance(first, last). Note: according to C++11 specification, value_type need not be MoveInsertable into Container if Iter is ForwardIterator." Bugs closed To Be Determined container Boost 1.52.0 Optimization fixed