ORIGINAL
|
Compile-time error triggering utility. More...
#include <error.h>
Static Public Member Functions | |
static void | asserts () |
Triggers static assertion if the condition is true. | |
Compile-time error triggering utility.
ERR | Exception class to represent the error. |
TRIGGERING_CONDITION | Whether to trigger the static assertion. @requires ERR must inherit from error. |
|
inlinestatic |
Triggers static assertion if the condition is true.
When TRIGGERING_CONDITION is true, this method will cause a compilation error with a descriptive message based on the ERR type.