[Bug libstdc++/58265] std::string move assignment should be noexcept

daniel.kruegler at googlemail dot com gcc-bugzilla@gcc.gnu.org
Sat Aug 31 10:21:00 GMT 2013


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


More information about the Gcc-bugs mailing list