getNext

Timon Gehr timon.gehr at gmx.ch
Mon Jul 9 09:42:51 PDT 2012


On 07/09/2012 06:27 PM, Mehrdad wrote:
> On Monday, 9 July 2012 at 16:25:06 UTC, Timon Gehr wrote:
>> I do not see why the notion of 'input range' should restrict the kinds
>> of elements that are accessed by iterating the range. It would be
>> downright silly.
>
> Yes... but when did I ever impose anything on the /elements/?

On 07/09/2012 06:04 PM, Mehrdad wrote:
>
>> With your design you need to add something extra to allow writing to elements of a single-pass range.
>...
> That capability is simply /not needed/ when your /only/ contract is that something is an input range.


> I never even used that word.
>

Unlikely.


More information about the Digitalmars-d mailing list