thread& operator=( thread&& other ) noexcept;
If *this still has an associated running thread (i.e. joinable() == true), calls std::terminate(). Otherwise, assigns the state of
other to *this and sets
other to a default constructed state.
|other||-||another thread object to assign to this thread object|
 Return value