Search code examples
Calling `.lock()` on weak_ptr returns NULL shared_ptr...

c++c++14weak-ptr

Read More
operator -> or ->* applied to "const std::weak_ptr" instead of to a pointer typeC/C+...

c++weak-ptr

Read More
Why does std::weak_ptr<T>::lock return empty shared pointer here?...

c++smart-pointersweak-ptr

Read More
Calling a function on weak pointer...

c++weak-ptr

Read More
std::weak_ptr::lock and object destruction...

c++multithreadingshared-ptrweak-ptr

Read More
How to access the class member functions from a weak pointer in C++?...

c++smart-pointersweak-ptr

Read More
How to fix this shared_ptr reference cycles?...

c++shared-ptrweak-ptr

Read More
A set of weak_ptr...

c++c++11setsmart-pointersweak-ptr

Read More
How to give a child a weak pointer to a parent? (C++)...

c++c++17smart-pointersunique-ptrweak-ptr

Read More
What is diffrence between lock() and expired()? weak_ptr C++...

c++c++11shared-ptrsmart-pointersweak-ptr

Read More
Understanding of Scott Meyers' third example of std::weak_ptr...

c++c++11shared-ptrweak-ptreffective-c++

Read More
Why am I getting segmentational fault with weak_ptr...

c++c++17shared-ptrweak-ptr

Read More
Use of weak_ptr with cyclic references...

c++shared-ptrweak-ptr

Read More
Give container ownership of its children, but have children store a reference to their parent using ...

c++c++11shared-ptrsmart-pointersweak-ptr

Read More
weak_ptr obtained from weak_from_this() is invalid...

c++smart-pointersweak-ptr

Read More
What variables does weak_ptr hold?...

c++pointersweak-ptr

Read More
Deduce weak_ptr argument from shared_ptr...

c++shared-ptrweak-ptr

Read More
Storing of std::weak_ptr<void> and using static_pointer_cast...

c++smart-pointersstatic-castweak-ptr

Read More
Is it correct to return null shared_ptr?...

c++shared-ptrsmart-pointersweak-ptr

Read More
How to reduce the implementation code of lots of wrapper classes?...

c++c++11shared-ptrsmart-pointersweak-ptr

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

c++dictionarystdmapweak-referencesweak-ptr

Read More
About "circular reference", I used weak_ptr but memory leak still happened...

c++shared-ptrsmart-pointerscircular-referenceweak-ptr

Read More
Could shared_from_this be implemented without enable_shared_from_this?...

c++shared-ptrmultiple-inheritanceweak-ptrenable-shared-from-this

Read More
How to use assert to check whether a weak_ptr is nullptr...

c++assertsmart-pointersweak-ptr

Read More
Trivial cases of shared_ptr and weak_ptr failing...

c++shared-ptrweak-ptrprivate-inheritanceenable-shared-from-this

Read More
How do you assign weak_ptr by passing the "this" keyword?...

c++thisweak-ptr

Read More
Empty weak pointer in enable_shared_from_this...

c++shared-ptrunique-ptrweak-ptrenable-shared-from-this

Read More
Why does std::enable_shared_from_this allow multiple std::shared_ptr instances?...

c++c++17shared-ptrweak-ptrenable-shared-from-this

Read More
Is there a way to make member function NOT callable from constructor?...

c++constructorc++17shared-ptrweak-ptr

Read More
enable shared from this crash...

c++shared-ptrweak-ptr

Read More
BackNext