Release all memory allocated through this allocator.

Synopsis

Declared in <bdlma_sequentialallocator.h>

virtual
void
release() override;

Description

Release all memory allocated through this allocator and return to the underlying allocator all memory. The allocator is reset to its default‐constructed state, 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.

Created with MrDocs