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

履歴 編集

function
<execution>

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

void unhandled_exception();

概要

タスクコルーチンから送出された例外を処理する。 プログラマが本関数を直接利用することは想定されていない。

効果

完了シグネチャset_error_t(exception_ptr)error_typesの要素でないとき、terminate()を呼び出す。そうでなければ、errorscurrent_exception()を格納する。

バージョン

言語

  • C++26

処理系

参照