RandomAccessRange / Mobile Elements
Johann via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue May 27 06:04:49 PDT 2014
Hello,
I read in std.range that given a random access range r ,
r.opIndex(n) should return a reference to the nth element. Is
there a qualifier for a "read only" random access range? If not,
why?
I also don't really get the point of "Mobile Elements", how is
"destructively reading" related to mobility, and what is it good
for?
Thanks.
More information about the Digitalmars-d-learn
mailing list