title: About the usage of new and delete, and Stroustrup's advice
body: <p>About the usage of new and delete, and Stroustrup's advice...</p>
  
  <p>He says something like (but not exactly, this is from my notes of his book):</p>
  
  <blockquote>
    <p>A rule of thumb is that, <code>new</code> belongs in constructors and similar operations, <code>delete</code> belongs in destructors. In addition, <code>new</code> is often used in arguments to resource handles. Otherwise avoid using <code>new</code> and <code>delete</code>, use resource handles (smart pointers) instead. </p>
  </blockquote>
  
  <p>I was wondering if the more experienced folks with C++11 have really applied this or not.</p>
  
  <p>My impression of this was, wow this seems like a really cool rule to follow.
  But then I got suspicious, as for any general rule. At the end of the day 
  you will end up using new and delete wherever necessary. But maybe this rule
  is a good guideline I don't know.</p>