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.