Release all memory allocated through this pool and return to the underlying allocator all memory except the external buffer supplied at construction. The pool is reset to its default‐constructed state, making the memory from the entire external buffer supplied at construction available for subsequent allocations, retaining the alignment and growth strategies, and the initial and maximum buffer sizes in effect following construction. The effect of subsequently ‐ to this invokation of release ‐ using a pointer obtained from this object prior to this call to release is undefined.

Synopsis

Declared in <bdlma_bufferedsequentialpool.h>

void
release();

Created with MrDocs