Posts
Compile time quicksort in idiomatic modern C++
January 18, 2015•1,636 words
A contender for the most useless program ever written just got a much needed overhaul. In 2011 I wrote about compile time quick sort as a challenge...
Sequence Control with the Trompeloeil C++ Mocking Framework
January 6, 2015•1,350 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...
Introducing the Trompeloeil C++ Mocking framework
December 13, 2014•1,219 words
Trompeloeil is a new mocking framework for C++, aimed at ease of use without sacrificing expressive power. In arts, trompeloeil is intended to mock...
strings as types
March 31, 2013•1,061 words
As odd as it may seem, I have more than once felt the need to express a string literal as a unique type which can be used as a any class. As an exa...
Compile time messages in C++
September 28, 2011•983 words
At times it's desirable to give a message at compile time. Sounds cheezy, eh? Well read on and find out. As an example of the cheezy kind, the comp...
Exploring time keeping in ISO C++ 2011
September 25, 2011•756 words
A lot has been written about new features coming in the 2011 revision of ISO C++. One that has received surprisingly little attention is the