[#bsl-slist-splice-04] = xref:bsl.adoc[bsl]::xref:bsl/slist.adoc[slist]::splice :relfileprefix: ../../ :mrdocs: Move the range [`__first`, `__last`) from `__x` to before `__pos`.] == Synopsis Declared in `<bslstp_slist.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void splice( xref:bsl/slist/iterator.adoc[iterator] __pos, xref:bsl/slist.adoc[_Self]& __x, xref:bsl/slist/iterator.adoc[iterator] __first, xref:bsl/slist/iterator.adoc[iterator] __last); ---- == Parameters [cols="1,4"] |=== | Name| Description | *__pos* | position before which the range is inserted | *__x* | list containing the range to move | *__first* | beginning of the range to move | *__last* | end of the range to move (exclusive) |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#