Release allocated memory while retaining this pool's typical internal buffers.
Synopsis
Declared in <bdlma_bufferedsequentialpool.h>
void
rewind();
Description
Release all memory allocated through this pool and return to the underlying allocator only memory that was allocated outside of the typical internal buffer growth of this pool (i.e., large blocks). All retained memory will be used to satisfy subsequent allocations. The effect of subsequently ‐ to this invokation of rewind ‐ using a pointer obtained from this object prior to this call to rewind is undefined.
Created with MrDocs