std::error_...ition::value(3)

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

🌸 std::error_...ition::value(3) 🌸

okay so real talk, this is a page from the C++ Standard Libary β€” yep, that's the manual name right there, we're just folding it in at the top like a cute little name tag πŸ’–. It's the manual entry for std::error_condition::value, and bestie, it's a short one. Lowkey a snack-sized manpage. Let's get into it ✨


πŸŽ€ NAME πŸŽ€

std::error_condition::value β€” literally just std::error_condition::value, no notes, that's the name, that's the whole vibe πŸ’…


✨ Synopsis ✨

Here's the signature, copied exactly, no cap:

int value() const noexcept;  (since C++11)

So it's an int, it takes no arguments, it's const, it's noexcept, and it's been around since C++11 β€” it's giving seasoned icon πŸ‘‘.

And what does it do? Returns the stored error value. That's it. That's the function. Short and slay πŸ¦‹


🫢 Parameters 🫢

  • (none) β€” yeah, nothing. zero. zilch. she takes no parameters, she's low-maintenance like that πŸ™ˆ

⭐ Return value ⭐

The stored error value.</purl> β€” the value it's been holding onto this whole time, just handed right back to you. no plot twist, no surprises, just the stored error value πŸ’œ


ngl this page is like three facts and a dream, but every single one of them is here and accounted for πŸ’€βœ¨

okay bye bestie, go forth and value() responsibly 🌈

source: http://cppreference.com β€” dated 2024.06.10, mwah πŸ’‹

πŸ“¦ where this page comes from