[#BloombergLP-balm-operator_not_eq-0d] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::operator!= :relfileprefix: ../../ :mrdocs: Return `true` if the specified `lhs` and `rhs` samples do not have the same value, and `false` otherwise. == 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); ---- == Description Two samples do not have the same value if they have different values for their timestamps, or number of record groups, or if any of the groups of records at corresponding indices have different values. == 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]#