Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In this example, a programmer working with a known \ <assert.h\>h> is attempting to subvert the standard assert functionality so that assertions are always made, regardless of whether ndebug is set.

...

Code Block
bgColor#ccccff
#include <assert.h>

void myassert(int e)
 {
  assert(e);
  /* other verification ... */
}

...