[PATCH] D120589: [Clang] Implement decltype(auto)(x) from P0849R2
Zhihao Yuan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 25 13:17:04 PST 2022
lichray added a comment.
In D113393#3345275 <https://reviews.llvm.org/D113393#3345275>, @aaron.ballman wrote:
>> Also implemented decltype(auto)(x) (https://wg21.link/p0849r2) as a Clang extension.
>
> I'd like to better understand the use cases for this. WG21 considered this as part of the feature and ultimately rejected it (fairly strongly, according to the EWG polls). From the meeting minutes, [...]
Not intended to argue for something when people who were against do not present - it's an awkward keyword for `std::forward`, arguably shorter, safer, faster...
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120589/new/
https://reviews.llvm.org/D120589
More information about the cfe-commits
mailing list