thread::operator= Operator

Associates the thread of a specified object with the current object.

thread& operator=(
   thread&& Other


A thread object.

The method calls detach if the calling object is joinable.

After the association is made, Other is set to a default-constructed state.

Header: thread

Namespace: std

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft