Return the number of characters that can be stored without reallocating.
std::size_t capacity() const;
This does not include the null terminator, which is always present.
Constant.
Throws nothing.