Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in shared-ptr

Boost shared_ptr dereference cost

c++ boost shared-ptr

How to do function overloading with std::shared_ptr<void> and another type of std::shared_ptr?

Extract a subvector from a vector without copy

Fully thread-safe shared_ptr implementation

how boost::~shared_ptr works?

c++ boost shared-ptr

Downcasting shared pointer to derived class with additional functionality - is this safe?

c++ stl shared-ptr downcast

Is a virtual destructor needed for your Interface, if you always store it in a shared_ptr?

boost shared_from_this and multiple inheritance

std::unique_ptr<T[]> API prohibits derived-to-base pointer conversions

Differences between tr1::shared_ptr and boost::shared_ptr?

c++ boost shared-ptr tr1

boost shared_ptr: difference between operator= and reset?

c++ boost shared-ptr

How does a weak_ptr know that the shared resources has expired?

Can you use a boost::shared_ptr as a key for a map?

c++ shared-ptr stdmap

c++ copy constructor with shared_ptr members

std::enable_shared_from_this: is it allowed to call shared_from_this() in destructor?

Best way to protect from multiple shared_ptr to the same object

c++ c++11 shared-ptr

c++11 - Ownership and getters

Since C++17 supports shared_ptr of array, does this mean that an explicit deleter for T[] is no longer required in both ctor and reset?

c++ arrays shared-ptr c++17

How to remove (non-intrusive) smart pointers from a cache when there are no more references?

Custom allocators as alternatives to vector of smart pointers?