summaryrefslogtreecommitdiff
path: root/doc/html/boost_asio/reference/async_connect/overload1.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/boost_asio/reference/async_connect/overload1.html')
-rw-r--r--doc/html/boost_asio/reference/async_connect/overload1.html13
1 files changed, 7 insertions, 6 deletions
diff --git a/doc/html/boost_asio/reference/async_connect/overload1.html b/doc/html/boost_asio/reference/async_connect/overload1.html
index 41649fb6ab..271872f32b 100644
--- a/doc/html/boost_asio/reference/async_connect/overload1.html
+++ b/doc/html/boost_asio/reference/async_connect/overload1.html
@@ -33,10 +33,11 @@
</p>
<pre class="programlisting">template&lt;
typename <a class="link" href="../Protocol.html" title="Protocol requirements">Protocol</a>,
+ typename <a class="link" href="../Executor1.html" title="Executor requirements">Executor</a>,
typename <a class="link" href="../EndpointSequence.html" title="Endpoint sequence requirements">EndpointSequence</a>,
typename <a class="link" href="../RangeConnectHandler.html" title="Range connect handler requirements">RangeConnectHandler</a>&gt;
<a class="link" href="../asynchronous_operations.html#boost_asio.reference.asynchronous_operations.automatic_deduction_of_initiating_function_return_type"><span class="emphasis"><em>DEDUCED</em></span></a> async_connect(
- basic_socket&lt; Protocol &gt; &amp; s,
+ basic_socket&lt; Protocol, Executor &gt; &amp; s,
const EndpointSequence &amp; endpoints,
RangeConnectHandler &amp;&amp; handler,
typename enable_if&lt; is_endpoint_sequence&lt; EndpointSequence &gt;::value &gt;::type * = 0);
@@ -84,8 +85,8 @@
<p>
Regardless of whether the asynchronous operation completes immediately
or not, the handler will not be invoked from within this function.
- Invocation of the handler will be performed in a manner equivalent
- to using <code class="computeroutput">boost::asio::io_context::post()</code>.
+ On immediate completion, invocation of the handler will be performed
+ in a manner equivalent to using <a class="link" href="../post.html" title="post"><code class="computeroutput">post</code></a>.
</p>
</dd>
</dl>
@@ -94,9 +95,9 @@
<a name="boost_asio.reference.async_connect.overload1.h1"></a>
<span class="phrase"><a name="boost_asio.reference.async_connect.overload1.example"></a></span><a class="link" href="overload1.html#boost_asio.reference.async_connect.overload1.example">Example</a>
</h6>
-<pre class="programlisting">tcp::resolver r(io_context);
+<pre class="programlisting">tcp::resolver r(my_context);
tcp::resolver::query q("host", "service");
-tcp::socket s(io_context);
+tcp::socket s(my_context);
// ...
@@ -126,7 +127,7 @@ void connect_handler(
</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-2018 Christopher M. Kohlhoff<p>
+<td align="right"><div class="copyright-footer">Copyright &#169; 2003-2019 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>