![]() |
Home | Libraries | People | FAQ | More |
void reserve( std::size_t n);
This function adjusts the internal storage (if necessary) to guarantee
space for at least n bytes.
Buffer sequences previously obtained using basic_multi_buffer::data remain valid, while buffer
sequences previously obtained using basic_multi_buffer::prepare become invalid.
|
Name |
Description |
|---|---|
|
|
The minimum number of byte for the new capacity. If this value is greater than the maximum size, then the maximum size will be adjusted upwards to this value. |
|
Type |
Thrown On |
|---|---|
|
|
if n is larger than the maximum allocation size of the allocator. |
Strong guarantee.