class never_stop_token;
(since C++26)The never_stop_token
class models unstoppable_token
that provides static information that a stop is never possible nor requested. It is the default stop token type returned by std::get_stop_token
if no other associated stop token is being provided in the queryable object.
{
explicit /*callback-type*/( never_stop_token,
auto&& ) noexcept {}
never_stop_token
objects
static constexpr bool stop_requested() noexcept { return false; }
Always returns false, indicating that a stop can never be requested.
std::never_stop_token::stop_possiblestatic constexpr bool stop_possible() noexcept { return false; }
Always returns false, indicating that a stop is not possible.
std::never_stop_token::operator==bool operator==(const never_stop_token&) const = default;
Two never_stop_token
objects always compare equal.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4