}
bool equivalent(int code, const std::error_condition& cond) const noexcept override {
+ if (error_category::equivalent(code, cond)) {
+ return true;
+ }
switch (static_cast<error>(code)) {
case error::connection_aborted:
return cond == std::errc::connection_aborted
}
bool equivalent(const std::error_code& code, int cond) const noexcept override {
+ if (error_category::equivalent(code, cond)) {
+ return true;
+ }
switch (static_cast<error>(cond)) {
case error::connection_aborted:
return code == std::errc::connection_aborted