The Assertion Library
0.2.1
|
Header for Assertion Library (CBL) More...
#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. |
Header for Assertion Library (CBL)
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