title: Does delete [] deallocate memory allocated by pointers to pointers
body: <p>I have an array of pointers to other objects called <code>Comparable* array</code> (inside a template for a class).</p>
  
  <p>I understand that <code>delete</code> deletes memory referenced by a pointer, and that <code>delete []</code> deallocates the memory assigned to each pointer in an array.</p>
  
  <p>My question is if I have an array that contains pointers to other objects, how do I deallocate the memory referenced by each pointer in the array <strong><em>and</em></strong> the array itself?</p>