ideas about ranges

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Fri May 22 14:10:45 PDT 2009


Steven Schveighoffer wrote:
> I'm concentrating mostly on usages with foreach, not algorithms.  If we 
> are to have streams that fit into the range model, then they need to be 
> foreach'able.  I don't know that they need a lot of support to feed into 
> std.algorithm as reference data.  I.e. you aren't going to sort a 
> network stream.

Plenty of algorithms work on input ranges.

Andrei




More information about the Digitalmars-d mailing list