vector::reserve
vector::reserve
void reserve(size_type n);
The member function ensures that capacity
()
henceforth returns at least n
.
See the related sample program.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
vector::reserve
void reserve(size_type n);
The member function ensures that capacity
()
henceforth returns at least n
.
See the related sample program.