protocol for using InputRanges

Walter Bright newshound2 at digitalmars.com
Thu Mar 27 17:25:56 PDT 2014


On 3/27/2014 2:31 PM, Steven Schveighoffer wrote:
> Adding range primitives on top of a stream does not make sense.

Are ready to implement a parallel universe of stream based algorithms to go 
alongside all the range based ones and be ready to constantly justify that to 
everyone?

I'm also curious what a generic read() should do when the stream is empty.


More information about the Digitalmars-d mailing list