FEDRA emulsion software from the OPERA Collaboration
|
Go to the source code of this file.
Macros | |
#define | Sassert(expr) static const bool sassertrc = (expr) ? true : errfunc(__STRING(expr),__FUNCTION__,__LINE__) |
#define Sassert | ( | expr | ) | static const bool sassertrc = (expr) ? true : errfunc(__STRING(expr),__FUNCTION__,__LINE__) |
Sassert. An assert macro which is invoced only once (in contrast to standard assert(), which is repeatedly called). Sassert is more performant in case it is placed in a routine which is called more than once. Otherwise assert() is more performant.