21 Internet protocol [internet]

21.17 Class template ip::basic_resolver [internet.resolver]

21.17.3 ip::basic_resolver assignment [internet.resolver.assign]

basic_resolver& operator=(basic_resolver&& rhs);

Effects: Cancels all outstanding asynchronous operations associated with *this as if by calling cancel(), then moves into *this the state originally represented by rhs.

Postconditions: get_executor() == rhs.get_executor().

Returns: *this.