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 an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
monotonic_resource::release

Release all allocated memory.

Synopsis
void
release();
Description

This function deallocates all allocated memory. If an initial buffer was provided upon construction, then all of the bytes will be available again for allocation. Allocated memory is deallocated even if deallocate has not been called for some of the allocated blocks.

Complexity

Linear in the number of deallocations performed.

Exception Safety

No-throw guarantee.


PrevUpHomeNext