std::experi...operatorbool(3)

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

πŸ’– NAME πŸ’–

okay bestie, buckle up: this page is std::experimental::optional::operatorbool β€” and yes, it is literally also std::experimental::optional::operatorbool again. iconic duplicate energy πŸ’…. It comes from the C++ Standard Libary manual, and the page handle is std::experi...operatorbool(3). We are so back.


✨ Synopsis ✨

constexpr explicit operator bool() const noexcept;

(library fundamentals TS)

Checks whether *this contains a value. That is the whole vibe check, no cap 🫢.

πŸŽ€ Parameters πŸŽ€

(none) β€” not a single one, bestie. Zero. Nada. πŸ“

🌈 Return value 🌈

true if *this contains a value, false if *this does not contain a value. Periodt. πŸ’–

🏷️ Category: 🏷️

  • Noindexed pages

mwah πŸ’‹ β€” source/version: http://cppreference.com; date: 2024.06.10; handle: std::experi...operatorbool(3) πŸ¦‹

πŸ“¦ where this page comes from