This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/58265] std::string move assignment should be noexcept
- From: "daniel.kruegler at googlemail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 31 Aug 2013 10:21:54 +0000
- Subject: [Bug libstdc++/58265] std::string move assignment should be noexcept
- Auto-submitted: auto-generated
- References: <bug-58265-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58265
Daniel KrÃgler <daniel.kruegler at googlemail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |daniel.kruegler@googlemail.
| |com
--- Comment #3 from Daniel KrÃgler <daniel.kruegler at googlemail dot com> ---
Similar to containers the move-assignment operator of basic_string should not
be noexcept, because they have a narrow contract. The fact that the
specification currently requires this, is a defect. This is
http://cplusplus.github.io/LWG/lwg-active.html#2063