[#bsl-slist-insert_after-0c]
= xref:bsl.adoc[bsl]::xref:bsl/slist.adoc[slist]::insert&lowbar;after
:relfileprefix: ../../
:mrdocs:

`insert&lowbar;after` overloads

== Synopses

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

Insert `&lowbar;&lowbar;x` immediately after `&lowbar;&lowbar;pos` and return an iterator to it&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/slist/iterator.adoc[iterator]
xref:bsl/slist/insert_after-06.adoc[insert&lowbar;after](
    xref:bsl/slist/iterator.adoc[iterator] &lowbar;&lowbar;pos,
    xref:bsl/slist/value_type.adoc[value&lowbar;type] const& &lowbar;&lowbar;x = &lowbar;Tp());
----

[.small]#xref:bsl/slist/insert_after-06.adoc[_» more&period;&period;&period;_]#

Insert `&lowbar;&lowbar;n` copies of `&lowbar;&lowbar;x` immediately after `&lowbar;&lowbar;pos`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:bsl/slist/insert_after-00.adoc[insert&lowbar;after](
    xref:bsl/slist/iterator.adoc[iterator] &lowbar;&lowbar;pos,
    xref:bsl/slist/size_type.adoc[size&lowbar;type] &lowbar;&lowbar;n,
    xref:bsl/slist/value_type.adoc[value&lowbar;type] const& &lowbar;&lowbar;x);
----

[.small]#xref:bsl/slist/insert_after-00.adoc[_» more&period;&period;&period;_]#

Insert the specified range immediately after `&lowbar;&lowbar;pos`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class &lowbar;InIter&gt;
void
xref:bsl/slist/insert_after-0b.adoc[insert&lowbar;after](
    xref:bsl/slist/iterator.adoc[iterator] &lowbar;&lowbar;pos,
    &lowbar;InIter &lowbar;&lowbar;first,
    &lowbar;InIter &lowbar;&lowbar;last);
----

[.small]#xref:bsl/slist/insert_after-0b.adoc[_» more&period;&period;&period;_]#


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