| 899 | |
| 900 | #if BOOST_ASIO_HAS_CO_AWAIT |
| 901 | void testAwaitableCompiles( |
| 902 | stream<net::ip::tcp::socket>& s, |
| 903 | http::request<http::empty_body>& req, |
| 904 | net::mutable_buffer buf |
| 905 | ) |
| 906 | { |
| 907 | static_assert(std::is_same_v< |
| 908 | net::awaitable<void>, decltype( |
| 909 | s.async_accept(net::use_awaitable))>); |
| 910 | |
| 911 | static_assert(std::is_same_v< |
| 912 | net::awaitable<void>, decltype( |
| 913 | s.async_accept(req, net::use_awaitable))>); |
| 914 | |
| 915 | static_assert(std::is_same_v< |
| 916 | net::awaitable<void>, decltype( |
| 917 | s.async_accept(buf, net::use_awaitable))>); |
| 918 | } |
| 919 | #endif |
| 920 | |
| 921 | void |
nothing calls this directly
no outgoing calls
no test coverage detected