Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in shared-ptr

C++ How can I store multiple types in an vector of shared_ptrs?

Usage of Derived class with the std::shared_ptr of Base class

c++ c++11 shared-ptr c++14

Invalidate all shared ptrs toward a specific managed object

c++ c++11 shared-ptr

Most efficient safe way to cast std::map<int, std::shared_ptr<Base>> to std::map<int, std::shared_ptr<Derived>>

c++ casting c++17 shared-ptr

How should you return *this with a shared_ptr?

c++ shared-ptr

Soft (not: weak) references in C++ - Is it possible? Is there an implementation?

Is using a map where value is std::shared_ptr a good design choice for having multi-indexed lists of classes?

Why is boost::enable_shared_from_raw so undocumented?

c++ boost shared-ptr

Portable hack to leak raw pointer from weak_ptr

c++ shared-ptr weak-ptr

Implicit conversion from int to shared_ptr

In C++ - is it possible to compare volatile shared_ptr to nullptr?

c++ shared-ptr volatile

shared_from_this has empty _M_weak_this even after ownership by std::shared_ptr

c++ c++11 vector stl shared-ptr

Correct use of shared_ptr to eliminate deallocation across DLL boundaries

c++ shared-ptr

how to cast void* to shared_ptr<mytype>

Errors in std::make_shared() when trying to make shared_ptr?

Using googlemock EXPECT_CALL with shared_ptr?

c++ shared-ptr googlemock

Customising std::shared_ptr or boost::shared_ptr to throw an exception on NULL dereference

boost::shared_polymorphic_downcast is gone in boost 1.53.0. What should I use instead?

c++ boost shared-ptr

Does adding a reference to a shared ptr increase the reference count

c++ shared-ptr

Referring to "this" as a shared_ptr? [duplicate]

c++ c++11 shared-ptr