capacity

  size_type capacity() const;
  

Returns the maximum size() that can be achieved before a memory allocation is required.

Throws nothing.