Get the available capacity of the array; this is equal to length of the array plus the available pre-allocated, free, space.
a positive integer denoting the capacity.
Complexity: O(1).
auto a = Array!int(1, 2, 3); a.reserve(10); assert(a.capacity == 10);
See Implementation
Get the available capacity of the array; this is equal to length of the array plus the available pre-allocated, free, space.