If I am reading the code right, the number of dimensions must always be known at compile time, right?
Not necessarily. The dimensions for this slice are computed at runtime.
``` auto slice = 1000.iota.sliced(5, 6, 7); ```
Jack Stouffer via Digitalmars-d Tue, 29 Dec 2015 05:56:40 -0800
If I am reading the code right, the number of dimensions must always be known at compile time, right?
Not necessarily. The dimensions for this slice are computed at runtime.
``` auto slice = 1000.iota.sliced(5, 6, 7); ```