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: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 28 Aug 2013 21:57:41 +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
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.9.0 |---
--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> ---
As a matter of fact, isn't, in our current implementation, because std::swap
itself isn't in case the allocators are not equal.
I can preliminarily adjust it for ext/vstring.h (a preview of the future c++11
conforming basic_string) but it still needs work as regards the C++11 memory
allocation model.