std::stoppable_token
來自 cppreference.com
定義於標頭檔案 <stop_token> |
||
template< class Token > concept stoppable_token = |
(C++26 起) | |
幫助模板 |
||
template< template<class> class > struct /*check-type-alias-exists*/; // not defined |
(僅作說明*) | |
概念 stoppable_token<Token>
指定了一個停止令牌的基本介面,該令牌是 可複製的
和 可相等比較的
,並允許輪詢以檢視停止請求是否可能以及請求是否已發出。
[編輯] 語義要求
本節不完整 |
[編輯] 參閱
(C++26) |
指定不允許停止的停止令牌 (concept) |