std::destroying_delete_t, std::destroying_delete
来自 cppreference.com
定义在头文件 <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 的销毁删除形式的标签类型。
[编辑] 另请参见
释放函数 (函数) |