Weak Pointers
std::weak_ptr is the last component of the smart pointers family. Its purpose is limited compared to the other smart pointers, and we will examine why in this lesson.
Introduction
To be honest, std::weak_ptr is not a classic smart pointer, since it supports no transparent access to the resource; it only borrows the resource from an std::shared_ptr
.
Methods
The table provides an overview of the methods of ...