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

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Before, it was rejected:

114901.C:21:23: error: class template argument deduction failed:
   21 | T<double>::AFoo s{1, 2};
      |                       ^
114901.C:21:23: error: no matching function for call to ‘Foo(int, int)’

Reply via email to