AaronBallman wrote: > > This is related to CWG2548 > > Kinda, but not really. It has never been necessary to create that > (non-)issue. Or does someone really believe that it is a C++ defect that `IA{ > 1, 2, 3 } - IA{ 1, 2, 3 }` is not allowed? So, it is just a bug since C++11
I think it is CWG2548; that's what made it clear that array-to-pointer decay does not happen here despite that being inconsistent with the rest of the language (https://github.com/cplusplus/papers/issues/1633) https://github.com/llvm/llvm-project/pull/140702 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits