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 a snapshot of the develop branch, built from commit 872cb29692.
PrevUpHomeNext
flat_static_buffer_base::reset

Reset the pointed-to buffer.

Synopsis
void
reset(
    void* p,
    std::size_t n);
Description

This function resets the internal state to the buffer provided. All input and output sequences are invalidated. This function allows the derived class to construct its members before initializing the static buffer.

Parameters

Name

Description

p

A pointer to valid storage of at least n bytes.

n

The number of valid bytes pointed to by p.

Exception Safety

No-throw guarantee.


PrevUpHomeNext