This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ C++ 4.6 Patch] allow uninitialized const or reference members with -fpermissive


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]