This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: String and std::string


On 21 Mar 2003, Robert Collins wrote:

> this may well. Look in the g++ library for freeze() (again, IIRC). The
> thing I saw when I was reading the source, was that the internal buffer
> was not delete[]'d once it was handed out via c_str(). That was with the
> libstc++ for gcc 2.95 as well. I've just checked the g++ 3
> implementation, and it's different to what I recall from before...

gcc 2.95.x has many problems in its standard c++ library 
implementation. I remeber seeing some implementations returning the
internal pointer directly. I had many problem with iostreams with gcc 
2.95.x - I real nightmare.


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