Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in weak-ptr

Role of weak_ptr in shared_ptr

weak_ptr - Dereferencing - Throw if expired

Capture shared_ptr in lambda

c++ lambda shared-ptr weak-ptr

When is a std::weak_ptr empty? Is an expired std::weak_ptr empty?

std::shared_ptr, std::weak_ptr and control block

Why is empty weak_ptr required to store null pointer, while empty shared_ptr is allowed to store non-null pointer?

c++ c++17 weak-ptr

What is the reason for the name `weak_ptr::lock()`?

Why doesn't this time_zone_ptr example contain a memory leak?

In well designed code should you expect locking of weak_ptr to always succeed?

C++: Replace raw pointers with shared and weak ptr

Function overloading resolution with weak_ptr as argument

Constructing a constexpr std::weak_ptr

weak_ptr's weird copy constructors

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

Comparator operator in weak_ptr C++

c++ stl c++11 weak-ptr

C++11: How is object deleted if it was constructed using make_shared

Boost shared_from_this and destructor

c++ weak_ptr expiring after dereference?

c++ smart-pointers weak-ptr

Is it wise to provide access to weak_ptr in a library interface?

c++ boost weak-ptr

Breaking cyclic references with std::weak_ptr and alias constructor: sound or problematic?

How to create a std::shared_ptr with the same control block as an expired std::weak_ptr

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