Is it a good practice to always use smart pointers ?

Posted by Dony Borris on Stack Overflow See other posts from Stack Overflow or by Dony Borris
Published on 2010-03-16T12:22:31Z Indexed on 2010/03/16 12:26 UTC
Read the original article Hit count: 182

Filed under:

Hi,

I find smart pointers to be a lot more comfortable than raw pointers. So is it a good idea to always use smart pointers? ( Please note that I am from Java background and hence don't much like the idea of explicit memory management. So unless there are some serious performance issues with smart pointers, I'd like to stick with them. )

Any advice would be greatly appreciated. Thanks.

© Stack Overflow or respective owner

Related posts about c++