std::destroying_delete_t, std::destroying_delete

From cppreference.com
< cpp‎ | memory‎ | new
 
 
 
Dynamic memory management
Uninitialized storage
(C++17)
Garbage collection support
Miscellaneous
(C++20)
(C++11)
(C++11)
C Library
Low level memory management
 
 
Defined in header <new>
struct destroying_delete_t { explicit destroying_delete_t() = default; };
(since C++20)
inline constexpr destroying_delete_t destroying_delete{};
(since C++20)

Tag type used to identify the destroying delete form of operator delete.

See also

deallocation functions
(function)