[#BloombergLP-bdlb-operator_inc-0e]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::operator&plus;&plus;
:relfileprefix: ../../
:mrdocs:

Increment `iterator` and return a copy of its previous value&period;

== Synopsis

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

[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;]
operator&plus;&plus;(
    xref:BloombergLP/bdlb/TransformIterator.adoc[TransformIterator&lt;FUNCTOR, ITERATOR&gt;]& iterator,
    int postfix);
----

== Description

Increment the underlying iterator of the specified `iterator`, and return a copy of `iterator` _before_ the increment&period; The behavior is undefined if incrementing the underlying iterator is undefined&period;

== Return Value

a copy of `iterator` before the increment

== Parameters

[cols="1,4"]
|===
| Name| Description
| *iterator*
| transform iterator to increment
| *postfix*
| unused parameter distinguishing the postfix operator
|===


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