C++11 for the Rest of Us. Simpler Code with More Power - Part 1

By Peter Sommerlad

With the publication of the new C++11 ISO standard one might ask what that will mean to current or past skills in that language. In addition one could recognize that even Microsoft leans back to use native C++ instead of the .NET languages for some new developments to get more power from smaller hardware.

This tutorial will show how to employ C++11's new features and some already existing ones to write simpler and faster code to the one you might have been used to write in C, C++, C#, or Java.

It especially addresses C++-ish means of abstraction that go beyond the classic OO-style of programming with virtual member functions and inheritance. If you are already using STL algorithms instead of loops, are familiar with lambdas, functors, function binders, async and futures, and know about universal initialization syntax, (variadic!) templates, rvalues and the new meaning of auto, this tutorial might not bring you many news, except for the fun of solving puzzles on your own employing all that stuff during its practice sessions.

As a side effect, if you employ Eclipse CDT for your exercises you might try some new features for TDD, unit testing and refactoring developed by Peter's students and assistants.

Peter will be on the way of preparing his new C++11 book and lecture when ACCU will take place, so expect to be his guinea pig for some of the exercises he intends to make his students solve from fall 2012 on.

Target Audience
Programmers with an interest in C++11, especially those who are more familiar with OO-programming as it is given in Java, (old) C++, or (simple) C# than the more functional style allowed by templates and the STL.