Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in weak-ptr

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?

Is it correct to return null shared_ptr?

Why shared_ptr's reference counting object needs to keep track of the number of weak_ptrs pointing to the object too?

c++ c++11 shared-ptr weak-ptr

What's the performance penalty of weak_ptr?

c++ performance boost weak-ptr

Trivial cases of shared_ptr and weak_ptr failing

Equality-compare std::weak_ptr

c++ c++11 shared-ptr weak-ptr

What's the difference between raw pointer and weak_ptr?

c++ weak-ptr raw-pointer

boost, shared ptr Vs weak ptr? Which to use when?

Why can't a weak_ptr be constructed from a unique_ptr?

How does weak_ptr work?

When is std::weak_ptr useful?