[clang] [clang] Implement P2582R1: CTAD from inherited constructors (PR #98788)

Haojian Wu via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 22 02:38:48 PDT 2024


================
@@ -0,0 +1,260 @@
+// RUN: %clang_cc1 -fsyntax-only -std=c++23 -verify %s
+
----------------
hokein wrote:

Can you add testcases for the template parameter packs? e.g. 

```
template <typename ...T> struct B {
  B(T...);
};
template <typename ...T> struct C : public B<T...> {
  using B<T...>::B;
};

C c(1);
```

https://github.com/llvm/llvm-project/pull/98788


More information about the cfe-commits mailing list