protocol for using InputRanges

Walter Bright newshound2 at digitalmars.com
Thu Mar 27 13:46:41 PDT 2014


On 3/27/2014 12:24 PM, Rainer Schuetze wrote:
> The caller is told to guarantee that empty must not return true.

I think that is the very definition of looking under the hood in order to 
violate protocol. A range CANNOT be written generically and support that.


More information about the Digitalmars-d mailing list