title: Storing a vector of pointers to elements of a vector of vector of ints
body: <p>If I have say <code>std::vector&lt;std::vector&lt;int&gt;&gt; test_vofv</code> storing a vector of vectors of ints.</p>
  
  <p>I now want to store pointers to various elements (by which I mean the outer vector i.e. <code>test_vofv[0]</code>, <code>test_vofv[1]</code>) in a separate vector i.e. <code>std::vector&lt;pointer&gt; vector_of_pointers</code>. </p>
  
  <p>What should the type "pointer" actually be? Setting it to <code>std::vector&lt;std::vector&lt;int&gt;&gt;*</code> isn't correct.</p>