[#BloombergLP-balm-operator_not_eq-099] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::operator!= :relfileprefix: ../../ :mrdocs: Return `true` if the specified `lhs` and `rhs` metrics do not have the same value and `false` otherwise. == 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); ---- == Description Two metrics do not have the same value if they record measurements using different collector objects or if one, but not both, have a null collector (i.e., `collector()` is 0). == Return Value `true` if `lhs` and `rhs` do not 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]#