cptr::detail::basic_list::splice

splice overloads

Synopses

Declared in <cptr/list.hpp>

Move all of other before pos.

void
splice(
    const_iterator pos,
    basic_list& other);
» more...
void
splice(
    const_iterator pos,
    basic_list&& other);
» more...

Move the element at it in other before pos.

void
splice(
    const_iterator pos,
    basic_list& other,
    const_iterator it);
» more...
void
splice(
    const_iterator pos,
    basic_list&& other,
    const_iterator it);
» more...

Move [first, last) of other before pos. Linear in the length of the] range when other is another list, to keep size() constant time.

void
splice(
    const_iterator pos,
    basic_list& other,
    const_iterator first,
    const_iterator last);
» more...
void
splice(
    const_iterator pos,
    basic_list&& other,
    const_iterator first,
    const_iterator last);
» more...