|
ecor
|
A minimal environment that carries a stop token and satisfies get_stop_token queries.
More...
#include <ecor.hpp>
Public Member Functions | |
| decltype(auto) | query (get_stop_token_t) const noexcept |
A minimal environment that carries a stop token and satisfies get_stop_token queries.
Token may be a value type or a reference type — e.g. inplace_stop_token or inplace_stop_token&. Using a reference avoids copying and reflects live token state.