std::unstoppable_token
来自cppreference.com
在标头 <stop_token> 定义
|
||
template< class Token > concept unstoppable_token = |
(C++26 起) | |
概念 unstoppable_token<Token>
为 stoppable_token
指定额外的要求,其类型不允许停止。即表达式 tok.stop_possible() 必须可用在常量表达式中并返回 false。