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.
このブラウザーはサポートされなくなりました。
Microsoft Edge にアップグレードすると、最新の機能、セキュリティ更新プログラム、およびテクニカル サポートを利用できます。
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.