Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
STL11: Magic && Secrets
Feb 11, 2012 at 4:10 PMHere is the future sample code:
string flip(string s) {
reverse(begin(s), end(s));
return s;
}
vector<future<string>> v;
v.push_back(async( [] {return flip(" ,gnol oS"); }));
v.push_back(async( [] {return flip(" dlrow"); }));
v.push_back(async( [] {return flip("\n.ti wonk ew sa"); }));
for(auto& e : v) { cout << e.get(); }
Thanks,
Comet
purr more, hiss less