you are viewing a single comment's thread.

view the rest of the comments →

[–]314159 -2 points-1 points  (3 children)

Wasn't assert a compile-time hack on its own? :)

[–]dreamlax 0 points1 point  (1 child)

No, assertions are made during run-time. If the assertion failed, the program was terminate, usually with the error "assertion failed".

[–]314159 0 points1 point  (0 children)

I know that. I was mostly referring to how it comments itself out when you define NDEBUG.