Skip to content

Latest commit

 

History

History
63 lines (45 loc) · 1.63 KB

never_stop_token.md

File metadata and controls

63 lines (45 loc) · 1.63 KB

never_stop_token

  • stop_token[meta header]
  • class[meta id-type]
  • std[meta namespace]
  • cpp26[meta cpp]
namespace std {
  class never_stop_token;
}

概要

停止不可能な停止トークン。unstoppable_tokenコンセプトのモデル。

メンバ関数

名前 説明 対応バージョン
(constructor) コンストラクタ C++26
(destructor) デストラクタ C++26
bool operator==(const never_stop_token&) const = default; 等値比較 C++26
bool operator!=(const never_stop_token&) const; 非等値比較 (==により使用可能) C++26

静的メンバ関数

名前 説明 対応バージョン
stop_requested falseを返す C++26
stop_possible falseを返す C++26

メンバ型

名前 説明 対応バージョン
callback_type 説明専用のcallback-type C++26
struct callback-type {
  explicit callback-type(never_stop_token, auto&&) noexcept {}
};

バージョン

言語

  • C++26

処理系

関連項目

参照