bsl::deque::shrink_to_fit

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.

Synopsis

Declared in <bslstl_deque.h>

void
shrink_to_fit();