[#XCHECK]
= XCHECK
:mrdocs:

Assert that a condition is true&period;

== Synopsis

Declared in `&lt;folly&sol;logging&sol;xlog&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
#define XCHECK(cond, ...)

----

== Description

This crashes the program with an XLOG(FATAL) message if the condition is false&period; Unlike assert() CHECK statements are always enabled, regardless of the setting of NDEBUG&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *cond*
| The condition expression that must evaluate to true&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
