:relfileprefix: ../../../
[#47901A8D3FDE64F8228CAAE6F00C68940761B114]

= Function url_base::reserve

pass:v,q[Adjust the capacity without changing the size]


== Synopsis

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

[source,cpp,subs="verbatim,macros,-callouts"]
----
void
reserve(size_t n);
----

== Description

pass:v,q[This function adjusts the capacity] pass:v,q[of the container in characters, without]
pass:v,q[affecting the current contents. Has]
pass:v,q[no effect if `n]
pass:v,q[<]
pass:v,q[= this->capacity()`.]

=== Exception Safety
pass:v,q[Strong guarantee.]
pass:v,q[Calls to allocate may throw.]



== Return Value

* `void` 


== Parameters

|===
| Name | Type 

| *n*
| `size_t`

|===



