On 05/24/2011 04:40 PM, Fabien Chêne wrote:
Indeed. I have also added two testcases to check sfinae on 'new T', with and without -fpermissive, which leads to a different result.
We don't want to do that; overload resolution should always produce the same result. We can only be permissive in non-SFINAE context.
Jason