[#bsl-list-054-splice-0a6] = xref:bsl.adoc[bsl]::xref:bsl/list-054.adoc[list]::splice :relfileprefix: ../../ :mrdocs: `splice` overloads == Synopses Declared in `<bslstl_list.h>` See the first `splice` overload above. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:bsl/list-054/splice-06.adoc[splice]( xref:bsl/list-054/const_iterator.adoc[const_iterator] dstPosition, xref:BloombergLP/bslmf/MovableRef.adoc[BloombergLP::bslmf::MovableRef<list>] src); ---- [.small]#xref:bsl/list-054/splice-06.adoc[_» more..._]# Splice all elements from `src` into this list at `dstPosition`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:bsl/list-054/splice-08.adoc[splice]( xref:bsl/list-054/const_iterator.adoc[const_iterator] dstPosition, xref:bsl/list-054.adoc[list]& src); ---- [.small]#xref:bsl/list-054/splice-08.adoc[_» more..._]# See the single‐element `splice` overload above. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:bsl/list-054/splice-01.adoc[splice]( xref:bsl/list-054/const_iterator.adoc[const_iterator] dstPosition, xref:BloombergLP/bslmf/MovableRef.adoc[BloombergLP::bslmf::MovableRef<list>] src, xref:bsl/list-054/const_iterator.adoc[const_iterator] srcNode); ---- [.small]#xref:bsl/list-054/splice-01.adoc[_» more..._]# Splice the single element at `srcNode` from `src` into this list. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:bsl/list-054/splice-0e.adoc[splice]( xref:bsl/list-054/const_iterator.adoc[const_iterator] dstPosition, xref:bsl/list-054.adoc[list]& src, xref:bsl/list-054/const_iterator.adoc[const_iterator] srcNode); ---- [.small]#xref:bsl/list-054/splice-0e.adoc[_» more..._]# See the range `splice` overload above. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:bsl/list-054/splice-0a3.adoc[splice]( xref:bsl/list-054/const_iterator.adoc[const_iterator] dstPosition, xref:BloombergLP/bslmf/MovableRef.adoc[BloombergLP::bslmf::MovableRef<list>] src, xref:bsl/list-054/const_iterator.adoc[const_iterator] first, xref:bsl/list-054/const_iterator.adoc[const_iterator] last); ---- [.small]#xref:bsl/list-054/splice-0a3.adoc[_» more..._]# Splice the range `[first .. last)]` from `src` into this list. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:bsl/list-054/splice-03.adoc[splice]( xref:bsl/list-054/const_iterator.adoc[const_iterator] dstPosition, xref:bsl/list-054.adoc[list]& src, xref:bsl/list-054/const_iterator.adoc[const_iterator] first, xref:bsl/list-054/const_iterator.adoc[const_iterator] last); ---- [.small]#xref:bsl/list-054/splice-03.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *dstPosition* | location before which elements are inserted | *src* | list whose elements are moved into this list | *srcNode* | iterator to the element to move | *first* | start of the range to move | *last* | one past the end of the range to move |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#