std::shared...ared_future(3)
π
std::shared...ared_future(3) π
okay so this page is from the C++ Standard Libary manual β yes, spelled exactly like that here, and we're not fixing it, periodt π«Ά β and it's all about the destructor for std::shared_future.
πΈ NAME πΈ
std::shared_future::~shared_future - std::shared_future::~shared_future
β¨ Synopsis β¨
~shared_future(); (since C++11)
If *this is the last object referring to the shared state, it destroys the shared state. Otherwise it does nothing. That's the whole vibe check, bestie π¦
Lowkey important: it only destroys the shared state when *this is the last object referring to it; otherwise, nothing happens. β¨
mwah π β source/version cuties: http://cppreference.com, dated 2024.06.10, and the page is std::shared...ared_future(3). byeee π
π¦ 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