| 316 | */ |
| 317 | template <typename Protocol1, typename Executor1> |
| 318 | typename enable_if< |
| 319 | is_convertible<Protocol1, Protocol>::value |
| 320 | && is_convertible<Executor1, Executor>::value, |
| 321 | basic_stream_socket& |
| 322 | >::type operator=(basic_stream_socket<Protocol1, Executor1>&& other) |
| 323 | { |
| 324 | basic_socket<Protocol, Executor>::operator=(std::move(other)); |
| 325 | return *this; |
| 326 | } |
| 327 | #endif // defined(ASIO_HAS_MOVE) || defined(GENERATING_DOCUMENTATION) |
| 328 | |
| 329 | /// Destroys the socket. |
nothing calls this directly
no test coverage detected