std::destructible(3)
π std::destructible(3) π
okay bestie, welcome to the std::destructible page from the C++ Standard Libary β yes, that spelling is staying, we respect the headerβs main character energy π
β¨
πΈ NAME πΈ
std::destructible - std::destructible
thatβs the whole NAME line and honestly sheβs serving minimalist icon behavior π
β¨ Synopsis β¨
Defined in header <concepts> π«Ά
template< class T > (since C++20)
concept destructible = std::is_nothrow_destructible_v<T>;
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 it allows reference types and array types. no cap, that distinction is the whole plot π₯
π See also π
is_destructibleis_trivially_destructibleis_nothrow_destructibleβchecks if a type has a non-deleted destructor- markers in the original block:
(C++11),(C++11),(C++11),(class template)π
all the little reference crumbs are here, bestie β nothing skipped, periodt π
source:http://cppreference.comΒ· version/date:2024.06.10Β· page:std::destructible(3)β mwah πβ¨
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms