Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in shared-ptr

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

getting a normal ptr from shared_ptr?

shared_from_this causing bad_weak_ptr

c++ boost shared-ptr c++-faq

The cost of passing by shared_ptr

c++ performance shared-ptr

Why isn't there a std::shared_ptr<T[]> specialisation?

c++ c++11 shared-ptr

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

Should I switch from using boost::shared_ptr to std::shared_ptr?

c++ boost stl c++11 shared-ptr

static_cast with boost::shared_ptr?

Why does unique_ptr take two template parameters when shared_ptr only takes one?

How does one downcast a std::shared_ptr?

c++ c++11 shared-ptr downcast

C++11 When clearing shared_ptr, should I use reset or set to nullptr?

What is the difference between an empty and a null std::shared_ptr in C++?

c++ c++11 shared-ptr

Example to use shared_ptr?

Passing shared pointers as arguments

c++ c++11 shared-ptr c++-faq

Where is shared_ptr?

Passing shared_ptr<Derived> as shared_ptr<Base>

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

C++ - passing references to std::shared_ptr or boost::shared_ptr

std::shared_ptr thread safety explained

c++ c++11 shared-ptr