[#BloombergLP-balm-operator_eq-0d] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::operator== :relfileprefix: ../../ :mrdocs: Return `true` if the specified `lhs` and `rhs` samples have the same value, and `false` otherwise. 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. == Synopsis Declared in `<balm_metricsample.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool operator==( xref:BloombergLP/balm/MetricSample.adoc[MetricSample] const& lhs, xref:BloombergLP/balm/MetricSample.adoc[MetricSample] const& rhs); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#