[#bsl-_Slist_iterator-operator_inc-06]
= xref:bsl.adoc[bsl]::xref:bsl/_Slist_iterator.adoc[&lowbar;Slist&lowbar;iterator]::operator&plus;&plus;
:relfileprefix: ../../
:mrdocs:

Increment operators

== Synopses

Declared in `&lt;bslstp&lowbar;slist&period;h&gt;`

Advance to the next element and return this iterator&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/_Slist_iterator/_Self.adoc[&lowbar;Self]&
xref:bsl/_Slist_iterator/operator_inc-02.adoc[operator&plus;&plus;]();
----

[.small]#xref:bsl/_Slist_iterator/operator_inc-02.adoc[_» more&period;&period;&period;_]#

Advance to the next element and return the prior iterator value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/_Slist_iterator/_Self.adoc[&lowbar;Self]
xref:bsl/_Slist_iterator/operator_inc-0c.adoc[operator&plus;&plus;](int &lowbar;&lowbar;n);
----

[.small]#xref:bsl/_Slist_iterator/operator_inc-0c.adoc[_» more&period;&period;&period;_]#

== Return Value

* reference to this iterator after advancing
* copy of this iterator before advancing

== Parameters

[cols="1,4"]
|===
| Name| Description
| *&lowbar;&lowbar;n*
| unused postfix&hyphen;increment discriminator
|===


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