Remove the single element at the specified srcNode from the specified src list, and insert it at the specified dstPosition in this list. The behavior is undefined unless srcNode refers to a valid element in src, this list and src use the same allocator, and dstPosition is in the range [begin() .. end()] (note both endpoints included). Note that src and *this may be the same list, in which case the element is moved to a (possibly) new position in the list.
Synopsis
Declared in <bslstl_list.h>
void
splice(
const_iterator dstPosition,
list& src,
const_iterator srcNode);
Created with MrDocs