Return the number of characters that can be stored without reallocating
<include/boost/url/url_base.hpp>
std::size_t capacity() const noexcept;
This does not include the null terminator, which is always present.