BloombergLP::balm::operator==

Return true if the specified lhs and rhs metric format specs have the same value, and false otherwise.

Synopsis

Declared in <balm_metricformat.h>

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

Description

Two format specs have the same value if they have the same values for their scale and format attributes, respectively.

Return Value

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

Parameters

NameDescription
lhsleft-hand operand
rhsright-hand operand