|
|
|
|
Member functions | ||||
(until C++20)(until C++20)(C++20) |
Defined in header <system_error> | ||
class error_category; | (since C++11) | |
std::error_category
serves as the base class for specific error category types, such asstd::system_category,std::iostream_category, etc. Each specific category class defines theerror_code
-error_condition
mapping and holds the explanatory strings for all error_conditions. The objects of error category classes are treated as singletons, passed by reference.
constructs anerror_category (public member function)[edit] | |
[virtual] | destructs anerror_category (virtual public member function)[edit] |
operator= [deleted] | not copy assignable (public member function)[edit] |
[virtual] | obtains the name of the category (virtual public member function)[edit] |
[virtual] | mapserror_code toerror_condition (virtual public member function)[edit] |
[virtual] | compareserror_code anderror_condition for equivalence(virtual public member function)[edit] |
[virtual] | obtains the explanatory string (virtual public member function)[edit] |
(removed in C++20)(removed in C++20)(C++20) | compares two error categories (function)[edit] |
(C++11) | identifies the generic error category (function)[edit] |
(C++11) | identifies the operating system error category (function)[edit] |
(C++11) | identifies the iostream error category (function)[edit] |
(C++11) | identifies the future error category (function)[edit] |
(C++11) | holds a portable error code (class)[edit] |
(C++11) | holds a platform-dependent error code (class)[edit] |