Avoiding Copies And Moves With auto
When C++11 introduced auto, it opened up a whole range of useful techniques and improved the life of C++ developers […]
Includes topics and techniques specifically related to features added in C++11.
When C++11 introduced auto, it opened up a whole range of useful techniques and improved the life of C++ developers […]
Let’s explore your understanding of member function overloading. For a given class, how many different non-template overloads can you define
I recently came across an interesting use of std::move which looked something like the following: void MyObject::processItems() { std::vector<int>
In a previous article, the OnLeavingScope class was presented as a technique for robustly and concisely handling scenarios involving multi-step
A common sequence of steps we mortal software developers frequently find ourselves implementing goes something like this: Perform some sort
Updated June 2020 With the constant evolution of C++, build systems have had to deal with the complication of selecting
You might not have even heard of parameter packs or variadic templates before, but if you’ve worked with C++ templates
Alright, so lambdas in C++ are cool and we’ve been coding with one arm tied behind our back all this
Stop abusing enums! Find out how C++11 enables you to iterate over the set of defined values cleanly and robustly.