[PATCH] D104500: DRAFT: [clang] Apply P1825 as DR for all modes below C++20.
Arthur O'Dwyer via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 18 10:54:43 PDT 2021
Quuxplusone added inline comments.
================
Comment at: clang/test/CXX/class/class.init/class.copy.elision/p3.cpp:58-60
A1 test1(A1 &&a) {
- return a; // cxx11_17-error {{call to deleted constructor of 'test_implicitly_movable_rvalue_ref::A1'}}
+ return a;
}
----------------
Personally, I don't think the world will accept applying P0527 unconditionally in pre-C++20 modes. But I guess we'll find out. :P
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104500/new/
https://reviews.llvm.org/D104500
More information about the cfe-commits
mailing list