std::error_...n::category(3)

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

πŸŽ€ std::error_...n::category(3) πŸŽ€

Manual name drop: C++ Standard Libary β€” yes, that's the manual name, and we're respecting it. This page is all about std::error_condition::category, bestie ✨

πŸ’– NAME πŸ’–

std::error_condition::category β€” std::error_condition::category

The name is the name twice, and honestly? iconic behavior.

🌸 Synopsis 🌸

const error_category& category() const noexcept;  (since C++11)

This one has been around (since C++11), and it's giving very β€œsmall but mighty” energy πŸ’…

πŸ¦‹ Parameters πŸ¦‹

  • (none) β€” literally no parameters, bestie. Nothing to pass in. No cap.

🌈 Return value 🌈

The stored error category. That's it β€” it hands you back the stored error category 🫢

⭐ See also ⭐

  • error_category β€” base class for error categories
  • (C++11) β€” (class)

Cute sign-off time πŸ“: source/version is http://cppreference.com, dated 2024.06.10, and the footer tag is std::error_...n::category(3). Periodt πŸ’œ

πŸ“¦ where this page comes from