capacity Return the number of characters that can be stored without reallocating Synopsis size_t capacity() const noexcept; Defined in file <include/boost/url/url_base.hpp> on line 145 Description This does not include the null terminator, which is always present. Complexity Constant. Exception Safety Throws nothing.