[#bsl-list-054-splice-08] = xref:bsl.adoc[bsl]::xref:bsl/list-054.adoc[list]::splice :relfileprefix: ../../ :mrdocs: Splice all elements from `src` into this list at `dstPosition`. == Synopsis Declared in `<bslstl_list.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void splice( xref:bsl/list-054/const_iterator.adoc[const_iterator] dstPosition, xref:bsl/list-054.adoc[list]& src); ---- == Description The behavior is undefined unless `src` is not this list, this list and `src` use the same allocator, and `dstPosition` is in the range `[begin() .. end()]` (note both endpoints included). == Parameters [cols="1,4"] |=== | Name| Description | *dstPosition* | location before which elements are inserted | *src* | list whose elements are moved into this list |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#