std::experi...re::is_ready(3)

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

πŸ’… 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 of std::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