Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in weak-ptr

Do I have to use weak_ptr.lock() just to test if it points to a valid object?

c++ shared-ptr weak-ptr

Is there a weak_ptr equivalent to shared_from_this?

shared_ptr and cyclic references

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

c++ shared-ptr weak-ptr

How to get rid of weak_ptrs in a container

c++ c++11 weak-ptr

Does shared_ptr still own its object when calling the deleter?

What is the cyclic dependency issue with shared_ptr?

c++ shared-ptr weak-ptr

Smart pointers + cycles + "->"

What Happens to a weak_ptr when Its shared_ptr is Destroyed?

c++ shared-ptr weak-ptr

Creating weak_ptr<> from raw pointer

c++ pointers boost weak-ptr

shared, weak and lazy pointers in C++

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

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

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

Store weak pointer to self

c++ smart-pointers weak-ptr

Can an expired weak_ptr be distinguished from an uninitialized one?

c++ c++11 weak-ptr

How to make a c++11 std::unordered_set of std::weak_ptr

`weak_ptr::expired` behavior in the dtor of the object

static_pointer_cast for weak_ptr

c++11 weak-ptr

How can I use a std::map with std::weak_ptr as key?