# std::enable_shared_from_this<T>::~enable_shared_from_this

> C++ Atlas: `cppatlas.com/w/cpp/memory/enable_shared_from_this/~enable_shared_from_this` | Source: https://en.cppreference.com/w/cpp/memory/enable_shared_from_this/~enable_shared_from_this | Domain: Memory management | Standards: C++11

## Official Specification Summary (cppreference)

```cpp
~enable_shared_from_this(); // (since C++11)
```

Destroys `*this`.

### See also

- [`shared_ptr`](https://en.cppreference.com/w/cpp/memory/shared_ptr) (C++11): smart pointer with shared object ownership semantics (class template)

---
Attribution: content from https://en.cppreference.com/w/cpp/memory/enable_shared_from_this/~enable_shared_from_this (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.