splice overloads

Synopses

Declared in <bslstp_slist.h>

Move all elements from __x to before __pos.

void
splice(
    iterator __pos,
    _Self& __x);

Move the element at __i from __x to before __pos.

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

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

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

Parameters

Name

Description

__pos

position before which the elements are inserted

__x

list whose elements are moved into this list

__i

position of the element to move

__first

beginning of the range to move

__last

end of the range to move (exclusive)

Created with MrDocs