diff options
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.html | 11 |
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< - typename <a class="link" href="../../Protocol.html" title="Protocol requirements">Protocol1</a>> -enable_if< is_convertible< Protocol1, Protocol >::value, basic_socket >::type & operator=( - basic_socket< Protocol1 > && 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>> +enable_if< is_convertible< Protocol1, Protocol >::value &&is_convertible< Executor1, Executor >::value, basic_socket & >::type operator=( + basic_socket< Protocol1, Executor1 > && other); </pre> <p> This assignment operator moves a socket from one object to another. @@ -59,12 +60,12 @@ enable_if< is_convertible< Protocol1, Protocol >::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&) constructor</code>. + constructed using the <code class="computeroutput">basic_socket(const executor_type&) 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 © 2003-2018 Christopher M. Kohlhoff<p> +<td align="right"><div class="copyright-footer">Copyright © 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> |