std::nostopstate_t(3)

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

🌸 std::nostopstate_t(3) 🌸

okay so this is from the C++ Standard Libary manual, and bestie it’s a tiny one but it still has main character energy ✨

πŸ’– NAME πŸ’–

std::nostopstate_t β€” std::nostopstate_t. That’s the name, that’s the whole name section, we’re not padding it πŸ’…

✨ Synopsis ✨

Defined in header <stop_token>
struct nostopstate_t {

    explicit nostopstate_t() = default;  (since C++20)

};

It’s a unit type intended for use as a placeholder in the std::stop_source non-default constructor, and it makes the constructed std::stop_source empty with no associated stop-state. iconic behavior tbh 🫢


k bye bestie πŸŽ€ β€” source/version is http://cppreference.com, date is 2024.06.10, and this page is std::nostopstate_t(3). πŸ’–

πŸ“¦ where this page comes from