Return the capacity of this string, i.e., the maximum length for which resizing is guaranteed not to trigger a reallocation.

Synopsis

Declared in <bslstl_string.h>

size_type
capacity() const noexcept;

Created with MrDocs