std::experi...re::is_ready(3)
π std::experi...re::is_ready(3) π
okay so bestie, welcome to the manual page for std::experi...re::is_ready(3) from the C++ Standard Libary β yes, that spelling is literally what's on the header, iykyk. this one is short and sweet, but we're keeping every crumb. π
β¨ NAME β¨
std::experimental::future::is_ready -
std::experimental::future::is_ready
it's giving "same name, same name" energy: the NAME section lists std::experimental::future::is_ready and then std::experimental::future::is_ready again. periodt. π
β¨ Synopsis β¨
bool is_ready() const;
this is the whole flex: is_ready() checks if the associated shared state is ready. that's the vibe check. β
β οΈ important, no cap: the behavior is undefined if valid() is false. so please don't call it when the future isn't valid, bestie β undefined behavior is not cute. ππ
β¨ Parameters β¨
(none) β literally no parameters. not a single one. π«Ά
β¨ Return value β¨
it returns true if the associated shared state is ready, otherwise false. simple as that. πΈ
β¨ Example β¨
This section is incomplete
Reason: no example
yeah, the example section is incomplete and the reason is no example. no example era, I guess. π
β¨ See also β¨
validβ checks if the future has a shared state, and it's a public member function ofstd::future<T>. slay for cross-referencing. π₯
β¨ Category β¨
* Todo no example
the category is literally * Todo no example. iconic todo energy. π
mwah π this page came from http://cppreference.com, with the date/version 2024.06.10, and the footer label is std::experi...re::is_ready(3). that's the whole thing, 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