This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]