Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 774 Bytes

op_destructor.md

File metadata and controls

36 lines (25 loc) · 774 Bytes

デストラクタ

  • functional[meta header]
  • std[meta namespace]
  • move_only_function[meta class]
  • function[meta id-type]
  • cpp23[meta cpp]
~move_only_function();

概要

move_only_functionオブジェクトを破棄する。

効果

*thisが有効な関数ポインタ、メンバポインタ、もしくは関数オブジェクトを持っている場合、その関数を解放する。

例外

投げない

バージョン

言語

  • C++23

処理系

参照