This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/56166] std::string::clear() can throw despite being marked noexcept
- From: "fasdfasdas at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 15 Jul 2013 19:45:21 +0000
- Subject: [Bug libstdc++/56166] std::string::clear() can throw despite being marked noexcept
- Auto-submitted: auto-generated
- References: <bug-56166-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56166
--- Comment #8 from Tolga <fasdfasdas at gmail dot com> ---
Correction, removing the copy, therefore reference counting effect, feels like
has decreased the error but I found out std::string::clear() still throws
std::length_error, although I use no reference.