diff options
author | Michael Park <mcypark@gmail.com> | 2017-06-07 10:22:43 +0000 |
---|---|---|
committer | Michael Park <mcypark@gmail.com> | 2017-06-07 10:22:43 +0000 |
commit | a8b057483be7f3aa185e0fc9a3fc38c55c28f34f (patch) | |
tree | 1bbb006c58c257014df3664f756364c9f04e9636 /llvm/lib | |
parent | eeb0aad8e4041fcc7baed47f0ca2777fcfddbc34 (diff) | |
download | bcm5719-llvm-a8b057483be7f3aa185e0fc9a3fc38c55c28f34f.tar.gz bcm5719-llvm-a8b057483be7f3aa185e0fc9a3fc38c55c28f34f.zip |
Implement LWG 2904.
Summary:
- Removed the move-constructibe requirement from copy-assignable.
- Updated `__assign_alt` such that we direct initialize if
`_Tp` can be `nothrow`-constructible from `_Arg`, or `_Tp`'s
move construction can throw. Otherwise, construct a temporary and move it.
- Updated the tests to remove the pre-LWG2904 path.
Depends on D32671.
Reviewers: EricWF, CaseyCarter
Reviewed By: EricWF
Differential Revision: https://reviews.llvm.org/D33965
llvm-svn: 304891
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions