| 351 | */ |
| 352 | template <typename Protocol1, typename Executor1> |
| 353 | typename enable_if< |
| 354 | is_convertible<Protocol1, Protocol>::value |
| 355 | && is_convertible<Executor1, Executor>::value, |
| 356 | basic_socket& |
| 357 | >::type operator=(basic_socket<Protocol1, Executor1> && other) |
| 358 | { |
| 359 | basic_socket tmp(std::move(other)); |
| 360 | impl_ = std::move(tmp.impl_); |
| 361 | return *this; |
| 362 | } |
| 363 | #endif // defined(ASIO_HAS_MOVE) || defined(GENERATING_DOCUMENTATION) |
| 364 | |
| 365 | /// Get the executor associated with the object. |
no outgoing calls
no test coverage detected