Searched refs:newCap (Results 1 – 1 of 1) sorted by relevance
140 void reserve(size_type newCap) { in reserve() argument141 if (newCap <= this->capacity()) { in reserve()144 set_capacity(newCap); in reserve()221 void set_capacity(size_type newCap) { in set_capacity() argument224 const auto newBegin = (T*)malloc(sizeof(T) * newCap); in set_capacity()234 this->mCapacity = newCap; in set_capacity()