What does assert(0) mean?
The C++ standard defers the definition of assert to the C standard. C99 §7.2/2: ” The assert macro puts diagnostic tests into programs; it expands to a void expression. When it is executed, if expression (which shall have a scalar type) is false (that is, compares equal to 0), the assert macro writes information about …