|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member functions | ||||
| Non-member functions | ||||
operator==operator!=operator<operator<=> (until C++20)(until C++20)(C++20) | ||||
| Helper classes | ||||
Defined in header <system_error> | ||
bool operator==(conststd::error_condition& lhs, conststd::error_condition& rhs)noexcept; | (1) | (since C++11) |
bool operator!=(conststd::error_condition& lhs, conststd::error_condition& rhs)noexcept; | (2) | (since C++11) (until C++20) |
bool operator<(conststd::error_condition& lhs, conststd::error_condition& rhs)noexcept; | (3) | (since C++11) (until C++20) |
std::strong_ordering operator<=>(conststd::error_condition& lhs, conststd::error_condition& rhs)noexcept; | (4) | (since C++20) |
bool operator==(conststd::error_code& code, conststd::error_condition& cond)noexcept; | (5) | (since C++11) |
bool operator==(conststd::error_condition& cond, conststd::error_code& code)noexcept; | (5) | (since C++11) (until C++20) |
bool operator!=(conststd::error_code& code, conststd::error_condition& cond)noexcept; | (6) | (since C++11) (until C++20) |
bool operator!=(conststd::error_condition& cond, conststd::error_code& code)noexcept; | (6) | (since C++11) (until C++20) |
Compares two error conditions.
The | (since C++20) |
| lhs, rhs, cond | - | error conditions to compare |
| code | - | the error code to compare |
[virtual] | compareserror_code anderror_condition for equivalence(virtual public member function of std::error_category)[edit] |
(removed in C++20)(removed in C++20)(C++20) | compares twoerror_codes(function)[edit] |