On 04/10/2017 17:23, Thorsten Ottosen via Boost wrote:
Den 04-10-2017 kl. 16:08 skrev Ion GaztaƱaga via Boost:
On 04/10/2017 15:38, Thorsten Ottosen via Boost wrote:
And don't you get the same when we start defining BOOST_CONTAINER_ITERATOR_AS_POINTER?
Which was recently removed from the develop branch. AFAIK, there was no demand and maintenance and testing for both iterator modes was a cost I preferred to eliminate.
Ok.
Given the lack of a contiguous iterator tag, this is not just a switch from pointer to class iterator. The internal code now needs to be careful when it's passed its own iterator type and detect that it actually has a contiguous range.
Right. Internally used algorithms query "are_elements_contiguous<T>" traits which is specialized to true for vector_iterator. Ion