A smart pointer to an object already owned by a unique_ptr. It doesn't own the object but it self zeroes when the object is deleted so that it can never dangle.
-
Updated
Feb 20, 2025 - C++
A smart pointer to an object already owned by a unique_ptr. It doesn't own the object but it self zeroes when the object is deleted so that it can never dangle.
This Repository contains exercises and projects created using Pointers and Pointer Arrays.
Add a description, image, and links to the dangling-pointers topic page so that developers can more easily learn about it.
To associate your repository with the dangling-pointers topic, visit your repo's landing page and select "manage topics."