[#BloombergLP-balm-operator_eq-02] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::operator== :relfileprefix: ../../ :mrdocs: Return `true` if the specified `lhs` and `rhs` metrics have the same value and `false` otherwise. Two metrics have the same value if they record measurements using the same collector object or if they both have a null collector (i.e., `collector()` is 0). == Synopsis Declared in `<balm_metric.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool operator==( xref:BloombergLP/balm/Metric.adoc[Metric] const& lhs, xref:BloombergLP/balm/Metric.adoc[Metric] const& rhs); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#