Namespaces
Variants
Views
Actions

std::enable_shared_from_this<T>::~enable_shared_from_this

From cppreference.com
 
 
Memory management library
(exposition only*)
Uninitialized memory algorithms
(C++17)
(C++17)
(C++17)
Constrained uninitialized
memory algorithms
C Library

Allocators
Memory resources
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)
Uninitialized storage
(until C++20*)
(until C++20*)
Explicit lifetime management
 
 
~enable_shared_from_this();
(since C++11)

Destroys *this.

[edit] See also

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