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