New posts in smart-pointers

Can Google Mock a method with a smart pointer return type?

std::shared_ptr initialization: make_shared<Foo>() vs shared_ptr<T>(new Foo) [duplicate]

Why can't a weak_ptr be constructed from a unique_ptr?

RAII vs. Garbage Collector

How can I use covariant return types with smart pointers?

Should I assign or reset a unique_ptr?

smart pointers and arrays

Example to use shared_ptr?

When to use shared_ptr and when to use raw pointers?

Is auto_ptr deprecated?

Why is auto_ptr being deprecated?

Is there a non-atomic equivalent of std::shared_ptr? And why isn't there one in <memory>?

Where is shared_ptr?

How to return smart pointers (shared_ptr), by reference or by value?

Passing shared_ptr<Derived> as shared_ptr<Base>

Why is shared_ptr<void> legal, while unique_ptr<void> is ill-formed?

shared_ptr for a raw pointer argument

Smart pointers: who owns the object? [closed]

How much is the overhead of smart pointers compared to normal pointers in C++?

Why do C++ libraries and frameworks never use smart pointers?