This is a resource for developers writing modern C++, with a focus on the latest revisions of the language: C++11 and C++14.
C++11/14 Rocks books
Visual Studio editions
GCC 4.8+ edition
Get the lowdown on all of the C++11 language features implemented in GCC 4.8 and above.
Clang 3.4+ edition
Get the lowdown on all of the C++11 & C++14 language features implemented in Clang 3.4 and above.
C++11 concurrency cheatsheet:
C++11 regular expressions cheatsheet:
C++11 STL cheatsheet:
Visual comparison of language complexity:
Recent blog posts
While working on the C++14 coverage for the Clang edition of my book, I’m also taking a look at the C++14 code in the wild, and I thought I’d write up what I’ve found.
There are, of course, implementations of the C++ standard library which by necessity rely on C++14 features. libc++ is complete with …Read More
I’m quite fond of languages with minimal syntax. Not only it is easier to read and write code in these languages – it also provides an opportunity to reduce errors (both at compile time and at run time), when you consider that every character in a program has the potential to cause an error due …Read More
In this post, I’m going to highlight some of the new language features in the draft of the C++14 standard. This is an excerpt from my book C++11 Rocks: VS2013 Edition. I looked at the level of C++14 support in different compilers in a previous post.
Return type deduction …Read More
It’s been almost a year since my last comparison of C++11 support across different compilers, so I decided to take a break from working on my book about C++11/14 features in VS2013, and see how things have changed.
Once again, I’d like to see how different compilers stack …Read More
The following bugs which I described in the VS2012 edition of my book, C++11 Rocks, have been fixed in Visual Studio 2013, so you have more freedom to use C++11 features as they were intended to be used. If you used workarounds for these bugs, now you can remove them and clean up your code!
However, …Read More
It’s been a while since the release of this book, and since then I’ve found quite a few new bugs as well as refining the text. I know that many people are still using VS2012 for now, so I hope this update will be useful.
Of course, if you’ve already migrated to Visual Studio 2013, …Read More