When is it advantageous to use smart pointer? &
When it is disadvantageous to use smart pointers?

It would be good if you can provide me with an example which can explain me both the above suitations.

I appreciate your effort.

Thanks in advance,
Amish.