Return true if the specified lhs and rhs samples have the same value, and false otherwise.

Synopsis

Declared in <balm_metricsample.h>

bool
operator==(
    MetricSample const& lhs,
    MetricSample const& rhs);

Description

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.

Return Value

true if lhs and rhs have the same value, and false otherwise

Parameters

Name

Description

lhs

left‐hand operand

rhs

right‐hand operand

Created with MrDocs