title: out of scope, the vector of pointers can delete the pointer's self occupied space?
body: <pre><code>string *str=new string;
  
  vector&lt;string *&gt; vector;
  
  vector.push_back(str)
  </code></pre>
  
  <p>in brief, I want know when vector of pointers out of scope, is the pointer's self's occupied space freed?</p>