[#BloombergLP-balm-operator_lt]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::operator&lt;
:relfileprefix: ../../
:mrdocs:

Return `true` if the specified `lhs` metric id is less than (ordered before) the specified `rhs` metric id, and return `false` otherwise&apos;&period;

== Synopsis

Declared in `&lt;balm&lowbar;metricid&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
operator&lt;(
    xref:BloombergLP/balm/MetricId.adoc[MetricId] const& lhs,
    xref:BloombergLP/balm/MetricId.adoc[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&period; Note that this function does _not_ provide any form of alphabetic ordering, and is logically equivalent to the expression `lhs&period;description() &lt; rhs&period;description()`&period;

== Return Value

`true` if `lhs` is ordered before `rhs`, and `false` otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *lhs*
| left&hyphen;hand operand
| *rhs*
| right&hyphen;hand operand
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
