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)
@property const
size_t
capacity
()

Meta