Attempts to reduce memory usage by moving elements to (or keeping elements in) the smallest available buffer sufficient for containing size() elements.

Synopsis

Declared in <absl/container/inlined_vector.h>

void
shrink_to_fit();

Description

If size() is sufficiently small, the elements will be moved into (or kept in) the inlined space.

Created with MrDocs