summaryrefslogtreecommitdiff
path: root/doc/html/boost_asio/reference/async_read_until/overload4.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/boost_asio/reference/async_read_until/overload4.html')
-rw-r--r--doc/html/boost_asio/reference/async_read_until/overload4.html37
1 files changed, 18 insertions, 19 deletions
diff --git a/doc/html/boost_asio/reference/async_read_until/overload4.html b/doc/html/boost_asio/reference/async_read_until/overload4.html
index a9e8bd554c..0d80bee04d 100644
--- a/doc/html/boost_asio/reference/async_read_until/overload4.html
+++ b/doc/html/boost_asio/reference/async_read_until/overload4.html
@@ -3,11 +3,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>async_read_until (4 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_read_until.html" title="async_read_until">
<link rel="prev" href="overload3.html" title="async_read_until (3 of 4 overloads)">
-<link rel="next" href="../async_write.html" title="async_write">
+<link rel="next" href="../async_result.html" title="async_result">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
@@ -20,7 +20,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="overload3.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../async_read_until.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../async_write.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
+<a accesskey="p" href="overload3.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../async_read_until.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../async_result.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
@@ -36,12 +36,12 @@
<span class="keyword">typename</span> <span class="identifier">Allocator</span><span class="special">,</span>
<span class="keyword">typename</span> <span class="identifier">MatchCondition</span><span class="special">,</span>
<span class="keyword">typename</span> <a class="link" href="../ReadHandler.html" title="Read handler requirements">ReadHandler</a><span class="special">&gt;</span>
-<span class="keyword">void</span> <span class="identifier">async_read_until</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_read_until</span><span class="special">(</span>
<span class="identifier">AsyncReadStream</span> <span class="special">&amp;</span> <span class="identifier">s</span><span class="special">,</span>
<span class="identifier">boost</span><span class="special">::</span><span class="identifier">asio</span><span class="special">::</span><span class="identifier">basic_streambuf</span><span class="special">&lt;</span> <span class="identifier">Allocator</span> <span class="special">&gt;</span> <span class="special">&amp;</span> <span class="identifier">b</span><span class="special">,</span>
<span class="identifier">MatchCondition</span> <span class="identifier">match_condition</span><span class="special">,</span>
<span class="identifier">ReadHandler</span> <span class="identifier">handler</span><span class="special">,</span>
- <span class="keyword">typename</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">enable_if</span><span class="special">&lt;</span> <span class="identifier">is_match_condition</span><span class="special">&lt;</span> <span class="identifier">MatchCondition</span> <span class="special">&gt;</span> <span class="special">&gt;::</span><span class="identifier">type</span> <span class="special">*</span> <span class="special">=</span> <span class="number">0</span><span class="special">);</span>
+ <span class="keyword">typename</span> <span class="identifier">enable_if</span><span class="special">&lt;</span> <span class="identifier">is_match_condition</span><span class="special">&lt;</span> <span class="identifier">MatchCondition</span> <span class="special">&gt;::</span><span class="identifier">value</span> <span class="special">&gt;::</span><span class="identifier">type</span> <span class="special">*</span> <span class="special">=</span> <span class="number">0</span><span class="special">);</span>
</pre>
<p>
This function is used to asynchronously read data into the specified streambuf
@@ -50,7 +50,7 @@
call always returns immediately. The 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">
The match condition function object returns a std::pair where the second
element evaluates to true.
@@ -61,21 +61,20 @@
</ul></div>
<p>
This operation is implemented in terms of zero or more calls to the stream's
- async_read_some function, and is known as a <span class="bold"><strong>composed
- operation</strong></span>. If the match condition function object already indicates
- a match, this asynchronous operation completes immediately. The program
- must ensure that the stream performs no other read operations (such as
- async_read, async_read_until, the stream's async_read_some function, or
- any other composed operations that perform reads) until this operation
- completes.
+ async_read_some function, and is known as a <span class="emphasis"><em>composed operation</em></span>.
+ If the match condition function object already indicates a match, this
+ asynchronous operation completes immediately. The program must ensure that
+ the stream performs no other read operations (such as async_read, async_read_until,
+ the stream's async_read_some function, or any other composed operations
+ that perform reads) until this operation completes.
</p>
<h6>
<a name="boost_asio.reference.async_read_until.overload4.h0"></a>
- <span><a name="boost_asio.reference.async_read_until.overload4.parameters"></a></span><a class="link" href="overload4.html#boost_asio.reference.async_read_until.overload4.parameters">Parameters</a>
+ <span class="phrase"><a name="boost_asio.reference.async_read_until.overload4.parameters"></a></span><a class="link" href="overload4.html#boost_asio.reference.async_read_until.overload4.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 from which the data is to be read. The type must support
@@ -140,7 +139,7 @@
</div>
<h6>
<a name="boost_asio.reference.async_read_until.overload4.h1"></a>
- <span><a name="boost_asio.reference.async_read_until.overload4.remarks"></a></span><a class="link" href="overload4.html#boost_asio.reference.async_read_until.overload4.remarks">Remarks</a>
+ <span class="phrase"><a name="boost_asio.reference.async_read_until.overload4.remarks"></a></span><a class="link" href="overload4.html#boost_asio.reference.async_read_until.overload4.remarks">Remarks</a>
</h6>
<p>
After a successful async_read_until operation, the streambuf may contain
@@ -156,7 +155,7 @@
</p>
<h6>
<a name="boost_asio.reference.async_read_until.overload4.h2"></a>
- <span><a name="boost_asio.reference.async_read_until.overload4.examples"></a></span><a class="link" href="overload4.html#boost_asio.reference.async_read_until.overload4.examples">Examples</a>
+ <span class="phrase"><a name="boost_asio.reference.async_read_until.overload4.examples"></a></span><a class="link" href="overload4.html#boost_asio.reference.async_read_until.overload4.examples">Examples</a>
</h6>
<p>
To asynchronously read data into a streambuf until whitespace is encountered:
@@ -216,7 +215,7 @@
</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 &#169; 2003-2012 Christopher M. Kohlhoff<p>
+<td align="right"><div class="copyright-footer">Copyright &#169; 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>
@@ -224,7 +223,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="overload3.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../async_read_until.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../async_write.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
+<a accesskey="p" href="overload3.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../async_read_until.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../async_result.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>