title: Is it possible in c++ for a class to have a member which is a multidimensional array whose dimensions and extents are not known until runtime?
body: <p>I originally asked <a href="https://stackoverflow.com/questions/20207372/using-nested-stdarray-to-create-an-multidimensional-array-without-knowing-dime">using nested std::array to create an multidimensional array without knowing dimensions or extents until runtime</a> but this had <a href="https://meta.stackexchange.com/questions/66377/what-is-the-xy-problem">The XY Problem</a> of trying to accomplish it with std::array.</p>
  
  <p>The questions <a href="https://stackoverflow.com/questions/8824247/one-line-initialiser-for-boost-multiarray">One-line initialiser for Boost.MultiArray</a> and <a href="https://stackoverflow.com/questions/19369417/how-do-i-make-a-multidimensional-array-of-undetermined-size-a-member-of-a-class">How do I make a multidimensional array of undetermined size a member of a class in c++?</a> and their answers give some helpful information how to use Boost::MultiArray to avoid needing to know the extents of the dimensions at runtime, but fail to demonstrate how to have a class member that can store an array (created at runtime) whose dimensions and extents are not known until runtime.</p>