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 the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
basic_flat_buffer::max_size (1 of 2 overloads)

Set the maximum allowed capacity.

Synopsis
void
max_size(
    std::size_t n);
Description

This function changes the currently configured upper limit on capacity to the specified value.

Parameters

Name

Description

n

The maximum number of bytes ever allowed for capacity.

Exception Safety

No-throw guarantee.


PrevUpHomeNext