title: Moving std::thread
body: <p>Trying the make simple piece of code work:</p>
  
  <pre><code>std::thread threadFoo;
  
  std::thread&amp;&amp; threadBar = std::thread(threadFunction);
  
  threadFoo = threadBar; // thread&amp; operator=( thread&amp;&amp; other ); expected to be called
  </code></pre>
  
  <p>Getting an error: </p>
  
  <blockquote>
    <p>use of deleted function 'std::thread&amp; std::thread::operator=(const
    std::thread&amp;)'</p>
  </blockquote>
  
  <p>I explicitly define <code>threadBar</code> as an rvalue reference, not a ordinary one. Why is not expected operator being called? How do I move one thread to another?</p>
  
  <p>Thank you!</p>