basic_string::shrink_to_fit
Discards the excess capacity of the string.
void shrink_to_fit();
Remarks
This member function eliminates any unneeded storage in the container.
Requirements
Header: <string>
Namespace: std
Ta przeglądarka nie jest już obsługiwana.
Przejdź na przeglądarkę Microsoft Edge, aby korzystać z najnowszych funkcji, aktualizacji zabezpieczeń i pomocy technicznej.
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