Ensures sufficient capacity to accommodate n elements.
Postcondition: capacity >= n
Complexity: O(??) if e > capacity, otherwise O(1).
See Implementation
Ensures sufficient capacity to accommodate n elements.
Postcondition: capacity >= n
Complexity: O(??) if e > capacity, otherwise O(1).