Is it good practice to pass scoped_ptr by reference (from one method to another inside a class)?

Posted by eriks on Stack Overflow See other posts from Stack Overflow or by eriks
Published on 2010-03-21T19:19:04Z Indexed on 2010/03/21 19:21 UTC
Read the original article Hit count: 118

Filed under:

Or if i need to do that, than i should just use shared_ptr?

I know i have many questions regarding smart pointer - i still don't quite understand when to use which smart pointer.

© Stack Overflow or respective owner

Related posts about c++