title: Will this Free the data correctly?
body: <p>I just want to know if this will correctly free the data. </p>
  
  <p>Pseudo Code: </p>
  
  <pre><code>std::map&lt;std::string, ClassPointer*&gt;::iterator tempIterator;
  
      for(tempIterator = directory.begin(); tempIterator &lt; directory.end; 
          tempIterator++)
          delete &amp;tempIterator;
  </code></pre>