:relfileprefix: ../../../
[#14FA97295CA6526D1E442B17575CAE30596FE2E8]

= Function url_base::capacity

pass:v,q[Return the number of characters that can be stored without reallocating]


== Synopsis

Declared in header `</boost/url/url_base.hpp#L145[boost/url/url_base.hpp,window=blank_]>`

[source,cpp,subs="verbatim,macros,-callouts"]
----
size_t
capacity() const noexcept;
----

== Description

pass:v,q[This does not include the null terminator,] pass:v,q[which is always present.]

=== Complexity
pass:v,q[Constant.]

=== Exception Safety
pass:v,q[Throws nothing.]



== Return Value

* `size_t` 




