...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Get a list of buffers that represents the output sequence, with the given size.
mutable_buffers_type prepare( std::size_t n);
Ensures that the output sequence can accommodate n
bytes, resizing the vector object as necessary.
An object of type mutable_buffers_type
that satisfies MutableBufferSequence requirements, representing vector
memory at the start of the output sequence of size n
.
Type |
Thrown On |
---|---|
|
If |
The returned object is invalidated by any dynamic_vector_buffer
or vector
member function
that modifies the input sequence or output sequence.