cptr::detail::basic_list::splice

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

Synopsis

Declared in <cptr/list.hpp>

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

Parameters

NameDescription
otherThe class behind cptr::list; use that alias. Its members behave like those of std::list; the alias lists the differences.