#include <future>
#include <iostream>
int main()
{
auto future = std::async([] { return "Future"; });
std::cout << "Back To The " << future.get() << std::endl;
return 0;
}
#include <iostream>
int main()
{
auto future = std::async([] { return "Future"; });
std::cout << "Back To The " << future.get() << std::endl;
return 0;
}
Pingback: Back To The Future as Code | n0n4m3's homepage