bsl::list::splice

Remove all elements of the specified src list and insert them, in the same order, in this list at the specified dstPosition. 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).

Synopsis

Declared in <bslstl_list.h>

void
splice(
    const_iterator dstPosition,
    list& src);