I started studying smart pointers of C++11 and I don’t see any useful use of std::weak_ptr. Can someone tell me when std::weak_ptr is useful/necessary?

15 Answers
15

Leave a Reply

Your email address will not be published. Required fields are marked *