| 256 | } |
| 257 | |
| 258 | void test_3_arg_nothrow_zero_buffers_write() |
| 259 | { |
| 260 | boost::asio::io_context ioc; |
| 261 | test_stream s(ioc); |
| 262 | std::vector<boost::asio::const_buffer> buffers; |
| 263 | |
| 264 | boost::system::error_code error; |
| 265 | size_t bytes_transferred = boost::asio::write(s, buffers, error); |
| 266 | BOOST_ASIO_CHECK(bytes_transferred == 0); |
| 267 | BOOST_ASIO_CHECK(!error); |
| 268 | } |
| 269 | |
| 270 | void test_3_arg_nothrow_const_buffer_write() |
| 271 | { |