int test_main(int, char*[]) { release_test(); swap_test(); move_test(); return 0; }
int main() { auto v = move_test(); auto v1 = std::move(v); v = std::move(v1); std::list<std::thread> l; // copy() would not compile, because std::thread is noncopyable std::move(v.begin(), v.end(), std::back_inserter(l)); for (auto& t : l) t.join(); }