JsonArray¶
ReserveMore¶
void ReserveMore(std::size_t toReserve)
Will allocate enough memory to fit toReserve more elements without the need to reallocate more memory.
Literally the same as myArr.Reserve(myArr.Size() + toReserve);. So, note that calling ReserveMore(5); twice will NOT allocate space for 10 more elements!