unique_lock& operator=( unique_lock&& other );
Move assignment operator. Replaces the contents with those of
other using move semantics.
If prior to the call *this has an associated mutex and has acquired ownership of it, the mutex is unlocked.
|other||-|| another |
|Throws nothing||(since C++14)|