Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in shared-ptr

When should I use a mutex with std::shared_ptr in C++ multithreading?

What does this shared_ptr snippet say?

c++ shared-ptr

Is it bad (or even dangerous) to random_shuffle vector of shared_ptrs?

std::shared_ptr with aliasing constructor, is it possible the retrieve the initial pointer value?

c++ c++17 shared-ptr

How to access instance member variables via std::shared_ptr?

c++ shared-ptr

Reference count for a handle instead of a pointer

c++ c++11 shared-ptr handle

Why is my program crashing in boost::enable_shared_from_this<>/boost::shared_ptr<>?

c++ boost c++11 shared-ptr

c++ problem with polymorphism and vectors of pointers

Multiple pointers to an object

c++ pointers shared-ptr

C++11 Cereal Library Cannot Serialize A Class Of Mine

c++ c++11 shared-ptr cereal

Is counter in std::shared_ptr atomic?

c++ c++11 shared-ptr atomic

Is there a way to make shared_ptr.reset(new obj) to call the destructor first?

c++ shared-ptr

Objects as member variables in a class in C++

How does an atomic<shared_ptr<>> work internally?

c++ c++20 shared-ptr stdatomic

How is shared_ptr reference counter laid out?

Function template to populate a vector of shared_ptr to Base & Derived objects