boost::burl::request_head::reserve
Reserve storage.
Synopsis
Declared in <boost/burl/request_head.hpp>
void
reserve(
std::size_t bytes,
std::size_t count);
Description
Ensures the field section can grow to bytes bytes and the number of fields to count without reallocating. Has no effect if the current allocation is already sufficient.
The request line shares the allocation with the field section, so a request line larger than the one currently stored may still reallocate.
All views are invalidated when a reallocation occurs.
Exceptions
Name |
Thrown on |
|
|
Parameters
Name |
Description |
bytes |
The serialized field‐section size, as returned by |
count |
The number of fields. |
Created with MrDocs