Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards



Get the maximum size of the dynamic buffer.

std::size_t max_size() const;
Return Value

DynamicBuffer_v1: The allowed maximum of the sum of the sizes of the input sequence and output sequence. DynamicBuffer_v2: The allowed maximum size of the underlying memory.