Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in shared-ptr

Using unique_ptr instead of shared_ptr in BST

"delete this" to an object that's allocated with std::shared_ptr?

Problems with shared_ptr<T[]> wrapping a dynamic array

c++ c++11 shared-ptr

C++ shared_ptr vs. unique_ptr for resource management

Making shared_ptr lose ownership of memory

Manually incrementing and decrementing a boost::shared_ptr?

c++ boost shared-ptr

Copy boost::shared_ptr

c++ boost shared-ptr

Mysterious crash with shared_ptr

c++ shared-ptr

Why shouldn't I use shared_ptr and unique_ptr always and instead use normal pointers?

c++ shared-ptr unique-ptr

C++ weak_ptr creation performance

Looks like shared_ptr hides the error with lack of virtual destructor. Is that correct? [duplicate]

c++ shared-ptr

Factory method in base access protected ctor in derived

How can I use shared_from_this in a derived class without superfluous RC manipulations?

c++ c++11 shared-ptr

Should my API functions take shared_ptr or weak_ptr

c++ shared-ptr weak-ptr

Why can't intrusive_ptr and shared_ptr be used with boost::intrusive containers?

Unexpected behavior from shared_from_this when creating multiple shared_ptr "families" over same object

c++ shared-ptr weak-ptr

Is there an STL comparator for std::set (or std::map) with shared_ptr keys that provides value-based lookups? What exactly does std::owner_less do?

Why doesn't `static_pointer_cast` work with ADL, but requires explicit `std::`?

boost::make_shared<T>(...) does not compile, shared_ptr<T>(new T(...)) does

boost c++11 shared-ptr