std::destructible
| 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).
[edit] 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.
[edit] See also
| (C++11)(C++11)(C++11) |
checks if a type has a non-deleted destructor (class template) |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
