DList.insertAfter

Inserts stuff after range r, which must be a non-empty range previously extracted from this container.

stuff can be a value convertible to T or a range of objects convertible to T. The stable version behaves the same, but guarantees that ranges iterating over the container are never invalidated.

struct DList(T)
size_t
insertAfter
(
Stuff
)
(,
Stuff stuff
)

Return Value

Type: size_t

The number of values inserted.

Complexity: O(k + m), where k is the number of elements in r and m is the length of stuff.

Meta