ndslice: convert a sliced object to T[]
data pulverizer via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Jun 14 19:43:37 PDT 2016
How do I unravel a sliced item T[].sliced(...) to an array T[]?
For instance:
import std.experimental.ndslice;
auto slice = new int[12].sliced(3, 4);
int[] x = ??;
Thanks
More information about the Digitalmars-d-learn
mailing list