[#XCHECK_EQ]
= XCHECK&lowbar;EQ
:mrdocs:

Assert a comparison relationship between two arguments&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
#define XCHECK&lowbar;EQ(arg1, arg2, ...)

----

== Description

If the comparison check fails the values of both expressions being compared will be included in the failure message&period; This is the main benefit of using these specific comparison macros over XCHECK()&period; XCHECK() will simply log that the expression evaluated was false, while these macros include the specific values being compared&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *arg1*
| The left&hyphen;hand value to compare&period;
| *arg2*
| The right&hyphen;hand value to compare&period;
|===


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