question about smart pointers
<p>I have this snippet of the code and I must write appropriate code with  class A (constructor, destructor, copy constructor, operator =), my question is do I need write smart pointers if I want that this code will work perfectly, if no, can you explain where writing smart pointers will be useful, thanks in advance</p>

<pre><code>A *pa1 = new A(a2);
A const * pa2 = pa1;
A const * const pa3 = pa2;
</code></pre>
