BloombergLP::balm::operator<

Return true if the specified lhs metric id is less than (ordered before) the specified rhs metric id, and return false otherwise'.

Synopsis

Declared in <balm_metricid.h>

bool
operator<(
    MetricId const& lhs,
    MetricId const& rhs);

Description

The lhs is considered less if the (unsigned) address of the contained MetricDescription object is numerically less than the rhs description. Note that this function does not provide any form of alphabetic ordering, and is logically equivalent to the expression lhs.description() < rhs.description().

Return Value

true if lhs is ordered before rhs, and false otherwise

Parameters

NameDescription
lhsleft-hand operand
rhsright-hand operand