:relfileprefix: ../../../ [#boost-urls-url_base-capacity] = xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::xref:boost/urls/url_base.adoc[pass:[url_base]]::capacity Return the number of characters that can be stored without reallocating == Synopsis Declared in header `` [source,cpp,subs="verbatim,macros,-callouts"] ---- xref:std.adoc[std]::size_t capacity() const noexcept; ---- == Description This does not include the null terminator, which is always present. === Complexity Constant. === Exception Safety Throws nothing.