std::future_error::what(3)

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

πŸ’… std::future_error::what(3) πŸ’…

okay so bestie, this one is from the C++ Standard Libary manual, and it's lowkey a tiny little page but it still ate. Main character: std::future_error::what. Let's get into it, no cap. 🫢


✨ NAME ✨

std::future_error::what - std::future_error::what

like... yes, the NAME is the name twice. iconic. πŸ’€

🌸 Synopsis 🌸

virtual const char* what() const noexcept;  (since C++11)

Returns the explanatory string. That's the whole vibe: it hands you the explanatory string, periodt. πŸ’–

πŸŽ€ Parameters πŸŽ€

(none) β€” literally none, bestie. Not a single parameter. Slay. ✨

πŸ’œ Return value πŸ’œ

A pointer to a null-terminated string with explanatory information. So it's giving "here's the explanatory text, go off." πŸ”₯

πŸ‘‘ See also πŸ‘‘

  • code β€” returns the error code; (public member function). iykyk. 🌈

cute sign-off: source/version/date are http://cppreference.com, 2024.06.10, and std::future_error::what(3). mwah, bye bestie πŸ’‹πŸŽ€

πŸ“¦ where this page comes from