static_resource::release

Release all allocated memory.

Synopsis

void
release() noexcept;

Description

This function resets the buffer provided upon construction so that all of the valid bytes are available for subsequent allocation.

Complexity

Constant

Exception Safety

No-throw guarantee.