- 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
- Clang: ??
- GCC: ??
- ICC: ??
- Visual C++: ??