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

Less&hyphen;than operators

== Synopses

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

Return whether the left iterator precedes the right (see free `operator&lt;`)&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;&gt;
bool
xref:BloombergLP/bdlc/operator_lt-02b.adoc[operator&lt;&lt;&gt;](
    xref:BloombergLP/bdlc/PackedIntArrayConstIterator.adoc[PackedIntArrayConstIterator] const& lhs,
    xref:BloombergLP/bdlc/PackedIntArrayConstIterator.adoc[PackedIntArrayConstIterator] const& rhs);
----

[.small]#xref:BloombergLP/bdlc/operator_lt-02b.adoc[_» more&period;&period;&period;_]#

Return true if `lhs` precedes `rhs` in the referenced array&period;


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

[.small]#xref:BloombergLP/bdlc/operator_lt-02e.adoc[_» more&period;&period;&period;_]#

Return whether the left iterator precedes the right (see free `operator&lt;`)&period;


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

[.small]#xref:BloombergLP/bdlc/operator_lt-03.adoc[_» more&period;&period;&period;_]#

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
bool
xref:BloombergLP/bdlc/operator_lt-0a6.adoc[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);
----

[.small]#xref:BloombergLP/bdlc/operator_lt-0a6.adoc[_» more&period;&period;&period;_]#

Return `true` if the value stored in `lhs` is less than `rhs`&period;


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

[.small]#xref:BloombergLP/bdlc/operator_lt-0a9.adoc[_» more&period;&period;&period;_]#

Return `true` if `lhs` is less than the value stored in `rhs`&period;


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

[.small]#xref:BloombergLP/bdlc/operator_lt-0c.adoc[_» more&period;&period;&period;_]#

== Return Value

* `true` if `lhs` precedes `rhs`, and `false` otherwise
* `true` if `lhs` is less than `rhs`, and `false` otherwise
* `true` if the value in `lhs` is less than `rhs`, and `false` otherwise
* `true` if `lhs` is less than the value in `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]#
