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

Increment operators

== Synopses

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

Do nothing and return the specified `iterator`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class FUNCTION&gt;
xref:BloombergLP/bdlb/FunctionOutputIterator.adoc[FunctionOutputIterator&lt;FUNCTION&gt;]&
xref:BloombergLP/bdlb/operator_inc-051.adoc[operator&plus;&plus;](xref:BloombergLP/bdlb/FunctionOutputIterator.adoc[FunctionOutputIterator&lt;FUNCTION&gt;]& iterator);
----

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

Advance `object` to the next token and return a copy of its prior value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlb/TokenizerIterator.adoc[bdlb::TokenizerIterator] const
xref:BloombergLP/bdlb/operator_inc-07.adoc[operator&plus;&plus;](
    xref:BloombergLP/bdlb/TokenizerIterator.adoc[TokenizerIterator]& object,
    int postfix);
----

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

Do nothing and return a copy of the specified `iterator`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class FUNCTION&gt;
xref:BloombergLP/bdlb/FunctionOutputIterator.adoc[FunctionOutputIterator&lt;FUNCTION&gt;]
xref:BloombergLP/bdlb/operator_inc-00.adoc[operator&plus;&plus;](
    xref:BloombergLP/bdlb/FunctionOutputIterator.adoc[FunctionOutputIterator&lt;FUNCTION&gt;]& iterator,
    int postfix);
----

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

Increment `iterator` and return a copy of its previous value&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_inc-0e.adoc[operator&plus;&plus;](
    xref:BloombergLP/bdlb/TransformIterator.adoc[TransformIterator&lt;FUNCTOR, ITERATOR&gt;]& iterator,
    int postfix);
----

[.small]#xref:BloombergLP/bdlb/operator_inc-0e.adoc[_» more&period;&period;&period;_]#

== Return Value

* a reference to `iterator`
* copy of `object` prior to advancing
* a copy of `iterator`
* a copy of `iterator` before the increment

== Parameters

[cols="1,4"]
|===
| Name| Description
| *iterator*
| iterator returned unchanged
| *object*
| iterator to advance
| *postfix*
| unused parameter distinguishing the postfix operator
|===


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