Namespaces
Variants

std::enable_shared_from_this<T>::~enable_shared_from_this

From cppreference.com
 
 
Memory management library
Allocators
Memory resources
Uninitialized storage (until C++20*)
Garbage collector support (until C++23)
 
 
~enable_shared_from_this();
(since C++11)
(constexpr since C++26)

Destroys *this.

See also

smart pointer with shared object ownership semantics
(class template) [edit]