statement
statement
statement
#if DEBUG_FEATURE_X
statement
statement
statement
#endif
statement
statement
statement
than statement
statement
statement
// remember to comment this code out
statement
statement
statement
// --- end of debugging code
statement
statement
statement
nor do I want a runtime checkOf course ultimately I just wish C/C++ and every other language let you use the entire language at compile time like lisp (and a few others).
As for more advanced macro foo macro lists are my favorite
http://games.greggman.com/game/keeping_lists_in_sync_in_c__/
I know some people don't like them. Typically those people would solve the issue by using some other language, python, to generate C/C++. I'd prefer not to have yet another dependency.