Today’s post is the first guest post on this blog. Jonathan Boccara tells us about some exciting features that will hit the standard library after C++17: Ranges. Jonathan develops and teaches […]
With the increasing standardization of attributes, we get the opportunity to make our code clearer not only to other humans but also to the compiler and other tools.
When you accept weakly typed data as input or have them as output, still convert them to strongly typed objects inside your application.
Trailing return types are an oddity in C++ – we should use them only when necessary.
I gave an introduction to variadic templates last week. Today I will talk about some more features that have or will be added in that area in C++11, 14 and […]
Generic programming and metaprogramming with templates always have been one of the features that set C++ apart from most other languages. With C++11, variadic templates added even more possibilities in […]
Is everything we use a string for really just a bunch of characters? Is everything we use an int for really just a number? Probably not. We can have stronger […]
User-defined literals are a convenient feature added in C++11.
After last week’s post about tag dispatch let’s have a look at another example for useful empty classes: The passkey idiom can help us regain control that we would give […]
There are some nice-to-know use cases for classes that have no members. One of them is tag dispatch. It can even be found in your standard library implementation.