[PATCH] D10963: Implement LWG#2063: "Contradictory requirements for string move assignment"
Marshall Clow
mclow.lists at gmail.com
Mon Jul 6 08:46:46 PDT 2015
mclow.lists added a reviewer: EricWF.
mclow.lists added a subscriber: cfe-commits.
Update the noexcept-ness of move-construction and move-assignment for `basic_string`. Use the new "is_always_equal" type trait for noexcept stuff when we're building with C++17. Preserve the conforming extension that we had before for C++14 and before.
Note that in C++17, if POCMA is true, then move-assigning an allocator cannot throw an exception.
http://reviews.llvm.org/D10963
Files:
include/string
test/std/strings/basic.string/string.cons/move_assign_noexcept.pass.cpp
test/std/strings/basic.string/string.modifiers/string_swap/swap.pass.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10963.29091.patch
Type: text/x-patch
Size: 6150 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150706/128563d6/attachment.bin>
More information about the cfe-commits
mailing list