TotalContainer.insertFront

Inserts value to the front or back of the container. stuff can be a value convertible to the container's element type or a range of values 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
insertFront
(
Stuff
)
(
Stuff stuff
)

Return Value

Type: size_t

The number of elements inserted

Complexity: O(log(n)).

Meta