bsl::slist::splice

splice overloads

Synopses

Declared in <bslstp_slist.h>

Move all elements from __x to before __pos.

void
splice(
    iterator __pos,
    _Self& __x);
» more...

Move the element at __i from __x to before __pos.

void
splice(
    iterator __pos,
    _Self& __x,
    iterator __i);
» more...

Move the range [__first, __last) from __x to before __pos.]

void
splice(
    iterator __pos,
    _Self& __x,
    iterator __first,
    iterator __last);
» more...

Parameters

NameDescription
__posposition before which the elements are inserted
__xlist whose elements are moved into this list
__iposition of the element to move
__firstbeginning of the range to move
__lastend of the range to move (exclusive)