Namespaces
Variants

std:: destroying_delete_t, std:: destroying_delete

From cppreference.net
< cpp ‎ | memory ‎ | new
Utilities library
Memory management library
( exposition only* )
Allocators
Uninitialized memory algorithms
Constrained uninitialized memory algorithms
Memory resources
Uninitialized storage (until C++20)
( until C++20* )
( until C++20* )
( until C++20* )

Garbage collector support (until C++23)
(C++11) (until C++23)
(C++11) (until C++23)
(C++11) (until C++23)
(C++11) (until C++23)
(C++11) (until C++23)
(C++11) (until C++23)
定义于头文件 <new>
struct destroying_delete_t { explicit destroying_delete_t ( ) = default ; } ;
(1) (C++20 起)
inline constexpr destroying_delete_t destroying_delete { } ;
(2) (C++20 起)

用于标识 operator delete 销毁删除形式的标签类型。

参见

释放函数
(函数)