Example #1
0
 bool
 equivalent (int ev, boost::system::error_condition const& condition
     ) const noexcept override
 {
     return condition.value() == ev &&
         &condition.category() == this;
 }
Example #2
0
 static void format(Sink& sink, boost::system::error_condition const& value)
 {
     write(sink, value.message(), " (", value.category().name(), ':', value.value(), ')');
 }