class
std::never_stop_token(C++26)
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 {}
};
バージョン
言語
処理系
関連項目
参照