# std::destructible

> C++ Atlas: `cppatlas.com/w/cpp/concepts/destructible` | Source: https://en.cppreference.com/w/cpp/concepts/destructible | Domain: Concepts | Standards: C++11, C++20

The concept destructible specifies the concept of all types whose instances can safely be destroyed at the end of their lifetime (including reference types).

## Official Specification Summary (cppreference)

```cpp
// Defined in header <concepts>

template< class T >
concept destructible = std::is_nothrow_destructible_v<T>; // (since C++20)
```

The concept `destructible` specifies the concept of all types whose instances can safely be destroyed at the end of their lifetime (including reference types).

### Notes

Unlike the *Destructible* named requirement, `std::destructible` requires the destructor to be `noexcept(true)`, not merely non-throwing when invoked, and allows reference types and array types.

### References

- C++23 standard (ISO/IEC 14882:2024):

  - 18.4.10 Concept `destructible` [concept.destructible]

- C++20 standard (ISO/IEC 14882:2020):

  - 18.4.10 Concept `destructible` [concept.destructible]

### See also

- [`is_destructible`](https://en.cppreference.com/w/cpp/types/is_destructible) (C++11), [`is_trivially_destructible`](https://en.cppreference.com/w/cpp/types/is_destructible) (C++11), [`is_nothrow_destructible`](https://en.cppreference.com/w/cpp/types/is_destructible) (C++11): checks if a type has a non-deleted destructor (class template)

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