Array.ensureCapacity

Resizes the the array to be a given size manually

Not generally a good idea unless you have a specific reason

struct Array(T)
@nogc @trusted nothrow @system
void
ensureCapacity
(
in size_t newCapacity
)

Meta