| 213 | |
| 214 | #if BOOST_ASIO_HAS_CO_AWAIT |
| 215 | void testAwaitableCompiles( |
| 216 | flat_stream<test::stream>& stream, |
| 217 | net::mutable_buffer rxbuf, |
| 218 | net::const_buffer txbuf) |
| 219 | { |
| 220 | static_assert(std::is_same_v< |
| 221 | net::awaitable<std::size_t>, decltype( |
| 222 | stream.async_read_some(rxbuf, net::use_awaitable))>); |
| 223 | |
| 224 | static_assert(std::is_same_v< |
| 225 | net::awaitable<std::size_t>, decltype( |
| 226 | stream.async_write_some(txbuf, net::use_awaitable))>); |
| 227 | } |
| 228 | #endif |
| 229 | |
| 230 | void |
nothing calls this directly
no test coverage detected