TotalContainer.reserve

Ensures sufficient capacity to accommodate n elements.

Postcondition: capacity >= n

Complexity: O(log(e - capacity)) if e > capacity, otherwise O(1).

struct TotalContainer(T)
void
reserve
(
size_t e
)

Meta