vector::capacity
vector::capacity
size_type capacity() const;
The member function returns the storage currently allocated to hold the controlled sequence, a value at least as large as size
()
.
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::capacity
size_type capacity() const;
The member function returns the storage currently allocated to hold the controlled sequence, a value at least as large as size
()
.
See the related sample program.