inline void throw_error(const lslboost::system::error_code& err,
    const char* location)
{
  if (err)
    do_throw_error(err, location);
}
示例#2
0
inline void throw_error(const asio::error_code& err,
    const char* location)
{
  if (err)
    do_throw_error(err, location);
}
inline void throw_error(const lslboost::system::error_code& err)
{
  if (err)
    do_throw_error(err);
}
示例#4
0
inline void throw_error(const asio::error_code& err)
{
  if (err)
    do_throw_error(err);
}