capacity
How many elements a vector has room for before it must grow.
capacity() is the size of the vector's current allocation, which is at least size(); when an insert would exceed it, the vector reallocates, usually growing by a constant factor.
See also