DCMTK Version 3.6.8
OFFIS DICOM Toolkit
|
Including run time and compile time assertion features and implementing fallback implementations for the ones that are not available. More...
Macros | |
#define | OFstatic_assert(E, M) |
Assert a constant expression at compile time. More... | |
Including run time and compile time assertion features and implementing fallback implementations for the ones that are not available.
#define OFstatic_assert | ( | E, | |
M | |||
) |
Assert a constant expression at compile time.
E | an expression that can be evaluated as a boolean constant at compile time. |
M | a message that will be displayed in case the expression evaluates to OFFalse. |
OFstatic_assert will check the expression E at compile time, emitting a compiler error if the expression evaluates to OFFalse. The statement will be ignored in case E evaluates to OFTrue, i.e. there will be no performance impact.