std::system_error::code(3)

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

πŸ’– NAME πŸ’–

std::system_error::code(3) β€” from the C++ Standard Libary manual (that spelling is literally what the page says, bestie 🫢). The NAME line is std::system_error::code - std::system_error::code, because sometimes the name is the name πŸ˜­πŸ’….

✨ Synopsis ✨

const std::error_code& code() const noexcept;  (since C++11)

Okay so this is a const std::error_code& situation, she's noexcept, and she's giving since C++11 energy. It returns the stored error code. That's the whole vibe, no cap πŸ”₯.

πŸŽ€ Parameters πŸŽ€

  • (none) β€” literally no arguments, she takes nothing πŸ‘‘

🌸 Return value 🌸

  • The stored error code πŸ’– (that's it, that's the return value, periodt)

πŸ¦‹ See also πŸ¦‹

  • what β€” returns an explanatory string; [virtual] (virtual public member function) 🌈

Signed off with love from http://cppreference.com, version/date 2024.06.10 β€” std::system_error::code(3) ate and left no crumbs πŸ’‹βœ¨

πŸ“¦ where this page comes from