What is the use of weak_ptr in C++?

21 Views Asked by At

I started understanding about smart pointers of C++ and I do not see any useful use of weak_ptr. Can someone let me know, what is the use of the weak_ptr in C++?

I tried to read some document related to weak_ptr but I count not understand the use of the weak_ptr.

0

There are 0 best solutions below