I have a few config options in my application along the lines of
const bool ExecuteThis=true; const bool ExecuteThat=false;
and then code that
What about using preprocessor statements instead?
#if ExecuteThis DoThis(); #endif #if ExecuteThat DoThat(); #endif