[#BloombergLP-bdlm-operator_eq-0e] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlm.adoc[bdlm]::operator== :relfileprefix: ../../ :mrdocs: Return `true` if the specified `lhs` and `rhs` metrics have the same value and `false` otherwise. == Synopsis Declared in `<bdlm_metric.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool operator==( xref:BloombergLP/bdlm/Metric.adoc[Metric] const& lhs, xref:BloombergLP/bdlm/Metric.adoc[Metric] const& rhs); ---- == Description Two `Metric` objects have the same value if their types are the same and they have the same value. == Return Value `true` if `lhs` and `rhs` have the same value, and `false` otherwise == Parameters [cols="1,4"] |=== | Name| Description | *lhs* | left‐hand operand | *rhs* | right‐hand operand |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#