member function
std::stop_token::stop_requested
- Header
<stop_token>- Draft
- [stoptoken.general]
- Scope
std::stop_token- cppreference
- std::stop_token::stop_requested
Synopsis
[[nodiscard]] bool stop_requested() const noexcept;member function
<stop_token>std::stop_token[[nodiscard]] bool stop_requested() const noexcept;