monarch_dodra:
int[] a = [0, 1, 2, 3]; int[2][1][2][1] b; *cast(int[4]*)&b = a; assert(b == [[[[0, 1]], [[2, 3]]]]);
Those pointers are not needed: cast(int[4])b = a; Bye, bearoophile
monarch_dodra:
int[] a = [0, 1, 2, 3]; int[2][1][2][1] b; *cast(int[4]*)&b = a; assert(b == [[[[0, 1]], [[2, 3]]]]);
Those pointers are not needed: cast(int[4])b = a; Bye, bearoophile