cpp/container/forward list/splice after

Moves elements from another to.

No elements are copied. must be either a dereferenceable valid iterator into or the before_begin iterator (in particular, end is not a valid argument for ). The behavior is undefined if. No iterators or references become invalidated, the iterators to the 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 refers to the same object as.

@2@ Moves the element pointed to by the iterator following from  into. The element is inserted after the element pointed to by. Has no effect if or if.

@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)

Exceptions
Throws nothing.

Complexity
@1@ Linear in the size of

@2@ Constant

@3@ Linear in