[clang] [clang] CTAD: implement the missing IsDeducible constraint for alias templates (PR #89358)

via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 24 02:44:35 PDT 2024


cor3ntin wrote:

> Ah, I see. I haven't tried that, but one downside I can see is that it will make diagnostics for CTAD worse, we need to spell the type trait name in error messages when the __is_deducible trait fails.

I think we should have a custom diag for that anyway
"is not deducible from" is better than " `__is_deducible<>` is false"


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


More information about the cfe-commits mailing list