title: Should I always use shared_ptr to create a class instance(instead of just new)?
body: <p>As wiki shows, <code>shared_ptr</code> can handle the heap space recycle problems.
  So, I always use shared_ptr to create instance, is there any problems?</p>
  
  <p>and I use it as this, i dont need to <code>delete s</code>, right?</p>
  
  <pre><code>s = std::shared_ptr&lt;S&gt;(new S).get();
  </code></pre>