[#bsl-operator_minus-06] = xref:bsl.adoc[bsl]::operator‐ :relfileprefix: ../ :mrdocs: Subtraction operators == Synopses Declared in `<bslstl_vector.h>` Return the distance between the specified sentinel `s` and the specified iterator `i`. The behavior is undefined unless `s` and `i` iterate over the same sequence. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- auto xref:bsl/operator_minus-05.adoc[operator‐]( auto s, xref:bsl/vector_UintPtrConversionIterator.adoc[vector_UintPtrConversionIterator] i) requires random_access_iterator<ITERATOR>; ---- [.small]#xref:bsl/operator_minus-05.adoc[_» more..._]# Return the distance between the specified `lhs` iterator and the specified `rhs` iterator. 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/vector_UintPtrConversionIterator/difference_type.adoc[difference_type] xref:bsl/operator_minus-00.adoc[operator‐]( xref:bsl/vector_UintPtrConversionIterator.adoc[vector_UintPtrConversionIterator] const& lhs, xref:bsl/vector_UintPtrConversionIterator.adoc[vector_UintPtrConversionIterator] const& rhs) requires requires { lhs.d_iter ‐ rhs.d_iter; }; ---- [.small]#xref:bsl/operator_minus-00.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#