title: Does std::vector call the destructor of pointers to objects?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4061438/deleting-pointers-in-a-vector">Deleting pointers in a vector</a>  </p>
  </blockquote>
  
  
  
  <p>I know when an <code>std::vector</code> is destructed, it will call the destructor of each of its items. Does it call the destructor of <em>pointers</em> to objects?</p>
  
  <pre><code>vector&lt;myclass*&gt; stuff;
  </code></pre>
  
  <p>When stuff is destroyed, do the individual objects pointed to by the pointers inside stuff get destructed?</p>