What is the best way to initalize 2D std::array along with its rows and cols?
So I wanna find the best possible way of initalizing std:array in below configuration (better way would to be to be able to use cols and rows variables while declaring array size):