#include "cbl/except.h"
Defines | |
#define | assert(e) ((void)((e) || (EXCEPT_RAISE(assert_exceptfail), 0))) |
replaces the standard assert() with a version supporting an exception. | |
Variables | |
const except_t | assert_exceptfail |
exception for assertion failure. |
Documentation for Assertion Library (CBL).
#define assert | ( | e | ) | ((void)((e) || (EXCEPT_RAISE(assert_exceptfail), 0))) |
replaces the standard assert() with a version supporting an exception.
An activated assert() raises an exception named assert_exceptfail
that is defined in assert.c. The differences between this exception version and the standard's version are
e
;Possible exceptions: assert_exceptfail
Unchecked errors: none