[#absl-AnySpan-iterator-operator_minus-09]
= xref:absl.adoc[absl]::xref:absl/AnySpan.adoc[AnySpan]::xref:absl/AnySpan/iterator.adoc[iterator]::operator&hyphen;
:relfileprefix: ../../../
:mrdocs:

Subtraction operators

== Synopses

Declared in `&lt;absl&sol;types&sol;any&lowbar;span&period;h&gt;`

Returns an iterator moved back by `d` positions&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
Iter
xref:absl/AnySpan/iterator/operator_minus-052.adoc[operator&hyphen;](difference&lowbar;type d) const;
----

[.small]#xref:absl/AnySpan/iterator/operator_minus-052.adoc[_» more&period;&period;&period;_]#

Returns the distance to another iterator&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
difference&lowbar;type
xref:absl/AnySpan/iterator/operator_minus-05e.adoc[operator&hyphen;](Iter const& other) const;
----

[.small]#xref:absl/AnySpan/iterator/operator_minus-05e.adoc[_» more&period;&period;&period;_]#

== Return Value

* The moved iterator&period;
* The number of positions from `other` to this iterator&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *d*
| Number of positions to move back&period;
| *other*
| The iterator to measure against&period;
|===


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