summaryrefslogtreecommitdiff
path: root/doc/html/boost_asio/reference/basic_socket/operator_eq_/overload2.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/boost_asio/reference/basic_socket/operator_eq_/overload2.html')
-rw-r--r--doc/html/boost_asio/reference/basic_socket/operator_eq_/overload2.html11
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/html/boost_asio/reference/basic_socket/operator_eq_/overload2.html b/doc/html/boost_asio/reference/basic_socket/operator_eq_/overload2.html
index 58f176f892..05f40ec818 100644
--- a/doc/html/boost_asio/reference/basic_socket/operator_eq_/overload2.html
+++ b/doc/html/boost_asio/reference/basic_socket/operator_eq_/overload2.html
@@ -32,9 +32,10 @@
from a socket of another protocol type.
</p>
<pre class="programlisting">template&lt;
- typename <a class="link" href="../../Protocol.html" title="Protocol requirements">Protocol1</a>&gt;
-enable_if&lt; is_convertible&lt; Protocol1, Protocol &gt;::value, basic_socket &gt;::type &amp; operator=(
- basic_socket&lt; Protocol1 &gt; &amp;&amp; other);
+ typename <a class="link" href="../../Protocol.html" title="Protocol requirements">Protocol1</a>,
+ typename <a class="link" href="../../Executor1.html" title="Executor requirements">Executor1</a>&gt;
+enable_if&lt; is_convertible&lt; Protocol1, Protocol &gt;::value &amp;&amp;is_convertible&lt; Executor1, Executor &gt;::value, basic_socket &amp; &gt;::type operator=(
+ basic_socket&lt; Protocol1, Executor1 &gt; &amp;&amp; other);
</pre>
<p>
This assignment operator moves a socket from one object to another.
@@ -59,12 +60,12 @@ enable_if&lt; is_convertible&lt; Protocol1, Protocol &gt;::value, basic_socket &
</h6>
<p>
Following the move, the moved-from object is in the same state as if
- constructed using the <code class="computeroutput">basic_socket(io_context&amp;) constructor</code>.
+ constructed using the <code class="computeroutput">basic_socket(const executor_type&amp;) constructor</code>.
</p>
</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>