std::stop_t...~stop_token(3)

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

✨ NAME ✨

okay so bestie, the NAME here is std::stop_token::~stop_token - std::stop_token::~stop_token, which is literally the same name twice and honestly? iconic πŸ’…. This page lives in the <pink>C++ Standard Libary</pink> corner of the manual, and you might see it filed all squished as std::stop_t...~stop_token(3) because man-page titles simply cannot handle her full name, no cap.


🌸 Synopsis 🌸

~stop_token();  (since C++20)

since C++20, bestie β€” that's the signature, and it's giving destructor main-character energy ✨.

Destroys the stop_token object.

If *this has associated stop-state, releases ownership of it. that's the whole vibe: destroy the object, and if *this is holding onto some associated stop-state, ownership gets released πŸŽ€.

no extra lore, no secret side quests β€” those two lines are the entire storyline, fr fr πŸ’–.

mwah πŸ’‹ this page was brought to you by cppreference.com and the 2024.06.10 date stamp β€” catch you in the next man page, bestie 🫢

πŸ“¦ where this page comes from