Pointers and Ranges

Xinok xinok at live.com
Sat Oct 8 09:31:20 PDT 2011


I'm new to ranges and while I understand the basic concept, I don't know 
everything about them. With arrays, you can simply use arr.ptr to infer 
a type automatically. So I was wondering, is there an equivalent for 
ranges? What I'm looking for is the ability to do *p as well as p[1] or 
p[-1] with ranges.


More information about the Digitalmars-d-learn mailing list