std::nostopstate_t(3cxx)

πŸ“¦
version 15.2.0 Β· 5 versions
, in debian trixie, ubuntu noble, ubuntu questing

πŸ’– std::nostopstate_t πŸ’–

okay bestie, welcome to the 3cxx section of the manual β€” yes that's the section number, it's the C++ corner of the man-page universe, and today's main character is std::nostopstate_t. pull up a chair, this one's short but she's iconic. πŸŽ€


✨ NAME ✨

std::nostopstate_t β€” a tag type that says a stop_source should have no shared-stop-state. that's it. that's the whole job. she's a little label with main character energy. πŸ‘‘


🌸 SYNOPSIS 🌸

#include <stop_token>

no cap, that's the entire include. one header, zero drama. πŸ¦‹


🧚 Detailed Description 🧚

so like β€” std::nostopstate_t is a tag type, and a tag type is basically a tiny little "hey, this is what I mean" flag you hand to a constructor so it knows which vibe you're going for. ✨

and the vibe here? no shared-stop-state. it tells a stop_source that it should have none of that shared state going on β€” no shared stop state, nope, not today. πŸ’…

that's literally the entire description. she's a one-line queen. not every type needs a trilogy, okay?? πŸ™ˆ

lowkey the most important thing here is just: this is a tag type, and it means "no shared-stop-state." everything else is vibes. πŸ’–

⭐ Author ⭐

this page was generated automatically by Doxygen for libstdc++ straight from the source code. so like, no human author to stan, just the machine doing its thing. robot icon behavior, honestly. πŸ€–βœ¨


and that's the whole page, bestie!! 🫢 shoutout to libstdc++ for shipping this lil 3cxx man page, and to Doxygen for auto-generating it from the source. go forth and stop-source responsibly. periodt. πŸ’œπŸŒΈπŸŽ€