TotalContainer.stableReplace

Inserts stuff before, after, or instead range r, which must be a valid range previously extracted from this container. stuff can be a value convertible to the container's element type or a range of objects convertible to it. The stable version behaves the same, but guarantees that ranges iterating over the container are never invalidated.

struct TotalContainer(T)
size_t
stableReplace
(
Stuff
)
(,
Stuff stuff
)

Return Value

Type: size_t

The number of values inserted.

Complexity: O(n + m), where m is the length of stuff

Meta