Re: [C++ PATCH] Implement C++20 P1814R0, CTAD for alias templates.

2019-11-27 Thread Jason Merrill
On 11/16/19 5:51 PM, Jason Merrill wrote: This patch implements C++20 class template argument deduction for alias templates, which works by a moderately arcane transformation of the deduction guides for the underlying class template.  When implementing it, I found that I could simplify the rule

[C++ PATCH] Implement C++20 P1814R0, CTAD for alias templates.

2019-11-16 Thread Jason Merrill
This patch implements C++20 class template argument deduction for alias templates, which works by a moderately arcane transformation of the deduction guides for the underlying class template. When implementing it, I found that I could simplify the rules in the draft a bit and get the same effe