std::stoppable_token
From cppreference.com
Defined in header <stop_token> | ||
template<class Token > concept stoppable_token = | (since C++26) | |
Helper templates | ||
template<template<class>class> struct/*check-type-alias-exists*/;// not defined | (exposition only*) | |
The concept stoppable_token<Token>
specifies the basic interface of a stop token that is copyable
and equality_comparable
and allows polling to see if the stop request is possible and whether the request has been made.
[edit]Semantic requirements
This section is incomplete |
[edit]See also
(C++26) | specifies a stop token that does not allow stopping (concept) |