Posts Tagged ‘C++’
Parallel execution. It’s where programming is shifting – slowly but inexorably – and, of course, C++11 is on the concurrency bandwagon. Futures/promises, threads, condition variables and so on – it’s all part of the standard library.
I thought it would be handy to have a summary of the concurrency classes and …Read More
Visual Studio 2012 includes the filesystem library. It isn’t part of the C++11 standard but it’s one of the proposals for TR2. The proposal is based on the library included in boost.
The library provides a convenient (and cross platform, if supported by compilers) interface for file & directory traversing and …Read More
Visual Studio 2012 has fixed a lot of bugs in C++11 features which were present in Visual Studio 2010.
Of course, VS2010 was released before the C++ standard was finalised. Now that the standard is final, Visual Studio doesn’t have to follow a moving target, and its compliance with the standard …Read More
Some people were disappointed with the level of C++11 support in Visual Studio 2012.
Let’s look on the bright side though. There are still lots of useful C++11 additions you can use to make your code cleaner and faster.
Language support has been improved in little ways. More significantly, the standard library …Read More
I often wonder why C++ gets people so worked up. It seems that no C++ discussion can happen without somebody recommending to use another language instead without any regard for practicality. There’s always a person who detests C++ so much that he takes the time to write a long hateful …Read More
The line of code in the heading is actually C++. I recently noticed a small section called Alternative tokens in the standard (it’s 2.6, for the curious) which allows this sort of shenanigans.
The following code will probably look slightly alien to you, like a weird C++ knockoff, but it’s …Read More