std::system_error::code(3)
π 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
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms