[Bug libstdc++/25719] ostringstream::str().c_str() returns pointer to unallocated memory

lawless at spamcop dot net gcc-bugzilla@gcc.gnu.org
Mon Jan 9 16:29:00 GMT 2006



------- Comment #5 from lawless at spamcop dot net  2006-01-09 16:29 -------
Never mind.  Your are correct.  Got bit by the temporary object.
I'd turn that language feature off if I could.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25719




More information about the Gcc-bugs mailing list