std::stoppable_token
来自cppreference.com
在标头 <stop_token> 定义
|
||
template< class Token > concept stoppable_token = |
(C++26 起) | |
Helper templates |
||
template< template<class> class > struct /*check-type-alias-exists*/; // 不予定义 |
(仅用于阐述*) | |
概念 stoppable_token<Token>
指定一种停止令牌的基本接口,它为 copyable
且 equality_comparable
,并允许进行轮询以检查是否可能请求停止及是否已做出请求。
[编辑] 语义要求
本节未完成 |
[编辑] 参阅
(C++26) |
指定一种不允许停止的停止令牌 (概念) |