Consider a 2D array (with a compile or runtime constant for the first dimension, and a compile time constant for the second). e.g. int arr[10][3];
or int arr[n][3];
Why isn’t it possible to do something like this: arr[0] = {1,2,3,4};
or arr[n-1] = {1,2,3,4};
Is that a c++ standard choice or is this functionality simply not needed / there a way that I missed to do something like this?
2