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

Synopsis

Declared in <balm_metric.h>

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

Description

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).

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