Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.04 KB

File metadata and controls

34 lines (26 loc) · 1.04 KB

destroying_delete_t

  • new[meta header]
  • std[meta namespace]
  • class[meta id-type]
  • cpp20[meta cpp]
namespace std {
  struct destroying_delete_t {
    explicit destroying_delete_t() = default;
  };

  inline constexpr destroying_delete_t destroying_delete{};
}

概要

C++20にて追加されたdestroying operator deleteを定義するためのタグ型。クラススコープoperator deleteオーバーロード定義時にこの型を第二引数に取るように定義する。

バージョン

言語

  • C++20

処理系

関連項目

参照