◄strstreambuf► ◄Up► ◄Contents► ◄Index► ◄Back► ──The Microsoft iostream Classes──────────────────────────────────────────── void freeze( int n = 1 ); Parameter Description <n> A 0 value permits automatic deletion of the current array and also its automatic growth (if it is dynamic); a nonzero value prevents deletion. Remarks If a strstreambuf object has a dynamic array, then memory is usually deleted on destruction and size adjustment. The freeze function provides a means of preventing that automatic deletion. Once an array is frozen, no further input or output is permitted. The results of such operations are undefined. The freeze function can also unfreeze a frozen buffer. See Also ◄strstreambuf::str► -♦-