Defined in header <system_error> | ||
|---|---|---|
bool operator==( const error_condition& lhs, const error_condition& rhs ); | (1) | (since C++11) |
bool operator==( const error_code& lhs, const error_condition& rhs ); | (2) | (since C++11) |
bool operator==( const error_condition& lhs, const error_code& rhs ); | (2) | (since C++11) |
bool operator!=( const error_condition& lhs, const error_condition& rhs ); | (3) | (since C++11) |
bool operator!=( const error_code& lhs, const error_condition& rhs ); | (4) | (since C++11) |
bool operator!=( const error_condition& lhs, const error_code& rhs ); | (4) | (since C++11) |
bool operator<( const error_condition& lhs, const error_condition& rhs ); | (5) | (since C++11) |
Compares two error conditions.
lhs and rhs are equal.lhs and rhs are not equal.lhs is less than rhs.| lhs, rhs | - | error conditions to compare |
true if the error category and error value compare equal.true if lhs.category().equivalent(lhs.value(), rhs) or rhs.category().equivalent(lhs, rhs.value()) is true.true if the error category or error value compare are not equal.true if lhs.category().equivalent(lhs.value(), rhs) and rhs.category().equivalent(lhs, rhs.value()) are both false.true if lhs.category() < rhs.category(). Otherwise, true if lhs.category() == rhs.category() && lhs.value() < rhs.value(). Otherwise, false.noexcept specification: noexcept
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/error/error_condition/operator_cmp