Support 'pure' (single pass) input_iterators
Current assign() implementation from iterator pairs is broken for single-pass iterators (https://en.cppreference.com/w/cpp/iterator/input_iterator) since it assumes that the iterators satisfy at least the forward-iterator requirements (w/o checking those).
Boost.Container, at least sequence containers, should support "assign" from input iterators and that is tested in the library tests. Do you have an example that can reproduce the problem?
Closing this issue as assign from input iterator is already checked.
Boost.Container, at least sequence containers, should support "assign" from input iterators and that is tested in the library tests. Do you have an example that can reproduce the problem?
See here https://github.com/microsoft/STL/blob/b191409cec71aa837072a5d1ebafb041989c71dd/stl/inc/vector#L1245 ...you don't handle the final else 'uncounted range' case.
It's implemented using overloads and SFINAE. The function for input iterators is this:
https://github.com/boostorg/container/blob/develop/include/boost/container/vector.hpp#L1320
Closing this issue as input iterators are implemented and and tested (https://github.com/boostorg/container/blob/develop/test/vector_test.hpp#L491)