This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/79254] [5/6/7 Regression] basic_string::operator= isn't exception safe
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 27 Jan 2017 09:12:19 +0000
- Subject: [Bug libstdc++/79254] [5/6/7 Regression] basic_string::operator= isn't exception safe
- Auto-submitted: auto-generated
- References: <bug-79254-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79254
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Daryl Haresign from comment #6)
> I guess you don't want _M_copy_assign to be public, either.
Nor inline :-)
Avoiding the try-catch like that is an improvement, I'll do that.