Polymorphic ranges?

Andrej Mitrovic andrej.mitrovich at gmail.com
Sun May 1 09:14:30 PDT 2011


Unfortunately as you can see I can't convert a Stride to a
RandomAccessInfinite object, so I've had to use an InputRange
interface (I can also use ForwardRange which is more derived). I'm not
sure why I can't use it (maybe it's that bug again?), because Stride
itself does offer random access.


More information about the Digitalmars-d-learn mailing list