Complexity: n + m, where m is the length of stuff
TotalContainer.insertBefore
size_t insertBefore(Stuff)(Range r, Stuff stuff)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.
Returns
The number of values inserted.