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]
Other format: [Raw text]

[Bug libstdc++/50501] Insertion of complex into a stream may fail without invalidating the stream


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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-09-24 00:35:13 UTC ---
What failure scenario are you talking about?
Surely if there's a memory allocation failure it will throw a bad_alloc
exception, so __s.str() will never get called?


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