Boost logo

Boost :

Subject: Re: [boost] [review] The review of Boost.DoubleEnded starts today: September 21 - September 30
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2017-10-04 20:21:42


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk