dangling
Referring to an object that no longer exists.
A reference, pointer, or view dangles when it outlives the object it refers to, such as a reference returned to a function's local; using it is undefined behavior.
See also
Referring to an object that no longer exists.
A reference, pointer, or view dangles when it outlives the object it refers to, such as a reference returned to a function's local; using it is undefined behavior.
See also