| 530 | inline ASIO_INITFN_AUTO_RESULT_TYPE(WriteHandler, |
| 531 | void (asio::error_code, std::size_t)) |
| 532 | async_write(AsyncWriteStream& s, const ConstBufferSequence& buffers, |
| 533 | CompletionCondition completion_condition, |
| 534 | ASIO_MOVE_ARG(WriteHandler) handler, |
| 535 | typename constraint< |
| 536 | is_const_buffer_sequence<ConstBufferSequence>::value |
| 537 | >::type) |
| 538 | { |
| 539 | return async_initiate<WriteHandler, |
| 540 | void (asio::error_code, std::size_t)>( |
| 541 | detail::initiate_async_write_buffer_sequence<AsyncWriteStream>(s), |
| 542 | handler, buffers, |
| 543 | ASIO_MOVE_CAST(CompletionCondition)(completion_condition)); |
| 544 | } |
| 545 | |
| 546 | template <typename AsyncWriteStream, typename ConstBufferSequence, |
| 547 | ASIO_COMPLETION_TOKEN_FOR(void (asio::error_code, |
no test coverage detected