Assert that a condition is true.
Declared in <folly/logging/xlog.h>
#define XCHECK(cond, ...)
This crashes the program with an XLOG(FATAL) message if the condition is false. Unlike assert() CHECK statements are always enabled, regardless of the setting of NDEBUG.
| Name | Description |
|---|---|
| cond | The condition expression that must evaluate to true. |