Export (0) Print
Expand All
Expand Minimize

basic_string::shrink_to_fit

Discards the excess capacity of the string.

void shrink_to_fit();

This member function eliminates any unneeded storage in the container.

Header: <string>

Namespace: std

Show:
© 2015 Microsoft