std::stop_s...p_requested(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

πŸ’– 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 πŸ’–

  • true if the stop_token object has a stop-state and it has received a stop request.
  • false otherwise.

πŸ¦‹ 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