boost::corosio::io_result<>
Result type for void operations.
Synopsis
Declared in <boost/corosio/io_result.hpp>
template<>
struct io_result<>;
Description
Used by operations like connect() that don't return a value beyond success/failure.
Example
auto [ec] = co_await s.connect(ep);
if (ec) { ... }
// Or with exceptions:
(co_await s.connect(ep)).value();