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

履歴 編集

function
<stop_token>

std::inplace_stop_token::stop_requested(C++26)

bool stop_requested() const noexcept;

概要

停止要求が作成されたかどうかを返す。

効果

自身がinplace_stop_sourceを参照し、かつstop_requestedtrueの場合に限って、trueを返す。 そうでなければ、falseを返す。

例外

投げない

バージョン

言語

  • C++26

処理系

参照