This is the mail archive of the gcc-bugs@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[2]: Bug in strstream ?


Hello Alexandre,

Wednesday, April 11, 2001, 6:10:29 AM, you wrote:

AO> On Apr 10, 2001, Sven Eschenberg <eschenb@cs.uni-frankfurt.de> wrote:

>>   istr=dummy.str();
>>   cout << dummy.str() << endl;

AO> Note that the result of str() is not guaranteed to be NULL-terminated,
AO> unless you explicitly write a std::eos to the stream.


Okay, thanx, I guess that explains it all :)

-- 
Regards,
 Sven                            mailto:eschenb@cs.uni-frankfurt.de



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