Search code examples
Referring to a "std::unique_ptr" that you don't own (use a raw pointer?)...

c++c++11shared-ptrunique-ptrweak-ptr

Read More
Is there a weak_ptr equivalent to shared_from_this?...

c++pointersc++14shared-ptrweak-ptr

Read More
Possible to create weak_ptr to set elements...

c++setweak-ptr

Read More
shared_ptr, subscription, destructor...

c++shared-ptrobserver-patternsubscriptionweak-ptr

Read More
No match for operator== (weak_ptr, const weak_ptr)...

c++gccvectorshared-ptrweak-ptr

Read More
C++ weak_ptr creation performance...

c++performanceshared-ptrreference-countingweak-ptr

Read More
Can I make a shared object pool using std::shared_ptr and weak_ptr without a custom destructor?...

c++c++11shared-ptrweak-ptr

Read More
Locating a weak_ptr after shared_ptr is expired...

c++shared-ptrsmart-pointersweak-ptr

Read More
Is std::weak_ptr<T>::lock thread-safe?...

c++multithreadingweak-ptrc++20

Read More
Why doesn't this dangling std::weak_ptr cause SEGFAULT?...

c++weak-ptr

Read More
Plain reference instead of weak_ptr to break circular dependency...

c++referencesmart-pointersweak-ptr

Read More
In what sense does a weak_ptr 'own' a shared_ptr?...

c++c++11shared-ptrweak-ptrmake-shared

Read More
std::make_shared(), std::weak_ptr and cyclic references...

c++c++11shared-ptrweak-ptrmake-shared

Read More
weak_ptr, make_shared and memory deallocation...

c++c++11shared-ptrweak-ptrmake-shared

Read More
weak_from_this() within constructor...

c++constructorsmart-pointersweak-ptr

Read More
Is it compatible to "C++ philosophy" to recode your own smart pointers...

c++shared-ptrsmart-pointersweak-ptr

Read More
Should my API functions take shared_ptr or weak_ptr...

c++shared-ptrweak-ptr

Read More
boost::weak_ptr interaction with custom deleter...

c++boostshared-ptrweak-ptr

Read More
Using std::weak_ptr with std::shared_ptr for shadowing...

c++c++11thread-safetyshared-ptrweak-ptr

Read More
Can I memcpy std::weak_ptr?...

c++c++11shared-ptrweak-ptrdata-representation

Read More
shared_ptr and cyclic references...

c++shared-ptrweak-ptrcyclic-reference

Read More
Does weak_ptr work alongside unique_ptr?...

c++c++14smart-pointersunique-ptrweak-ptr

Read More
How does weak_ptr work?...

c++boostweak-referencestr1weak-ptr

Read More
How should I store a list of weak pointers in the factory class?...

c++c++11pointerssmart-pointersweak-ptr

Read More
How to check if weak_ptr is empty (non-assigned)?...

c++c++11weak-ptr

Read More
Why shared_ptr's reference counting object needs to keep track of the number of weak_ptrs pointi...

c++c++11shared-ptrweak-ptr

Read More
Implementation of lock()...

c++boostweak-ptr

Read More
Does weak_ptr is always expired after shared_ptr reset?...

c++c++11shared-ptrweak-ptr

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

c++shared-ptrsmart-pointersweak-ptrrefcounting

Read More
std::weak_ptr assignment with std::make_shared...

c++11weak-ptrmake-shared

Read More
BackNext