Call this member function to free any extra memory previously allocated by the string but no longer needed. This should reduce the memory overhead consumed by the string object. The function reallocates the buffer to the exact length returned by GetLength.
void FreeExtra( );
Header File | Afx.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CString Overview, CString Member Functions, Simple Value Types