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] wit
On Sat, 08 Oct 2011 12:31:20 -0400, Xinok wrote:
> 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.
Or with ElementType. If Range is a template type:
writefln("I have a ra