Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in weak-ptr

Object storing a non-owning reference that must be informed before the reference is destructed

Why was std::hash not defined for std::weak_ptr in C++0x?

c++11 hash weak-ptr stdhash

Having a vector of weak_ptr, want to return a vector of shared_ptr

Portable hack to leak raw pointer from weak_ptr

c++ shared-ptr weak-ptr

std::weak_ptr: lock or shared_ptr constructor?

Is it guaranteed that weak_ptr will expire when shared_ptr is reset to the same address that contains?

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

What happens to an expired weak_ptr in a map

c++ shared-ptr weak-ptr

How `weak_ptr` and `shared_ptr` accesses are atomic

How to reduce the implementation code of lots of wrapper classes?

Why am I getting an access violation when locking a weak_ptr?

two shared_ptr from same enable_shared_from_this instance

weak_from_this() within constructor

A set of weak_ptr

Using weak_ptr to implement the Observer pattern

Avoiding indirect cyclic references when using shared_ptr and weak_ptr

Where is the race in this thread sanitzer warning?

Is it safe to use a weak_ptr in a std::set or key of std::map

c++ c++11 weak-ptr

Why doesn't std::weak_ptr have operator->?

Weak pointer to this in constructor

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

c++ shared-ptr weak-ptr