[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Size limit of "std::ostringstream buffer"
From: |
John W. Eaton |
Subject: |
Re: Size limit of "std::ostringstream buffer" |
Date: |
Thu, 18 May 2006 02:41:51 -0400 |
On 18-May-2006, Aakash Dalwani wrote:
| On a related note, so when a dynamically linked library allocates a
| ostringstream buffer, once octave returns from a call to this library,
| the memory is deallocated, right?
Assuming you are not using the new operator to create a stringstream
object, then the memory required by it is deallocated by the
destructor for the object when the object goes out of scope. But this
doesn't really have much to do with Octave. Maybe there are better
places to ask generic C++ questions?
jwe