Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in shared-ptr

QSharedPointer and QObject::deleteLater

Is there a weak_ptr equivalent to shared_from_this?

Is the state of any standard class after being moved specified?

c++ c++11 shared-ptr

shared_ptr and cyclic references

Cast 'this' to std::shared_ptr

c++ c++11 shared-ptr

C++11 std::shared_ptr<std::ostream> from std::cout

c++ c++11 shared-ptr

C++ static classes & shared_ptr memory leaks

c++ memory-leaks shared-ptr

Wrap dynamic array with shared_ptr by make_shared

Why does one need a null shared_ptr and how can it be used?

Shared pointers and the performance

enable_shared_from_this (c++0x): what am I doing wrong?

Generic way to test if a type is a (smart) pointer

c++ templates shared-ptr

Should I call reset on a weak_ptr if I happen to notice it's expired?

c++ shared-ptr weak-ptr

std::shared_ptr and dlopen(), avoiding undefined behavior

Possible MSVC compiler bug

Initialization of shared_ptr<T> from unique_ptr<T[]>

Reasons to return reference to std::unique_ptr

c++ shared-ptr unique-ptr

Why does enable_shared_from_this embed a weak pointer instead of embedding the reference counter directly?

Does enable_shared_from_this and make_shared provide the same optimization

c++ shared-ptr make-shared

Why doesn't shared_ptr<A> implicit convert to shared_ptr<A const>?