Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in smart-pointers

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

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

Differences between std::make_unique and std::unique_ptr with new

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

Using smart pointers for class members

Why would I std::move an std::shared_ptr?

std::auto_ptr to std::unique_ptr

RAII and smart pointers in C++

c++ smart-pointers raii

smart pointers (boost) explained

c++ boost smart-pointers

Which kind of pointer do I use when?