int data[][4] = { {1,2,3,4}, {9,8,7,6}, {2,4,6,8} };
I want to convert this into multidimensional std::array
array< array<int,4>, 3 > stddata = { {1,2,3,4}, {9,8,7,6}, {2,4,6,8} };
like this. But error occur in this code. Why does this error occur? and how can I change reset part { {1,2,3,4}, {9,8,7,6}, {2,4,6,8} } to { , } numbers.