[#BloombergLP-bdlb-operator_minus-07]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::operator&hyphen;
:relfileprefix: ../../
:mrdocs:

Subtraction operators

== Synopses

Declared in `&lt;bdlb&lowbar;transformiterator&period;h&gt;`

Return the result of subtracting the underlying iterator of the specified `a` object from the underlying iterator of the specified `b` object&period; The behavior is undefined if this subtraction is undefined&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class FUNCTOR,
    class ITERATOR&gt;
bdlb::TransformIterator&lt;FUNCTOR, ITERATOR&gt;::difference&lowbar;type
xref:BloombergLP/bdlb/operator_minus-04.adoc[operator&hyphen;](
    xref:BloombergLP/bdlb/TransformIterator.adoc[TransformIterator&lt;FUNCTOR, ITERATOR&gt;] const& a,
    xref:BloombergLP/bdlb/TransformIterator.adoc[TransformIterator&lt;FUNCTOR, ITERATOR&gt;] const& b);
----

[.small]#xref:BloombergLP/bdlb/operator_minus-04.adoc[_» more&period;&period;&period;_]#

Return a copy of the specified `iterator` object with its underlying iterator regressed by the specified (signed) `offset` from that of `iterator`&period; The behavior is undefined if so regressing the underlying iterator is undefined&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class FUNCTOR,
    class ITERATOR&gt;
xref:BloombergLP/bdlb/TransformIterator.adoc[bdlb::TransformIterator&lt;FUNCTOR, ITERATOR&gt;]
xref:BloombergLP/bdlb/operator_minus-09.adoc[operator&hyphen;](
    xref:BloombergLP/bdlb/TransformIterator.adoc[TransformIterator&lt;FUNCTOR, ITERATOR&gt;] const& iterator,
    TransformIterator&lt;FUNCTOR, ITERATOR&gt;::difference&lowbar;type offset);
----

[.small]#xref:BloombergLP/bdlb/operator_minus-09.adoc[_» more&period;&period;&period;_]#


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