std::nullopt(3)

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

okay bestie, this is the std::nullopt(3) page from the C++ Standard Libary manual β€” yes, that's the manual name, folded in right at the top so we're all caught up. πŸ’–

πŸ’– NAME πŸ’–

std::nullopt - std::nullopt

That's the name section, no cap β€” it's just the constant's name mirrored back at you. πŸ’…

🌸 Synopsis 🌸

Defined in header <optional>.

inline constexpr nullopt_t nullopt{/*unspecified*/};  (since C++17)

std::nullopt is a constant of type std::nullopt_t that is used to indicate optional type with uninitialized state. It's giving "blank but iconic" energy, fr fr. πŸ¦‹

🌈 See also 🌈

  • nullopt_t β€” indicator of optional type with uninitialized state (C++17) (class)

okay that's the page, bestie! source: http://cppreference.com, date/version: 2024.06.10, page: std::nullopt(3). slay. πŸ’–

πŸ“¦ where this page comes from