Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in smart-pointers

getting a normal ptr from shared_ptr?

"Downcasting" unique_ptr<Base> to unique_ptr<Derived>

When should I use raw pointers over smart pointers?

Why does unique_ptr have the deleter as a type parameter while shared_ptr doesn't?

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

How can I use covariant return types with smart pointers?

Should I assign or reset a unique_ptr?

RAII vs. Garbage Collector

Example to use shared_ptr?

When to use shared_ptr and when to use raw pointers?

c++ smart-pointers

Is auto_ptr deprecated?

shared_ptr magic :)

Why is auto_ptr being deprecated?

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

c++ c++11 smart-pointers

Where is shared_ptr?

Passing shared_ptr<Derived> as shared_ptr<Base>

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

c++ return smart-pointers

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

Smart pointers: who owns the object? [closed]

What C++ Smart Pointer Implementations are available?

c++ smart-pointers c++-faq