getNext

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Mon Jul 9 08:48:35 PDT 2012


On 7/9/12 11:35 AM, Mehrdad wrote:
> If something is both an input range and an output range, then sure, it
> can have that capability. But being able to write to something is
> _orthogonal_ to whether you can read from it.

That is the case right now. The point is, with your design you need to 
add something extra to allow writing to elements of a single-pass range. 
So your design does not simplify things as much as it might seem.

Andrei


More information about the Digitalmars-d mailing list