bsl::list::splice

See the range splice overload above.

Synopsis

Declared in <bslstl_list.h>

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

Parameters

NameDescription
dstPositionlocation before which elements are inserted
srclist containing the range to move
firststart of the range to move
lastone past the end of the range to move