capacity

Tells the maximum number of elements the vector can hold.

  size_type capacity() const;
  
Remarks

Returns the maximum number of elements the vector can hold.