[#llvm-cas-operator_eq-0c] = xref:llvm.adoc[llvm]::xref:llvm/cas.adoc[cas]::operator== :relfileprefix: ../../ :mrdocs: Compare two object references for equality of their internal refs. == Synopsis Declared in `<llvm/CAS/CASReference.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool operator==( xref:llvm/cas/ObjectRef.adoc[ObjectRef] const& LHS, xref:llvm/cas/ObjectRef.adoc[ObjectRef] const& RHS); ---- [NOTE] ==== This function is a https://en.cppreference.com/w/cpp/language/friend[hidden friend] of xref:llvm/cas/ObjectRef.adoc[ObjectRef], declared only inside that class: it can be found only through argument-dependent lookup. ==== == Return Value True if `LHS` and `RHS` share the same internal refs. == Parameters [cols="1,4"] |=== | Name| Description | *LHS* | Left‐hand object reference. | *RHS* | Right‐hand object reference. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#