On 08/09/2013 09:28 AM, Paolo Carlini wrote:

I see. You know, I was trying to figure out the logic other compilers - two of 
them, actually - are following, because the really appear to sfinae away 
infinite recursions. Was trying to imagine cases in which it would be safe.

Could their behavior just be bugs? Depending on their error recovery implementation, not flagging infinite recursion as a hard error in SFINAE context could be an easy mistake to make.

--
Florian Weimer / Red Hat Product Security Team

Reply via email to