名稱空間
變體
操作

std::move_only_function::~move_only_function

來自 cppreference.com
 
 
 
函式物件
函式呼叫
(C++17)(C++23)
恆等函式物件
(C++20)
透明運算子包裝器
(C++14)
(C++14)
(C++14)
(C++14)  
(C++14)
(C++14)
(C++14)
(C++14)
(C++14)
(C++14)
(C++14)
(C++14)
(C++14)

舊繫結器和介面卡
(直到 C++17*)
(直到 C++17*)
(直到 C++17*)
(直到 C++17*)  
(直到 C++17*)
(C++17 前*)(C++17 前*)(C++17 前*)(C++17 前*)
(直到 C++20*)
(直到 C++20*)
(直到 C++17*)(直到 C++17*)
(直到 C++17*)(直到 C++17*)

(直到 C++17*)
(C++17 前*)(C++17 前*)(C++17 前*)(C++17 前*)
(直到 C++20*)
(直到 C++20*)
 
 
~move_only_function();
(C++23 起)

銷燬 std::move_only_function 物件。如果 std::move_only_function 非空,其目標也被銷燬。

[編輯] 參閱

銷燬一個 std::function 例項
(std::function<R(Args...)> 的公開成員函式) [編輯]