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