//临时对象转移,必须隐式调用
t1=std::thread(some_other_function);
std::thread t3;
t3=std::move(t2);//显式调用
t1=std::thread(some_other_function);
t1=std::move(t3);//多次赋值将使程序崩溃
//std::thread 实例作为参数进行传递
void f(std::thread t);
void g()
{
void some_function();
f(std::thread(some_function));
std::thread t(some_function);
f(std::move(t));
}