bsl::list::splice

See the single-element splice overload above.

Synopsis

Declared in <bslstl_list.h>

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

Parameters

NameDescription
dstPositionlocation before which the element is inserted
srclist containing the element to move
srcNodeiterator to the element to move