Catch 1.0 - level of indirection - level of indirection. Since Catch first went public, two and a half years ago, at time of this writing, I've made a point of describing it as a "developer preview".
Think of it as you might a Google beta and you won't go far wrong. I did this because I knew that there was a lot that needed doing - and in particular that some of the public interfaces would be subject to change. While I have tried to mitigate exposure to this as much as possible (as we'll see) I had wanted to reach a point that I could say things have stabilised and I'm happy to call it a true 1.0 release.
That time has come. As of today the version of Catch available on the Master branch on GitHub is 1.0 and I would encourage you to update to it if you're already using an older version. What's new? Output One of the biggest changes is in the console reporter's output. ClassTests.cpp:28: FAILED: REQUIRE( s == "world" ) with expansion: "hello" == "world" But there's a lot more to the new look. Naming and tags This was not what I signed up for! Ten C++11 Features Every C++ Developer Should Use.
This article discusses a series of features new to C++11 that all developers should learn and use.
There are lots of new additions to the language and the standard library, and this article barely scratches the surface. C++11 FAQ. Texas A&M University | Look College of Engineering | Dept. of Computer Science and Engineering | Parasol Lab | My TAMU homepage home | C++ | FAQ | technical FAQ | C++11 FAQ | publications | TC++PL | Programming | D&E | bio | interviews | applications | glossary | compilers Modified May 12, 2013 This document is written by and maintained by Bjarne Stroustrup .
Constructive comments, corrections, references, and suggestions are of course most welcome. Currently, I'm working to improve completeness and clean up the references.
Effective GoF Patterns with C++11 and Boost. Cppcheck. Cppcheck is a static analyzer for C and C++ code.
It is open-source, free, cross-platform and easy-to-use. The project's website: Cppcheck is an open-source, free tool distributed under the GNU General Public License. Daniel Marjamäki is the project's manager (his profile on StackOverflow). The project's source code can be downloaded from the github website. Cppcheck's capabilities At the moment of writing this article, the most recent version of Cppcheck is 1.60.1 which supports the following languages: C89, C99, C11, C++03, C++11; and provides the following plugins to integrate into various development environments: Cppcheck's scope of use One of the basic advantages of the Cppcheck analyzer is that it is easy-to-use. Figure 1. Just select "Check directory" in the menu and specify the path to your project. Figure 2. Well, I was not quite honest when saying that Cppcheck doesn't need any customization. When analysis is over, you can study the diagnostic messages.
Open Multi-Methods for C++11, Part 1. Introduction This article is the first in a series about open multi-methods for C++11.
In this installment, I will explain what they are, how they fit in the object-oriented paradigm, and make controversial statements. Subsequent articles will present a new library that implements open multi-methods, using the facilities provided by C++11 (in particular, variadic templates). The library's salient features are: fast, constant time dispatch using compact tables; arbitrary number of virtual and non virtual arguments; access to the next most specific specialization; and support for shared libraries and dynamic loading.
The series will conclude with an in-depth presentation of the internals of the library. If you are impatient, you can grab the code from GitHub and read the documentation. C++ Concurrency in Action. C++ Concurrency in Action is a reference and guide to the new C++ 11 Standard for experienced C++ programmers as well as those who have never written multithreaded code.
This book will show you how to write robust multithreaded applications in C++ while avoiding many common pitfalls. About the Technology Multiple processors with multiple cores are the norm these days. The C++11 version of the C++ language offers beefed-up support for multithreaded applications, and requires that you master the principles, techniques, and new language features of concurrency to stay ahead of the curve. About the Book. C++ Reading List. C++11 multithreading tutorial – part 2. C++11 multithreading tutorial - part 2 Posted on February 27, 2012 by Sol The code for this tutorial is on GitHub: In my last tutorial about using threads in C++11 we’ve seen that the new C++11 threads syntax is remarkably clean compared with the POSIX pthreads syntax.
Using a few simple concepts we were able to build a fairly complex image processing example avoiding the subject of thread synchronization. In the second part of this introduction to multithreading programming in C++11 we are going to see how we can synchronize a group of threads running in parallel. C++11 / C++0x Documentation « Punch Card. You want to improve your “old” C++ code base by allowing new features or bug fixes to be enhanced with C++11?
The questions you will face on the way are manifold. First, what exactly allows me C++11 to do? Where is some documentation? C++11 FAQ. C++ Concurrency in Action. Just Software Solutions - Custom Software Development and Website Development in West Cornwall, UK. My book, C++ Concurrency in Action contains a detailed description of the C++11 threading facilities, and techniques for designing concurrent code.
The just::thread implementation of the new C++0x thread library is available for Microsoft Visual Studio 2005, Microsoft Visual Studio 2008, Microsoft Visual Studio 2010, g++ 4.5.2 and g++ 4.6.1 on Windows, g++ 4.3, 4.4, 4.5 and 4.6 on Linux, and g++ 4.3, 4.4 and 4.5 on MacOSX. C++/C++0x/C++11 reference - Cppreference.
Concurrency Tutorial - Part Four.