std::move_only_function オブジェクトを破棄します。std::move_only_function が空でない場合、そのターゲットも破棄されます。
std::move_only_function
std::function
std::function<R(Args...)>