std::stop_s...stop_source(3)
π NAME π
std::stop_source::~stop_source β bestie, it's the destructor for std::stop_source, and honestly? It's giving "clean up your room before you leave" energy π
Oh and hey, quick vibe check: this page lives in the C++ Standard Library, so you already know it's the real deal β¨
π Synopsis π
~stop_source(); // (since C++20)
Okay so real talk about what this icon actually does: it destroys the stop_source object π«Ά Like, that's the whole job. Poof, it's gone, lights out, no notes. π
But wait, there's more (obviously π): if *this has associated stop-state, it releases ownership of it. That's it β it just lets go. No dramatic exit, no strings attached, just releasing ownership like a mature main character πΈ
no cap, that's literally the entire destructor. Two jobs, both done flawlessly, and then it exits stage left π¦
that's the whole page, bestie β go forth and let your stop_source objects die with dignity π§π
page brought to you by cppreference.com, dated 2024.06.10 β mwah, xx π
π¦ 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