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

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

🌸 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 if valid() is false. 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 of std::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