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

Return `true` if `lhs` is less than `rhs`&period;

== Synopsis

Declared in `&lt;bdlc&lowbar;compactedarray&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
bool
operator&lt;(
    xref:BloombergLP/bdlc/CompactedArray_ConstIterator.adoc[CompactedArray&lowbar;ConstIterator&lt;TYPE&gt;] const& lhs,
    xref:BloombergLP/bdlc/CompactedArray_ConstIterator.adoc[CompactedArray&lowbar;ConstIterator&lt;TYPE&gt;] const& rhs);
----

== Description

Iterator `lhs` has a value less than iterator `rhs` if `0 &lt; rhs &hyphen; lhs` (see `operator&hyphen;`)&period; The behavior is undefined unless `lhs` and `rhs` refer to the same array&period;

== Return Value

`true` if `lhs` is less than `rhs`, and `false` otherwise

== Parameters

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


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