================ @@ -47,6 +49,10 @@ template <class = void> void f() { }(), ...); }(1, 2); + []<class... Is>(Is...) { + ([] { using T = ElementType<Is>; }(), ...); ---------------- shafik wrote:
Out of curiosity were applying the `getCanonicalType` to `T` and getting `int` while we really wanted `ElementType<Is>`? https://github.com/llvm/llvm-project/pull/122875 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits