🌈 搜索
📅  最后修改于: 2022-03-11 14:44:49.680000             🧑  作者: Mango
void task1(std::string msg) { std::cout << "task1 says: " << msg; } std::thread t1(task1, "Hello"); t1.join();