C++ Team Blog

The latest in C++, Visual Studio, VS Code, and vcpkg from the MSFT C++ team

PDC 2010: Lambdas, Lambdas Everywhere

(image) Why care about C++0x lambda functions? Syntactically, they are nothing but sugar for function objects. However, they are an essential and enabling sugar that will change the way we will write C++ code more often than most people realize. This talk from last PDC covers what lambda functions are and how to use them effectively, ...

Making an Exception

(image) An interesting debate about C++ exceptions took place a few weeks ago in the C++ MVPs discussion list. The trigger was something as innocent and specific as “would you guys just throw std::runtime_exception with some error message string or you define a new exception hierarchy? What’s your opinion on AtlThrow/AtlThrowLastWin32?” ...

Staying Current with Visual C++ 2010

(image) A few weeks ago, the 2010 Edition of TechEd Europe took place in Berlin, Germany. C++ MVP Kate Gregory (picture) delivered a session where she shows through demos the latest achievements in the C++arena, especially regarding the upcoming C++0x version of language (scheduled by 2011), its libraries, concurrency and related IDE ...