[#bsl-slist-splice_after-027]
= xref:bsl.adoc[bsl]::xref:bsl/slist.adoc[slist]::splice&lowbar;after
:relfileprefix: ../../
:mrdocs:

`splice&lowbar;after` overloads

== Synopses

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

Move the element following `&lowbar;&lowbar;prev` to immediately after `&lowbar;&lowbar;pos`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:bsl/slist/splice_after-08.adoc[splice&lowbar;after](
    xref:bsl/slist/iterator.adoc[iterator] &lowbar;&lowbar;pos,
    xref:bsl/slist/iterator.adoc[iterator] &lowbar;&lowbar;prev);
----

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

Move all elements from `&lowbar;&lowbar;x` to immediately after `&lowbar;&lowbar;pos`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:bsl/slist/splice_after-02c.adoc[splice&lowbar;after](
    xref:bsl/slist/iterator.adoc[iterator] &lowbar;&lowbar;pos,
    xref:bsl/slist.adoc[&lowbar;Self]& &lowbar;&lowbar;x);
----

[.small]#xref:bsl/slist/splice_after-02c.adoc[_» more&period;&period;&period;_]#

Move the range after `&lowbar;&lowbar;before&lowbar;first` through `&lowbar;&lowbar;before&lowbar;last` after `&lowbar;&lowbar;pos`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:bsl/slist/splice_after-03.adoc[splice&lowbar;after](
    xref:bsl/slist/iterator.adoc[iterator] &lowbar;&lowbar;pos,
    xref:bsl/slist/iterator.adoc[iterator] &lowbar;&lowbar;before&lowbar;first,
    xref:bsl/slist/iterator.adoc[iterator] &lowbar;&lowbar;before&lowbar;last);
----

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *&lowbar;&lowbar;pos*
| position after which the element is inserted
| *&lowbar;&lowbar;prev*
| iterator preceding the element to move
| *&lowbar;&lowbar;x*
| list whose elements are moved into this list
| *&lowbar;&lowbar;before&lowbar;first*
| iterator preceding the first spliced element
| *&lowbar;&lowbar;before&lowbar;last*
| iterator preceding the end of the spliced range
|===


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