range.save

Freddy via Digitalmars-d digitalmars-d at puremagic.com
Mon Nov 23 16:10:14 PST 2015


On Thursday, 19 November 2015 at 21:30:23 UTC, Freddy wrote:
> ...
Another problem I noticed with ranges is that all functionality 
is unionized. Ranges are expected to be able to 
popFront,Index,popBack, randomly possibly forcing ranges to carry 
unneeded buffers if indexing or popBack in never used.

On possible solution is to have .retroRange and .indexRange On 
forward/input ranges.


More information about the Digitalmars-d mailing list