[#BloombergLP-balm-operator_eq-0d]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::operator&equals;&equals;
:relfileprefix: ../../
:mrdocs:

Return `true` if the specified `lhs` and `rhs` samples have the same value, and `false` otherwise&period;

== Synopsis

Declared in `&lt;balm&lowbar;metricsample&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
operator&equals;&equals;(
    xref:BloombergLP/balm/MetricSample.adoc[MetricSample] const& lhs,
    xref:BloombergLP/balm/MetricSample.adoc[MetricSample] const& rhs);
----

== Description

Two samples have the same value if they have the same timestamp value, contain the same number of record groups, and if the respective groups of records at each index position have the same value&period;

== Return Value

`true` if `lhs` and `rhs` have the same value, and `false` otherwise

== Parameters

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


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