splice_after overloads

Synopses

Declared in <bslstp_slist.h>

Move the element following __prev to immediately after __pos.

void
splice_after(
    iterator __pos,
    iterator __prev);

Move all elements from __x to immediately after __pos.

void
splice_after(
    iterator __pos,
    _Self& __x);

Move the range after __before_first through __before_last after __pos.

void
splice_after(
    iterator __pos,
    iterator __before_first,
    iterator __before_last);

Parameters

Name

Description

__pos

position after which the element is inserted

__prev

iterator preceding the element to move

__x

list whose elements are moved into this list

__before_first

iterator preceding the first spliced element

__before_last

iterator preceding the end of the spliced range

Created with MrDocs