[#bsl-operator_minus-00]
= xref:bsl.adoc[bsl]::operator&hyphen;
:relfileprefix: ../
:mrdocs:

Return the distance between the specified `lhs` iterator and the specified `rhs` iterator&period; The behavior is undefined if `lhs` and `rhs` do not iterate over the same sequence, or if the (template parameter) type `ITERATOR` is not a random access iterator&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;vector&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/vector_UintPtrConversionIterator/difference_type.adoc[difference&lowbar;type]
operator&hyphen;(
    xref:bsl/vector_UintPtrConversionIterator.adoc[vector&lowbar;UintPtrConversionIterator] const& lhs,
    xref:bsl/vector_UintPtrConversionIterator.adoc[vector&lowbar;UintPtrConversionIterator] const& rhs)
requires requires &lcub; lhs&period;d&lowbar;iter &hyphen; rhs&period;d&lowbar;iter&semi; &rcub;;
----


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