BloombergLP::bdlm::operator==

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

Synopsis

Declared in <bdlm_metric.h>

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

Description

Two Metric objects have the same value if their types are the same and they have the same value.

Return Value

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

Parameters

NameDescription
lhsleft-hand operand
rhsright-hand operand