Assert that a condition is true.
Synopsis
Declared in <folly/logging/xlog.h>
#define XCHECK(cond, …)
Description
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.
Parameters
Name |
Description |
cond |
The condition expression that must evaluate to true. |
Created with MrDocs