I am using VC++. Is assert(false) ignored in release mode?
assert(false)
I think it is a mistake to rely too much on the exact behavior of the assert. The correct semantics of "assert(expr)" are:
More at http://nedbatchelder.com/text/assert.html