title: n-dimensional vector
body: <p>Let's say I want to declare a vector of a vector of a vector of a... (up to n dimensions).</p>
  
  <p>Like so:</p>
  
  <pre><code>using namespace std;
  // for n=2
  vector&lt;vector&lt;int&gt; &gt; v2;
  // for n=3
  vector&lt;vector&lt;vector&lt;int&gt; &gt; &gt; v3;
  // for n=4
  vector&lt;vector&lt;vector&lt;vector&lt;int&gt; &gt; &gt; &gt; v3;
  </code></pre>
  
  <p>Is there a way to go about doing this for an arbitrary n with template metaprogramming?</p>