async and await in C++

I’ve just watched Herb Sutter‘s talk on C++ in Visual Studio 2013 and onwards.

The last quarter of the talk was concerned with Microsoft introducing the __async and __await keywords in a similar implementation to that already used in C#, note the __ prefix.

As he explained, this is going to be an implementation of a proposed feature for inclusion in a future version of C++, much like the modules feature currently being implemented in CLang.

The Visual Studio roadmap was intertesting, but it looks like we’re going to have to wait a while for generic lambdas.