bsl::list::splice

splice overloads

Synopses

Declared in <bslstl_list.h>

See the first splice overload above.

void
splice(
    const_iterator dstPosition,
    BloombergLP::bslmf::MovableRef<list> src);
» more...

Splice all elements from src into this list at dstPosition.

void
splice(
    const_iterator dstPosition,
    list& src);
» more...

See the single-element splice overload above.

void
splice(
    const_iterator dstPosition,
    BloombergLP::bslmf::MovableRef<list> src,
    const_iterator srcNode);
» more...

Splice the single element at srcNode from src into this list.

void
splice(
    const_iterator dstPosition,
    list& src,
    const_iterator srcNode);
» more...

See the range splice overload above.

void
splice(
    const_iterator dstPosition,
    BloombergLP::bslmf::MovableRef<list> src,
    const_iterator first,
    const_iterator last);
» more...

Splice the range [first .. last)] from src into this list.

void
splice(
    const_iterator dstPosition,
    list& src,
    const_iterator first,
    const_iterator last);
» more...

Parameters

NameDescription
dstPositionlocation before which elements are inserted
srclist whose elements are moved into this list
srcNodeiterator to the element to move
firststart of the range to move
lastone past the end of the range to move