[#BloombergLP-bdlc-operator_gt-06]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::operator&gt;
:relfileprefix: ../../
:mrdocs:

Greater&hyphen;than operators

== Synopses

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;&gt;
bool
xref:BloombergLP/bdlc/operator_gt-0d.adoc[operator&gt;&lt;&gt;](
    xref:BloombergLP/bdlc/PackedIntArrayConstIterator.adoc[PackedIntArrayConstIterator] const&,
    xref:BloombergLP/bdlc/PackedIntArrayConstIterator.adoc[PackedIntArrayConstIterator] const&);
----

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

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
bool
xref:BloombergLP/bdlc/operator_gt-08.adoc[operator&gt;](
    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_gt-08.adoc[_» more&period;&period;&period;_]#

Return whether the left iterator follows the right (see free `operator&gt;`)&period;


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

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

Return `true` if the specified `lhs` has a value greater than the specified `rhs`, and `false` otherwise&period; Iterator `lhs` has a value greater than iterator `rhs` if `0 &gt; rhs &hyphen; lhs` (see `operator&hyphen;`)&period; The behavior is undefined unless `lhs` and `rhs` refer to the same array&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
bool
xref:BloombergLP/bdlc/operator_gt-04.adoc[operator&gt;](
    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_gt-04.adoc[_» more&period;&period;&period;_]#


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