Template:cpp/container/splice after

Moves elements from another to.

No elements are copied. is a valid iterator in or is the  iterator. The behavior is undefined if. No iterators or references become invalidated, the iterators to moved elements now refer into, not into.

1) Moves all elements from into . The elements are inserted after the element pointed to by . The container  becomes empty after the operation. The behavior is undefined if

2) Moves the element pointed to by the iterator following from  into . The element is inserted after the element pointed to by.

3) Moves the elements in the range from  into . The elements are inserted after the element pointed to by . The element pointed-to by  is not moved. The behavior is undefined if  is an iterator in the range.

Return value
(none)

Complexity
1) Linear in the size of

2) Constant

3) Linear in