C++:
assert(x != NULL);
Am I correct in thinking that the above statement will halt the execution of a compiled binary if x == NULL when the assert code is called?
Does it call any deconstructors, or is it a hard (as in kill -9) approach?
Edit: Also, what is the good practice within FreeBSD base with regards to using assert in code in a production enviroment rather than an if + error handling?
Thanks,
James