# std::Destructible

From cppreference.com
< cpp‎ | concepts

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.

### See also

is_destructible is_trivially_destructible is_nothrow_destructible (C++11)(C++11)(C++11) | checks if a type has a non-deleted destructor (class template)

Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/concepts/Destructible&oldid=104890"