# std::allocator<T>::~allocator

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

Destroys the default allocator.

## Official Specification Summary (cppreference)

```cpp
~allocator(); // (until C++20)
constexpr ~allocator(); // (since C++20)
```

Destroys the default allocator.

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