最終更新日時(UTC):
が更新

履歴 編集

function
<execution>

std::execution::task::promise_type::unhandled_stopped(C++26)

coroutine_handle<> unhandled_stopped() noexcept;

概要

タスクコルーチンの停止完了動作を制御する。

効果

STATE(*this)に関連付けられた非同期操作を完了する。stSTATE(*this)への参照とする。非同期完了は最初にst.handle.destroy()によってコルーチンフレームを破棄し、続いてset_stopped(std::move(st.rcvr))を呼び出す。

戻り値

noop_coroutine()

例外

投げない

バージョン

言語

  • C++26

処理系

参照