[#bsl-list-054-splice-08]
= xref:bsl.adoc[bsl]::xref:bsl/list-054.adoc[list]::splice
:relfileprefix: ../../
:mrdocs:

Remove all elements of the specified `src` list and insert them, in the same order, in this list at the specified `dstPosition`&period; The behavior is undefined unless `src` is not this list, this list and `src` use the same allocator, and `dstPosition` is in the range `&lsqb;begin() &period;&period; end()&rsqb;` (note both endpoints included)&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;list&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
splice(
    xref:bsl/list-054/const_iterator.adoc[const&lowbar;iterator] dstPosition,
    xref:bsl/list-054.adoc[list]& src);
----


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