std::enable_shared_from_this<T>::~enable_shared_from_this

From cppreference.com
 
 
Utilities library
General utilities
Relational operators (deprecated in C++20)
 
Dynamic memory management
Uninitialized memory algorithms
Constrained uninitialized memory algorithms
Allocators
Garbage collection support
(C++11)(until C++23)
(C++11)(until C++23)
(C++11)(until C++23)
(C++11)(until C++23)
(C++11)(until C++23)
(C++11)(until C++23)



 
 
~enable_shared_from_this();
(since C++11)

Destroys *this.

See also

smart pointer with shared object ownership semantics
(class template)