<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>async_write (2 of 4 overloads)</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
+<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../async_write.html" title="async_write">
<link rel="prev" href="overload1.html" title="async_write (1 of 4 overloads)">
<span class="keyword">typename</span> <a class="link" href="../ConstBufferSequence.html" title="Constant buffer sequence requirements">ConstBufferSequence</a><span class="special">,</span>
<span class="keyword">typename</span> <span class="identifier">CompletionCondition</span><span class="special">,</span>
<span class="keyword">typename</span> <a class="link" href="../WriteHandler.html" title="Write handler requirements">WriteHandler</a><span class="special">></span>
-<span class="keyword">void</span> <span class="identifier">async_write</span><span class="special">(</span>
+<a class="link" href="../asynchronous_operations.html#boost_asio.reference.asynchronous_operations.return_type_of_an_initiating_function"><span class="emphasis"><em>void-or-deduced</em></span></a> <span class="identifier">async_write</span><span class="special">(</span>
<span class="identifier">AsyncWriteStream</span> <span class="special">&</span> <span class="identifier">s</span><span class="special">,</span>
<span class="keyword">const</span> <span class="identifier">ConstBufferSequence</span> <span class="special">&</span> <span class="identifier">buffers</span><span class="special">,</span>
<span class="identifier">CompletionCondition</span> <span class="identifier">completion_condition</span><span class="special">,</span>
asynchronous operation will continue until one of the following conditions
is true:
</p>
-<div class="itemizedlist"><ul class="itemizedlist" type="disc">
+<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem">
All of the data in the supplied buffers has been written. That is,
the bytes transferred is equal to the sum of the buffer sizes.
</ul></div>
<p>
This operation is implemented in terms of zero or more calls to the stream's
- async_write_some function, and is known as a <span class="bold"><strong>composed
- operation</strong></span>. The program must ensure that the stream performs
- no other write operations (such as async_write, the stream's async_write_some
- function, or any other composed operations that perform writes) until this
- operation completes.
+ async_write_some function, and is known as a <span class="emphasis"><em>composed operation</em></span>.
+ The program must ensure that the stream performs no other write operations
+ (such as async_write, the stream's async_write_some function, or any other
+ composed operations that perform writes) until this operation completes.
</p>
<h6>
<a name="boost_asio.reference.async_write.overload2.h0"></a>
- <span><a name="boost_asio.reference.async_write.overload2.parameters"></a></span><a class="link" href="overload2.html#boost_asio.reference.async_write.overload2.parameters">Parameters</a>
+ <span class="phrase"><a name="boost_asio.reference.async_write.overload2.parameters"></a></span><a class="link" href="overload2.html#boost_asio.reference.async_write.overload2.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
-<dl>
+<dl class="variablelist">
<dt><span class="term">s</span></dt>
<dd><p>
The stream to which the data is to be written. The type must support
</div>
<h6>
<a name="boost_asio.reference.async_write.overload2.h1"></a>
- <span><a name="boost_asio.reference.async_write.overload2.example"></a></span><a class="link" href="overload2.html#boost_asio.reference.async_write.overload2.example">Example</a>
+ <span class="phrase"><a name="boost_asio.reference.async_write.overload2.example"></a></span><a class="link" href="overload2.html#boost_asio.reference.async_write.overload2.example">Example</a>
</h6>
<p>
To write a single data buffer use the <a class="link" href="../buffer.html" title="buffer"><code class="computeroutput"><span class="identifier">buffer</span></code></a> function as follows:
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
-<td align="right"><div class="copyright-footer">Copyright © 2003-2012 Christopher M. Kohlhoff<p>
+<td align="right"><div class="copyright-footer">Copyright © 2003-2014 Christopher M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>