33 Thread support library [thread]

33.3 Threads [thread.threads]

33.3.2 Class thread [thread.thread.class]

33.3.2.4 thread assignment [thread.thread.assign]

thread& operator=(thread&& x) noexcept;

Effects: Если joinable(), звонит terminate(). В противном случае, присваивает состояние , x чтобы *this и множеств x в состояние по умолчанию строится.

Postconditions: x.get_­id() == id() и get_­id() возвращает значение x.get_­id() до присвоения.

Returns: *this.