std::error_code::category
From cppreference.com
< cpp | error | error code
C++
Utilities library
|
|
Diagnostics library
|
|
std::error_code
Member functions | ||||
Modifiers | ||||
Observers | ||||
error_code::category | ||||
Non-member functions | ||||
(until C++20)(until C++20)(C++20) | ||||
Helper classes | ||||
conststd::error_category& category()constnoexcept; | (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
obtains the value of the error_code (public member function)[edit] |