Colleagues, IMHO:

If "assert" catch "fundamental programmers errors" - it should hang programm immediately with and without "-release".

If "assert" catch not "too fundamental" errors - assert(0) should emit "Error" in both cases.

Third option - assert(0) - it's a "special case" and halt program in both cases.

But there should't be so that in one case the "fundamental error" and the other "not fundamental".

It's my opinion.

WBR,
    Fyodor.

Reply via email to