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

Advance `iter` and return its prior value&period;

== Synopsis

Declared in `&lt;bdlc&lowbar;packedintarray&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
xref:BloombergLP/bdlc/PackedIntArrayConstIterator.adoc[bdlc::PackedIntArrayConstIterator&lt;TYPE&gt;]
operator&plus;&plus;(
    xref:BloombergLP/bdlc/PackedIntArrayConstIterator.adoc[PackedIntArrayConstIterator&lt;TYPE&gt;]& iter,
    int unused);
----

== Description

Advance the specified iterator `iter` to refer to the next element in the referenced array, and return an iterator referring to the original element (_before_ the advancement)&period; The returned iterator, `it`, referencing an element within a `PackedIntArray`, `array`, remains valid as long as `0 &lt;&equals; it &hyphen; array&period;begin() &lt;&equals; array&period;length()`&period; The behavior is undefined unless, on entry, `PackedIntArrayConstInterator() !&equals; iter` and `iter &hyphen; array&period;begin() &lt; array&period;length()`&period;

== Specializations

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlc/operator_inc-06.adoc[`operator&plus;&plus;&lt;&gt;`] 
| Advance `iter` and return its prior value (see free `operator&plus;&plus;`)&period;
|===


== Return Value

iterator referring to the prior position

== Parameters

[cols="1,4"]
|===
| Name| Description
| *iter*
| iterator to advance
| *unused*
| unused parameter distinguishing post&hyphen;increment
|===


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