I would like to know how to read elements from a const boost::multi_array object. Indeed to my knowledge I can't use the operator [] because it's also used to assignement.
I have a 3-D dimentional array. So how does one get the element myArray[i][j][k] when myArray is const.
Thanks in advance.
const boost::multi_array
my_vector.push_back(& (*my_array)[i][j][k])