observer-ptr - An observer_ptr for C++98 and later in a single-file header-only library (Extensions for Library Fundamentals, v2, v3)
-
Updated
Jun 1, 2024 - C++
observer-ptr - An observer_ptr for C++98 and later in a single-file header-only library (Extensions for Library Fundamentals, v2, v3)
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.
Add a description, image, and links to the observer-ptr topic page so that developers can more easily learn about it.
To associate your repository with the observer-ptr topic, visit your repo's landing page and select "manage topics."