Object-based interface for a range of ranges

Luís Marques via Digitalmars-d digitalmars-d at puremagic.com
Wed Jan 27 20:59:53 PST 2016


This works:

     int[][] a;
     RandomAccessFinite!(int[]) r = inputRangeObject(a);

What would be a good way to achieve something equivalent to this?:

     int[][] a;
     RandomAccessFinite!(RandomAccessFinite!int) r = 
inputRangeObject(a);


More information about the Digitalmars-d mailing list