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

via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 21 08:00:42 PDT 2024


================
@@ -11758,6 +11795,40 @@ static void DiagnoseBadDeduction(Sema &S, NamedDecl *Found, Decl *Templated,
       return;
     }
 
+    // Errors in deduction guides from inherited constructors
+    // will present as substitution failures in the mapping
----------------
cor3ntin wrote:

```suggestion
    // will manifest as substitution failures in the corresponding
```

(not 100% sure what you mean by mapping?)

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


More information about the cfe-commits mailing list