[C++ Patch Ping] Re: [C++ Patch] PR 79790 ("[C++17] ICE class template argument deduction")

Paolo Carlini paolo.carlini@oracle.com
Fri Aug 4 09:41:00 GMT 2017


Hi,

On 14/07/2017 19:51, Nathan Sidwell wrote:
> On 07/14/2017 01:32 PM, Paolo Carlini wrote:
>
>> While working on the bug I also noticed that we can simplify a bit 
>> the code
>> generating the implicit deduction guides: if I'm not mistaken, when 
>> we pass
>> types as first argument of build_deduction_guide - for implicit 
>> guides, that is
>> - the deduction guide is never explicit. thus DECL_NONCONVERTING_P is 
>> never
>> true. It's an unrelated tweak, anyway, which we can consider applying 
>> by itself
>> if we don't change the code generating the implicit deduction guides.
>
> I recall wondering the same thing when adding the 'elided = true' 
> pieces, but didn't investigate enough to confirm/deny.  Thanks for 
> getting this.
You are welcome!

I think the rest of the patch - the bug fix proper - still awaits a 
review...

Thanks!
Paolo.



More information about the Gcc-patches mailing list