std::unstoppable_token
來自 cppreference.com
定義於標頭檔案 <stop_token> |
||
template< class Token > concept unstoppable_token = |
(C++26 起) | |
概念 unstoppable_token<Token>
為 stoppable_token
指定了一個額外的要求,即該型別不允許停止。也就是說,表示式 tok.stop_possible() 必須能在常量表達式中使用並返回 false。