std::error_code::category - cppreference.com (original) (raw)
From cppreference.com
< cpp | error | error code
Member functions |
---|
error_code::error_code |
error_code::operator= |
error_code::assign |
Modifiers |
error_code::clear |
Observers |
error_code::value |
error_code::category |
error_code::default_error_condition |
error_code::message |
error_code::operator bool |
Non-member functions |
operator==operator!=operator<operator<=>(until C++20)(until C++20)(C++20) |
operator<< |
Helper classes |
is_error_code_enum |
hashstd::error\_code |
| const std::error_category& category() const noexcept; | | (since C++11) | | ---------------------------------------------------------------------------------- | | ------------- |
Returns the error category of the error code.
[edit] Parameters
(none)
[edit] Return value
The error category of the error code.
[edit] See also
value | obtains the value of the error_code (public member function) [edit] |
---|
Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/error/error_code/category&oldid=168925"