I get a whole lot of warnings about switches that only partially covers the range of an enumeration switched over. Therefor, I would like to have a \"default\" for
keep it simple:
assert(false);
or, better yet:
#define UNREACHABLE (!"Unreachable code executed!") assert(UNREACHABLE);