[#BloombergLP-bslalg-RangeCompare-lexicographical-04]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/RangeCompare.adoc[RangeCompare]::lexicographical
:relfileprefix: ../../../
:mrdocs:

Same as the preceding `lexicographical` overload, taking explicit range lengths&period;

== Synopsis

Declared in `&lt;bslalg&lowbar;rangecompare&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class INPUT&lowbar;ITER&gt;
static
int
lexicographical(
    INPUT&lowbar;ITER start1,
    INPUT&lowbar;ITER end1,
    xref:BloombergLP/bslalg/RangeCompare/size_type.adoc[size&lowbar;type] length1,
    INPUT&lowbar;ITER start2,
    INPUT&lowbar;ITER end2,
    xref:BloombergLP/bslalg/RangeCompare/size_type.adoc[size&lowbar;type] length2);
----


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