For my current project Fix, I use Python and Behave for Behavior Driven Design (BDD). Today I’ll describe my process and the tools I use.
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.
If you have followed my blog, you know that I am a proponent of automated testing. I like TDD and have a very strong opinion about code that has not […]
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.