Re: [C++ Patch] tsubst_flags_t fixlet

2018-02-14 Thread Jason Merrill
OK. On Wed, Feb 14, 2018 at 6:01 AM, Paolo Carlini wrote: > Hi, > > today, while having a look to c++/84350, I noticed that in a couple of > places we aren't forwarding the tsubst_flags_t argument to > do_auto_deduction. I think we can elegantly solve the problem by removing > the do_auto_deducti

[C++ Patch] tsubst_flags_t fixlet

2018-02-14 Thread Paolo Carlini
Hi, today, while having a look to c++/84350, I noticed that in a couple of places we aren't forwarding the tsubst_flags_t argument to do_auto_deduction. I think we can elegantly solve the problem by removing the do_auto_deduction overload taking three arguments and adding two defaults to the