title: shared_ptr to an array : should it be used?
body: <p>Just a small query regarding <a href="http://en.cppreference.com/w/cpp/memory/shared_ptr" rel="noreferrer"><code>shared_ptr</code></a>.</p>
  
  <p>Is it a good practice to use <code>shared_ptr</code> pointing to an array?  For example,</p>
  
  <pre><code>shared_ptr&lt;int&gt; sp(new int[10]);
  </code></pre>
  
  <p>If not, then why not? One reason I am already aware of is one can not increment/decrement the <code>shared_ptr</code>. Hence it can not be used like a normal pointer to an array.</p>