Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2023. The current version is 1.91.0.
(Inherited from url_base)
Adjust the capacity without changing the size.
void reserve( std::size_t n);
This function adjusts the capacity of the container in characters, without
affecting the current contents. Has no effect if n
<= this->capacity().
Strong guarantee. Calls to allocate may throw.
|
Type |
Thrown On |
|---|---|
|
|
Allocation failure |
|
Name |
Description |
|---|---|
|
|
The capacity in characters, excluding any null terminator. |