https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102137

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |ppalka at gcc dot 
gnu.org
             Status|NEW                         |ASSIGNED

--- Comment #2 from Patrick Palka <ppalka at gcc dot gnu.org> ---
IMHO it might be good to track them separately since this one affects C++17
code but  PR101883 affects only C++20 code (and the fix for the latter is
probably going to get backported).

Here's another accepts-invalid testcase, where the template template parm is
replaced by a dependent initializer:

template<class T> struct B { B(int){} };  explicit B(int) -> B<int>;
template<class T> void f(T t) { B _ = t; }
void g() { f(0); }

Reply via email to