A small set of C++ classes/functions to allow mock implementations created at compile-time