[#BloombergLP-bslalg-DequeIterator-01-operator_minus-0e]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/DequeIterator-01.adoc[DequeIterator&lt;VALUE&lowbar;TYPE, 1&gt;]::operator&hyphen;
:relfileprefix: ../../../
:mrdocs:

Subtraction operators

== Synopses

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

Return an iterator pointing the element at the specified `offset` before this iterator&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bslalg/DequeIterator-01.adoc[DequeIterator&lt;VALUE&lowbar;TYPE, 1&gt;]
xref:BloombergLP/bslalg/DequeIterator-01/operator_minus-07.adoc[operator&hyphen;](std::ptrdiff&lowbar;t offset) const;
----

[.small]#xref:BloombergLP/bslalg/DequeIterator-01/operator_minus-07.adoc[_» more&period;&period;&period;_]#

Return the distance between this iterator and the specified `rhs` iterator&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::ptrdiff&lowbar;t
xref:BloombergLP/bslalg/DequeIterator-01/operator_minus-00.adoc[operator&hyphen;](xref:BloombergLP/bslalg/DequeIterator-01.adoc[DequeIterator] const& rhs) const;
----

[.small]#xref:BloombergLP/bslalg/DequeIterator-01/operator_minus-00.adoc[_» more&period;&period;&period;_]#

== Return Value

* iterator pointing `offset` elements before this iterator
* signed distance from `rhs` to this iterator

== Parameters

[cols="1,4"]
|===
| Name| Description
| *offset*
| number of elements before this iterator
| *rhs*
| iterator from which to measure the distance
|===


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