Posts
Performance observations on a C++ vector of lambdas
June 5, 2015•1,341 words
Edit (June 2015):: The source code is now available on GitHub . When writing unit tests, you typically don't care much about execution speed, but c...
Compile time quick-sort in idiomatic modern C++
January 18, 2015•1,664 words
This article is outdated!: This article was written a very long time ago, and its contents no longer apply. Read the newer version by clicking here...
Sequence control with the Trompeloeil C++ mocking framework
January 6, 2015•1,354 words
As previously introduced , the Trompeloeil C++ framework is a new mocking framework for C++14. If you're not at all familiar with Trompeloeil , you...
Asserting compilation errors in C++
August 28, 2014•555 words
Sometimes when crafting an interface, we want to ensure that some illegal constructs lead to compilation errors. After all, a good interface is eas...
Expressing strings as types
March 31, 2013•1,091 words
This article is outdated!: This article was written a very long time ago, and its contents no longer apply. Read the newer version by clicking here...
Compile time messages in C++
September 28, 2011•1,012 words
This article is outdated!: This article was written a very long time ago, and its contents no longer apply. Read the newer version by clicking here...