| Home | Libraries | People | FAQ | More

###### basic_flat_buffer::max_size (1 of 2 overloads)

Set the maximum allowed capacity.

<h7> Synopsis </h7>

    void
    max_size(
        std::size_t n);

<h7> Description </h7>

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

<h7> Parameters </h7>

Name | Description
--- | ---
`n` | The maximum number of bytes ever allowed for capacity.

<h7> Exception Safety </h7>

No-throw guarantee.