[clang] [libcxx] [llvm] Reapply "[Clang] Implement resolution for CWG1835 (#92957)" (PR #98547)

Matheus Izvekov via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 19 17:52:05 PDT 2024


mizvekov wrote:

> We already do that :) the problem is when what follows `A` _doesn't_ unambiguously look like a template argument list:

Sure, but before CWG1835, we would perform the lookup anyway and treat the `<0>` as a template argument list, even if it isn't unambiguously a template argument list.

So we could try to do this just as well if A doesn't unambiguously look like a template argument list.

That seems better than not trying to apply the new rule at all.



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


More information about the cfe-commits mailing list