max_size

Returns the maximum size of the string.

  size_type max_size() const;