cpp/memory/weak ptr/expired

Equivalent to. The destructor for the managed object may not yet have been called, but this object's destruction is imminent (or may have already happened).

Parameters
(none)

Return value
if the managed object has already been deleted, otherwise.