getNext

Mehrdad wfunction at hotmail.com
Mon Jul 9 09:27:59 PDT 2012


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/? I 
never even used that word.

I imposed constraints on the range, and the range only...

> sort!"a[0]<b[0]"(zip(ra1,ra2));

sort():
"Sorts a random-access range according to predicate less."


What does that have to do with input ranges?


More information about the Digitalmars-d mailing list