Let's say I have an array like this: int[][][] array;
And I want to generate a linear int[] based on its data. Is there a standard library method for achieving this, or must I iterate over the array manually?
What I'm thinking of is something like this: int[] onedim = std.array.collapse(array);