Hello,

I only know at runtime the dimension and extends of a multidimensional array, though the number of dimensions is always < 10 for e.g.

Is there a container that allows this?

 

Otherwise, I can write code for

multi_array<T, 2>

multi_array<T, 3>

multi_array<T, 10>,

 

do a  switch case on the dimensions variable, and select the appropriate code,

 

regards,