Luna::Vector::shrink_to_fit

void shrink_to_fit()

Reduces the capacity of the vector so that capacity == size.

If size is 0, this function releases the internal storage buffer. This can be used to clean up all dynamic memory allocated by this container.