std::nostopstate_t(3)
πΈ 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
- 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