BloombergLP::balm::operator==

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

Synopsis

Declared in <balm_integermetric.h>

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

Description

Return true if the specified lhs and rhs integer metrics have the same value and false otherwise. Two integer metrics have the same value if they record measurements using the same integer collector object or if they both have null collectors (i.e., collector() is 0).

Return Value

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

Parameters

NameDescription
lhsleft-hand operand
rhsright-hand operand