title: Why is auto_ptr being deprecated?
body: <p>I heard <code>auto_ptr</code> is being deprecated in C++11. What is the reason for this?</p>
  
  <p>Also I would like to know the difference between <code>auto_ptr</code> and <code>shared_ptr</code>.</p>