Minimize unused capacity without moving contained elements.
Synopsis
Declared in <bslstl_deque.h>
void
shrink_to_fit();
Description
Minimize the memory used by this deque to the extent possible without moving any contained elements. If an exception is thrown, the value of this object is unchanged. Note that this method has no effect on the memory used by individual elements of the (template parameter) VALUE_TYPE.
Created with MrDocs