deleting c-style array of int vectors
<p>I have declared:</p>

<pre><code>vector&lt;int&gt; * part = new vector&lt;int&gt;[indmap];
</code></pre>

<p>Ok, I know it: “why don’t you declare a vector of vector?”.
The next time I will do so, but now I would like to understand something more about vectors which I’m not able to solve.</p>

<p>Now I want to release all resources, what have I to do?</p>

<pre><code>delete[] part;  
</code></pre>

<p>But before deleting the array what should I do to delete all the vector objects?</p>
