...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Reset the pointed-to buffer.
void reset( void* p, std::size_t n);
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.
Name |
Description |
---|---|
|
A pointer to valid storage of at least |
|
The number of valid bytes pointed to by |
No-throw guarantee.