[#BloombergLP-bslstl-operator_minus-0b] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::operator‐ :relfileprefix: ../../ :mrdocs: Return the distance from the specified `rhs` iterator to the specified `lhs` iterator. The behavior is undefined unless `lhs` and `rhs` are iterators into the same underlying sequence. Note that the result might be negative. == Synopsis Declared in `<bslstl_randomaccessiterator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class T1, class T2, class ITER_IMP, class TAG_TYPE> std::ptrdiff_t operator‐( xref:BloombergLP/bslstl/RandomAccessIterator.adoc[RandomAccessIterator<T1, ITER_IMP, TAG_TYPE>] const& lhs, xref:BloombergLP/bslstl/RandomAccessIterator.adoc[RandomAccessIterator<T2, ITER_IMP, TAG_TYPE>] const& rhs); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#