Boost logo

Boost :

Subject: Re: [boost] [iterator] Is there any interest in Null Iterator Adaptor ?
From: Edward Diener (eldiener_at_[hidden])
Date: 2016-09-27 09:55:55

On 9/26/2016 7:30 AM, Rahman Salim Zengin wrote:
> On 2016-09-25 19:19, Edward Diener wrote:
>> ... Perhaps your docuemnetation needs to be more expansive about its
>> functionality.
> On 2016-09-25 21:01, Oswin Krause wrote:
>> ... I can not think of any example where i would like to fool one of >
> the std:: algorithms.
>> Moreover, note that this iterator will never fulfil the requirements
>> of a random access iterator even if it allows random access. ...
> Documentation is improved. Descriptions are corrected. Examples are added.

A big flaw is that it is impossible to distinguish a default constructed
value from a nulliter. A possible solution to this is optional.

Boost list run by bdawes at, gregod at, cpdaniel at, john at