Re: [PATCH] c++: Fix class NTTP with template arguments [PR92948]

2020-01-29 Thread Jason Merrill
On 1/28/20 6:34 PM, Marek Polacek wrote: This PR points out an ICE with an alias template and class NTTP, but I found that there are more issues. Trouble arise when we use a (non-type) template parameter as an argument to the template arg list of a template that accepts a class NTTP and a conver

[PATCH] c++: Fix class NTTP with template arguments [PR92948]

2020-01-28 Thread Marek Polacek
This PR points out an ICE with an alias template and class NTTP, but I found that there are more issues. Trouble arise when we use a (non-type) template parameter as an argument to the template arg list of a template that accepts a class NTTP and a conversion to a class is involved, e.g. struct