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 an older version of Boost and was released in 2024. The current version is 1.90.0.
Prepare to build a new document.
void
reset(
storage_ptr sp = {}) noexcept;
This function must be called before constructing a new top-level value.
Any previously existing partial or complete elements are destroyed, but
internal dynamically allocated memory is preserved which may be reused
to build new values.
No-throw guarantee.