#include <iostream>
#include <thread>
#include <vector>

void foo()
{
    std::cout << "Hello\n";
    return;
}

int main()
{
    std::vector<std::thread> vecThread;
    vecThread.emplace_back(foo);
    vecThread[0].join();
}