std::experi...e::is_ready(3)
πΈ NAME πΈ
okay so bestie, this is the page for std::experi...e::is_ready(3), chilling in the C++ Standard Libary manual (yes, that's how it's spelled up top, no cap π). The main character is std::experimental::shared_future::is_ready β and the original name line says it twice, which is giving iconic little echo energy.
β¨ Synopsis β¨
bool is_ready() const;
It checks if the associated shared state is ready. That's the whole vibe.
π¨ bestie warning: the behavior is undefined ifvalid()isfalse. Like, do not pass go, do not collect $200 β make sure it's valid first, fr fr.
π Parameters π
none, babe β literally no parameters. The page says (none), and we respect it.
π Return value π
true if the associated shared state is ready, otherwise false. Simple as that, periodt.
π¦ Example π¦
This section is incomplete Reason: no example
not me showing up with zero example π but that's what the page says, so we keep it real.
π See also π
validβ checks if the future has a shared state (public member function ofstd::shared_future<T>).
π Category π
- Todo no example
mwah π β source: http://cppreference.com, dated 2024.06.10. That's the footer tea, folded into a cute little bye π«Ά
π¦ 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