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 的銷燬性刪除形式的標籤型別。
[編輯] 另請參閱
釋放函式 (函式) |