Is it possible to cast a 2d static length array to a 1d static length array?

E.g.
int[2][2] a = [[1,2],[3,4]];
int[4]    b = cast(int[4])a;

Is not the byte data in memory exactly the same?

Reply via email to