// reallocate the memory with the new_capacity
T* new_data = cast(T*) realloc(this._data, new_capacity * T.sizeof);
if (new_data is null)
// reallocate the memory with the new_capacity
T* new_data = cast(T*) realloc(this._data, new_capacity * T.sizeof);
if (new_data is null)