Splice all elements from src into this list at dstPosition.
Synopsis
Declared in <bslstl_list.h>
void
splice(
const_iterator dstPosition,
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
Name |
Description |
dstPosition |
location before which elements are inserted |
src |
list whose elements are moved into this list |
Created with MrDocs