Re: C++ PATCH for c++/81359, Unparsed NSDMI error in SFINAE context

2017-08-10 Thread Jason Merrill
On Thu, Aug 10, 2017 at 12:13 AM, Markus Trippelsdorf wrote: > On 2017.08.09 at 14:30 -0400, Jason Merrill wrote: >> The issue here is that we try to determine the EH specification of >> B::C::C() from within SFINAE context, and we can't determine it yet >> because the NSDMI for B::C::i hasn't bee

Re: C++ PATCH for c++/81359, Unparsed NSDMI error in SFINAE context

2017-08-10 Thread Markus Trippelsdorf
On 2017.08.09 at 14:30 -0400, Jason Merrill wrote: > The issue here is that we try to determine the EH specification of > B::C::C() from within SFINAE context, and we can't determine it yet > because the NSDMI for B::C::i hasn't been parsed yet. This patch > allows that determination to fail quiet

C++ PATCH for c++/81359, Unparsed NSDMI error in SFINAE context

2017-08-09 Thread Jason Merrill
The issue here is that we try to determine the EH specification of B::C::C() from within SFINAE context, and we can't determine it yet because the NSDMI for B::C::i hasn't been parsed yet. This patch allows that determination to fail quietly in SFINAE context; we'll try again the next time it is n