[Bug libstdc++/56166] std::string::clear() can throw despite being marked noexcept
zackw at panix dot com
gcc-bugzilla@gcc.gnu.org
Thu Jan 31 18:22:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56166
--- Comment #1 from Zack Weinberg <zackw at panix dot com> 2013-01-31 18:21:49 UTC ---
Created attachment 29320
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29320
test case
In case you're wondering, this was an attempt to do at least *some* testing of
a library's robustness in the face of memory allocation failure.
More information about the Gcc-bugs
mailing list