thread::operator= Operator
Associates the thread of a specified object with the current object.
thread& operator=(
thread&& Other
) _NOEXCEPT;
Parameters
- Other
A thread object.
Return Value
*this
Remarks
The method calls detach if the calling object is joinable.
After the association is made, Other is set to a default-constructed state.
Requirements
Header: thread
Namespace: std