ostrstream::freeze

void freeze(bool frz = true)

The member function calls rdbuf()-> freeze(frz).