Reset Range
tcak via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat May 30 01:36:01 PDT 2015
I have never interested in "Range" topic till now, but with
Walter's presentation, I took a look at it today.
Ali has a nice lesson page about it
(http://ddili.org/ders/d.en/ranges.html).
What I don't get is the mechanism to reset a range. I mean, you
use a range with foreach, but then it is totally consumed. I
cannot use it again. Because it will be empty. No special
property function is defined for this. Maybe the reason I don't
understand it is that it doesn't fit to my needs.
More information about the Digitalmars-d-learn
mailing list