[#absl-operator_eq-036]
= xref:absl.adoc[absl]::operator&equals;&equals;
:relfileprefix: ../
:mrdocs:

Checks the equality of two `absl&colon;&colon;StatusOr&lt;T&gt;` objects&period;

== Synopsis

Declared in `&lt;absl&sol;status&sol;statusor&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename T&gt;
requires internal&lowbar;statusor&colon;&colon;IsEqualityComparable&lt;T&gt;&colon;&colon;value
bool
operator&equals;&equals;(
    xref:absl/StatusOr.adoc[StatusOr&lt;T&gt;] const& lhs,
    xref:absl/StatusOr.adoc[StatusOr&lt;T&gt;] const& rhs);
----

== Return Value

`true` if both hold equal values or equal statuses&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *lhs*
| The left&hyphen;hand operand&period;
| *rhs*
| The right&hyphen;hand operand&period;
|===


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