On 5/24/19 3:16 PM, Marek Polacek wrote:
Here we were parsing
template struct C {
friend C(T::fn)(); // this
};
wrongly in C++2a since my P0634 patch. T::fn is actually a function
declaration, but cp_parser_constructor_declarator_p was thinking it's
a constructor. That function ac
Here we were parsing
template struct C {
friend C(T::fn)(); // this
};
wrongly in C++2a since my P0634 patch. T::fn is actually a function
declaration, but cp_parser_constructor_declarator_p was thinking it's
a constructor. That function actually has code to prevent the compiler
from