Tools.h++ Manual

104011 Tandem Computers Incorporated 23-15
23
void resize(size_t newCapacity);
Change the capacity of the collection to
newCapacity
, which must be at least
as large as the present number of items in the collection.
Note – The actual number of items in the collection does not change, just the
capacity.