std::stop_s...p_requested(3)
π NAME π
okay so welcome to the std::stop_s...p_requested(3) page from the C++ Standard Libary β yes bestie, we are deep in C++20 land and itβs giving very niche but iconic π
std::stop_source::stop_requested - std::stop_source::stop_requested
β¨ Synopsis β¨
hereβs the whole signature, no cap:
[[nodiscard]] bool stop_requested() const noexcept; (since C++20)
what it does: checks if the stop_source object has a stop-state and that state has received a stop request. thatβs the vibe check β
π Parameters π
(none)β literally zero parameters, bestie, not a single one π«Ά
π Return value π
trueif thestop_tokenobject has a stop-state and it has received a stop request.falseotherwise.
π¦ Example π¦
This section is incomplete.
Reason: no example π
π Category π
- Todo no example
shoutout to http://cppreference.com, date/version 2024.06.10, and the page std::stop_s...p_requested(3) β bye bestie, go check those stop requests πβ¨
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms