Vector.capacity

Returns the maximum number of elements the container can store without (a) allocating memory, (b) invalidating iterators upon insertion.

Complexity: O(1)

struct Vector(T, ALLOC = ThreadMem)
nothrow @property const
capacity
()

Meta