| 27 | error_condition error_category::default_error_condition(int ev) const noexcept { return error_condition(ev, *this); } |
| 28 | |
| 29 | bool error_category::equivalent(int code, const error_condition& condition) const noexcept { |
| 30 | return default_error_condition(code) == condition; |
| 31 | } |
| 32 | |
| 33 | bool error_category::equivalent(const error_code& code, int condition) const noexcept { |
| 34 | return *this == code.category() && code.value() == condition; |
no test coverage detected