std::stoppable_token
来自 cppreference.cn
定义于头文件 <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) |