aaron.ballman added a comment.

> 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, it says that the reason EWG disliked 
the idea is because of its expert-friendly nature and that this facility would 
present teachability issues. I tend to agree, so I'm wondering why we want to 
add the feature as an extension when WG21 explicitly rejected it (that doesn't 
seem in line with our extension policy: 
https://clang.llvm.org/get_involved.html#criteria).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113393/new/

https://reviews.llvm.org/D113393

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to