This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: standard library: stringstreams



> Are you talking about strstreams (which *are* supported in egcs already)? If
> not, how are these different and what does the standard say about them?

So, strstreams are different.  In a stringstream, the buffer is a string.
In strstream, you get char* and const char* access to the buffer, and the
user has to worry about memory management and understand what "freezing"
means.

The library that ships with egcs doesn't have stringstream.  There's a
project to do a new libstdc++ inside of Cygnus, but it's still incomplete.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]