Visual Studio 10 has been released as beta version (named CTP for Community Technology Preview) and its compiler has some parts of C++0x implemented. The best feature: The
auto keyword. I really
love it. No more typing the foo<bar::baz>::iterator part in
foo<bar::baz>::iterator xy = something.begin();
The Visual C++ Team blog also has a very nice post
explaining the new features, especially lamdas in detail. A feature which I still don't like very much, it is quite sensless IMO because it only adds complexity to the language without adding a real new feature, you can emulate lamdas anyway using templates. Or is it obvious what this code does?
for_each(v.begin(), v.end(), [=](int& r) mutable { const int old = r; r *= x * y; //etc });
But anyway, nice.